NAiS FP Series User Manual page 195

Applicable plc
Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

Communication Function 2 General - purpose Serial Communication
Tip
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
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.
Value of DT0 in the PLC on the other side
DT7
Upper
Upper
Lower
byte
byte
byte
H46
H36
H30
(F)
(6)
(0)
BCC
Value of DT1 in the PLC on
the other side
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.
DT6
Upper
Lower
byte
byte
H30
(0)
Value of DT1 in the PLC on
the other side
If an error occurs, "%01!
error code and jj is the BCC.)
9 - 28
DT4
DT3
Upper
Lower
Upper
Lower
byte
byte
byte
byte
H30
H30
H34
H36
(0)
(0)
(4)
(6)
DT6
DT5
Upper
Lower
Lower
byte
byte
byte
H30
H38
H43
(0)
(8)
(C)
DT5
Upper
Lower
byte
byte
H30
H38
H43
(0)
(8)
(C)
DT51
Upper
Lower
byte
byte
H00
HC8
(K200)
Value of DT1 in the
PLC on the other side
jj C
C
" is returned from the FP series PLC
R
DT2
DT1
Upper
Lower
Upper
Lower
byte
byte
byte
byte
H44
H52
H24
(D)
(R)
($)
DT4
Upper
Lower
Upper
byte
byte
byte
H30
H30
H34
(0)
(0)
(4)
Value of DT0 in the PLC
on the other side
Hexadecimal ASCII → HEX conversion instruction (F72)
DT50
Upper
Lower
byte
byte
H00
H64
(K100)
Value of DT0 in the PLC
on the other side
" is returned as the response. (
R
DT0
Upper
Lower
byte
byte
H31
H30
H25
(1)
(0)
(%)
DT3
Lower
byte
H36
(6)
is the
FPΣ

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fps seriesFpg-c32tFpg-c32t2Fpg-c24r2

Table of Contents