![background image](http://html.mh-extra.com/html/omron/v740-hs01ca/v740-hs01ca_user-manual_741408089.webp)
89 of 135
(3) External Input Output control (
EXIO
)
This command allows the reader to output ON/OFF to the output terminal and read an input terminal status.
If output port(s) is connected to the device(s) that is not used for general purpose, the reader ignores
ON/OFF output for the port(s).
If output setting value is omitted, the reader shall read the input and output
status.
Command
EXIO<LF> (For input/output port status read)
EXIO(S)
OutputSignal
<LF> (For output status specifying)
OutputSignal
: For OUT1-4, values are set with four characters
(left to the right; 1-4)
(”0”-OFF
/
”1”-ON
/
”*”-Don’t care)
Response
EXIO[RC](S)[InputSignal](S)[OutputSignal]<LF>
[RC]: Response Code 0000: Fixed
[InputSignal]: For IN1-4, signal values 0 or 1 are set with four characters
(left to the right).
[OutputSignal]: For OUT1-4, signal values 0 or 1 are set with four characters
(left to the right).
(”0”-OFF
/
”1”-ON)
*(S) Space Character
Example 1) When [Output 1; High, Output 2; Low, Output 3; High, Output 4; Low] is specified:
[Tx] EXIO 1010
[Rx] EXIO0000 1111 1010
Example 2) When [Getting I/O status] is specified:
[Tx] EXIO<LF>
[Rx] EXIO0000 1011 1001<LF>
(From the left side, the following status is shown; IN1...IN4, OUT1…OUT4)