5. LADDER COMMUNICATION
IM9000F02-E2
42
REX-F9000
o
PLC (During data receive by PLC)
Command
(CMD)
Details
Identifier transfer order
0000
Read response, Read data + (Positive)
*
1
0001
Read response, Read data - (Negative)
Upper byte
o
Lower byte
0010
Write response, Write result data + (Positive)
0011
Write response, Write result data - (Negative)
0100
Read response, Read data - (Negative)
Lower byte
o
Upper byte
1000
Write request, Write result data + (Positive)
1100
Write request, Write result data - (Negative)
Other
Abnormal response
*
1
: Data transfer order is in accordance with the command from the PLC connected to the REX-F9000.
Only data is inverted
Change can be made by specifying "0011" to the data number (ID) and setting data on "0 : High
order
o
Low order " or "Other than 0 : Low order
o
High order."
Number of bytes
1
1
2
2
2
1
1
Number of BCD
digits
2
2
4
4
4
2
2
Details
STX
(02H)
Device
addres
s
(ADR)
0011
Command
(CMD)
Set 0 or any
number other
than 0.
CR
(0DH)
LF
(0AH)
Identifier (ID)
Data (DAT)
[Example]
The following procedure is executed for send/receive data of 1234h.
z
When sending data from the upper byte
When REX-F9000 sends data :
Sends data in order of 12h and 34h.
When REX-F9000 receives data :
When REX-F9000 receives data in order of 12h and 34h,
it
recognizes the data as 1234h.
z
When sending data from the lower byte
When REX-F9000 sends data :
Sends data in order of 34h and 12h.
When REX-F9000 receives data :
When REX-F9000 receives data in order of 12h and 34h,
it
recognizes the data as 3412h.
*This setting is held even if the power is turned on again.