Download H-Designer
Transcript
Communication between Operator Terminal and Controller 9.21 Koyo SA/TI 325/330 Data format and range of the controller registers which H-Designer can access: Word Device and Bit Device. Register Type Format Register Range Data Size TMR/CTR nnn nnn=octal number 600-677 Register Values mmm Accumulator mmm=octal number 400-576; Even Bytes mmm must be a multiple of 2 Relay Type Format Word Relay Range Block Input/Output Bits Bnnn nnn=octal number 0-157 End with 0 Input/Output Bits Bnnn nnn=octal number 700-767 End with 0 Internal Relay Bits Bnnn nnn=octal number 160-377 End with 0 Shift Register Bits Bnnn nnn=octal number 400-577 End with 0 TMR/CTR Bits Bnnn nnn=octal number 600-677 End with 0 When operator terminal changes a relay’s state, the operator terminal must read 1 byte (8 relays). After changing the corresponding bit, the operator terminal will write the byte to the controller. These actions will take more than one controller scan. PLC ladder cannot control other bits (relay) of the byte before the operator terminal has completed the Change the Relay action, otherwise these bits (relay) will return to their initial values. In other words, the controller’s control action will be resumed. For example, if the operator terminal wants to change B3’s state, it will read B0-B7. After the corresponding bit B3 is changed, the operator terminal will write the entire byte to the controller. The PLC ladder command will be cancelled after the operator terminal writes the changes. Cable Drawings Operator terminal to RS232C port on controller SA21 Note: KOYO SA21 series E02-DM and TI305-02DM have the same wiring. 258 Beijer Electronics, MA00822