V740 RFID READER/WRITER, ANTENNA
2005-09, REV.01
OPERATION MANUAL
49 of 56
OMRON CORPORATION 2005
3. I/O
This chapter describes how to use this function a
function for external input/output control.
The V740 Reader has an external input/output
function on the RS232C connector; two for input
and three for output. Following table is a terminal
assignment.
RS232C
Connector
Input 1
pin 4
Input 2
pin 7
Output 1
pin 6
Output 2
pin 1
Output 3
pin 9
3.1 Using the input/output
function
1. Start the socket communication program created
by users. In the open window connect to the IP
address of V740 on port 8091.
2. Send the I/O control command (“CC”) to the
reader.
3.2 Detailed Command structure
1. I/O Control Command (CC)
CC changes statuses of external input/output
connectors (OUT1, OUT2, OUT3, IN1 and IN2)
and read their statuses.
< Command format>
Command code
“CC”
OUT1 OUT2 OUT3
2 1
1
1
OUT1-
OUT3
Writing “1” or “0” following CC
specifies the status of the output.
1:ON/0:OFF
Writing “*” instead of “1” or “0”
starts to read the statuses of the
connectors.
< Response format >
Coomand
“CC”
Response
Code
“00”
OUT
1
OUT
2
OUT
3
IN
1
IN
2
LF LF
2 2
1
1
1
1
1
1
1
Response
Code
00 : Normal
14 : Format Error
OUT1 -
OUT3
Displays the status of output.
1 : ON / 0 : OFF
IN1,
IN2
Displays the status of input.
1 : ON / 0 : OFF
Example (1) To 5V from OUT1, -5V from
OUT2 and +5V from OUT3, enter the below command
and the following response will be received.
Command: CC101
Response: CC000101<LF><LF>
Example (2) To read the statuses of each connector;
OUT 1-3 and IN 1 and 2, enter the below command
and the following response will be received.
Command: CC***
Response: CC0001010<LF><LF>
2. Invalid Command Response
Invalid Command Response is sent whenever the
reader receives any invalid or undefined
commands.
< Response format>
Command code
“IC”
LF LF
2 1
1
For example, if the invalid command =”AA” is sent,
in response to the command, the following data will
be received.
Command: AA000
Response: IC<LF><LF>
.