7. BK5200

如何计算BK5200输入输出字节?


以下图配置为例:

bk5200输入输出字节数.png

(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

BK5200输入输出字节数1.png

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 如果有余数))

BK5200输入输出字节数2.png

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


余洋 2023.3.20 编辑