FP
Σ
Communication Function 2 General-purpose Serial Communication
9 - 28
Contents of the response:
If K100 is stored in DT0 and K200 is stored in DT1 of the FP series PLC on
the other side, “%01$RD6400C8006F
C
R
” is returned from the FP series PLC
on the other side as the response when the program is executed. The re-
ceived data is stored in the data registers as shown below.
Extracting the data register values from the PLC on the other side
In the program, the data segment of the response from the PLC on the other
side is converted to hexadecimal data using the
F72 (AHEX)
(hexadecimal
ASCII
→
hexadecimal data conversion) instruction and stored in DT50 and
DT51, only if the character string “$1” stored in DT1 detected as a comparison
instruction.
If an error occurs, “%01!
jj
C
R
” is returned as the response. (
is the
error code and
jj
is the BCC.)
Tip
DT0
H25
(%)
H30
(0)
H31
(1)
H24
($)
H52
(R)
H44
(D)
DT1
DT2
DT3
H36
(6)
H34
(4)
H30
(0)
H30
(0)
DT4
H46
DT7
H30
(0)
H30
(0)
DT6
H43
(C)
H38
(8)
DT5
Upper
byte
Lower
byte
Upper
byte
Lower
byte
Upper
byte
Lower
byte
Upper
byte
Lower
byte
Upper
byte
Lower
byte
Upper
byte
Lower
byte
Upper
byte
Lower
byte
Upper
byte
Lower
byte
Value of DT0 in the PLC on the other side
H36
Value of DT1 in the PLC on
the other side
(6)
(F)
BCC
DT3
H36
(6)
H34
(4)
H30
(0)
H30
(0)
DT4
H30
(0)
H30
(0)
DT6
H43
(C)
H38
(8)
DT5
Hexadecimal ASCII
→
HEX conversion instruction
(F72)
DT50
H64
(K100)
H00
HC8
(K200)
H00
DT51
Value of DT1 in the PLC on
the other side
Value of DT0 in the PLC
on the other side
Value of DT1 in the
PLC on the other side
Upper
byte
Lower
byte
Upper
byte
Lower
byte
Upper
byte
Lower
byte
Upper
byte
Lower
byte
Upper
byte
Lower
byte
Upper
byte
Lower
byte
Value of DT0 in the PLC
on the other side
Summary of Contents for FP Series
Page 15: ...FP Functions and Restrictions of the Unit 1 2...
Page 25: ...FP Specifications and Functions of Control Unit 2 2...
Page 37: ...FP Expansion 3 2...
Page 44: ...Chapter 4 I O Allocation 4 1 I O Allocation 4 3...
Page 45: ...FP I O Allocation 4 2...
Page 51: ...FP Installation and Wiring 5 2...
Page 77: ...FP High speed Counter and Pulse Output Functions 6 2...
Page 133: ...FP High speed Counter and Pulse Output Functions 6 58...
Page 135: ...FP Communication Cassette 7 2...
Page 147: ...FP Communication Function 1 Computer Link 8 2...
Page 169: ...FP Communication Function 2 General purpose Serial Communication 9 2...
Page 205: ...FP Communication Function 2 General purpose Serial Communication 9 38...
Page 207: ...FP Communication Function 3 PLC Link Function 10 2...
Page 232: ...Chapter 11 Other Functions 11 1 Analog Potentiometer 11 3 11 2 Clock Calendar Function 11 4...
Page 233: ...FP Other Functions 11 2...
Page 239: ...FP Self Diagnostic and Troubleshooting 12 2...
Page 249: ...FP Self Diagnostic and Troubleshooting 12 12...
Page 251: ...FP Specifications 13 2...
Page 323: ...Index FP I 4...
Page 325: ...FP Record of changes R 2...