Jinan USR IOT Technology Limited IO808 사용자 설명서
USR-IO808-EWR User Manual
Technical Support:
h.usriot.com
Jinan USR IOT Technology Limited
www.usriot.com
17
➢
Supported function code: 0x03, 0x04, 0x06, 0x10
Configuration will take effect after restarting.
2.7.2. Conditional control
Conditional control function supports user configuring the conditions to trigger IO changes. It can make using
IO808-EWR more flexibly and extend application scenario. User only needs to modify conditional control function
register parameters according to the instructions , it will realize corresponding function.
Conditional control function has 32 registers and 8 conditional control commands(Every command occupies 4
registers). Registers distribution as follow:
Storage content Input register Output register Output action Condition Threshold
IO808-EWR more flexibly and extend application scenario. User only needs to modify conditional control function
register parameters according to the instructions , it will realize corresponding function.
Conditional control function has 32 registers and 8 conditional control commands(Every command occupies 4
registers). Registers distribution as follow:
Storage content Input register Output register Output action Condition Threshold
Reserved
Length
1 byte
1 byte
1 byte
1 byte
2 bytes
2 bytes
Address
Range:
16~109
16~109
Range: 1~16
1: Disconnect
2: Close
3: Reversal
2: Close
3: Reversal
1, 2, 255
‘Compared
register
values’/The first
two bytes of
time-stamp
register
values’/The first
two bytes of
time-stamp
Reserved/
Last
Last
two
bytes
of
time-stam
p
p
Figure 24 Conditional control function register
➢
Output action(Relay output)
1: Disconnect
2: Close
3: Reversal
1: Disconnect
2: Close
3: Reversal
➢
Condition
1: Forward direction output follow
2: Backward direction output follow
255: Button action
1: Forward direction output follow
2: Backward direction output follow
255: Button action
➢
Control mode
Switching value control: DI input control DO output directly
Semaphore control: DI button semaphore control DO. Press button once, DO act once(Execute action in rising
edge of releasing button).
Switching value control: DI input control DO output directly
Semaphore control: DI button semaphore control DO. Press button once, DO act once(Execute action in rising
edge of releasing button).
Detailed explanation:
1. Forward direction output follow
Enable forward direction output follow: Set condition register to 1, input register is corresponding to one way
register address of 8-way input and output register is corresponding to one way register address of 8-way output.
For example, if configure as 0x20 0x00 0x01 0x01 0x00 0x00 0x00 0x00, it represents status of DO1 will follow
status of DI1 which means DO1 will close if DI1 close and DO1 will disconnect if DI1 disconnect.
2. Backward direction output follow
Enable backward direction output follow: Set condition register to 2, input register is corresponding to one way
register address of 8-way input and output register is corresponding to one way register address of 8-way output.