以下图配置为例:
(1) KL 1002 (2 channel 24Vdc discrete input terminals) (三块)
(2) KL 2002 (2 channel 24Vdc discrete output terminal)
(3) KL 2114 (4 channel 24Vdc discrete output terminals) (两块)
(4) KL 1501 (High speed Up/Down counter)
(5) KL 4002 (2 channel 0-10V analog output terminal)
(6) KL 3062 (2 channel 0-10V analog input terminal)
(7) KL 9010 (end terminal)
输入字节数的计算方法:
Rx (bytes) = (((IN1 + IN2 +..+ INn ) / 8) (+1 如果有余数)) + 1 status byte
Rx (bytes) = ((((IN1+IN2+IN3+IN4+IN5)/8) +(1 if a remainder exists)) +1status)
((((2+2+2+40+32)/8+(remainder exists so +1)) + 1status)
Rx = 11 bytes
输出字节数的计算方法:
Tx (bytes) =(((OUT1 + OUT2 +...+ OUTn) /8) (+1 如果有余数))
Tx (bytes) = ((( OUT1+ OUT2 + OUT3 + OUT4 + OUT5) / 8) + ( 1 if a remainder exists))
(((2 + 4+ 4+ 40 + 31) /8 ) + ( remainder exists so + 1)
Tx = 11 byes