![Panasonic FP2 Series User Manual Download Page 92](http://html.mh-extra.com/html/panasonic/fp2-series/fp2-series_user-manual_262311092.webp)
FP2 Serial Data Unit
Sample Programs
8
−
6
8.1
Sample Programs
X1
Y11
( ED
)
, DT 0
, I0
F0 MV
R9010
, K 2
, I0DT 0
F70 BCC
, DT 1
, DT 10
, DT 10 , K 1
F71 HEXA
, DT 12
, HD
, DT13
F0 MV
, DT 1
, K 2
F32 %
, DT 2
R9010
, DT90015 , K 1
F60 CMP
, DT 12 , DT 13
F113 WBSL
R900B
, DT 12 , DT 13
F113 WBSL
, DT 2
, DT 0
F22 +
, I0
R9010
, I0DT 0 , DT 12
F66 WOR
, I0DT 0
, I0DT 1 , DT 13
F66 WOR
, I0DT 1
, DT 2
, K 2
F22 +
, I1
R9010
, DT 0
, I0
F0 MV
(SUB 0)
( RET )
When reception and reading of the
data have been completed, Y11
goes on, and the received buffer is
cleared.
The command store address is
stored in I0.
The BCC is calculated.
The BCC is converted to an ASCII
code.
A CR is added.
The number of data bytes is judged
to be even or odd.
If odd, the data is shifted one byte
to the left.
The BCC and CR are merged.
The number of command words is
set.
The address in which the command
is to be stored is set.
Summary of Contents for FP2 Series
Page 1: ......
Page 6: ...FP2 Serial Data Unit Table of Contents iv ...
Page 18: ...FP2 Serial Data Unit Functions of Serial Data Unit 1 2 ...
Page 22: ...FP2 Serial Data Unit Functions of Serial Data Unit 1 6 1 3 Restrictions on Units Combination ...
Page 24: ...FP2 Serial Data Unit Parts and Functions 2 2 ...
Page 30: ...FP2 Serial Data Unit Confirming the Unit Settings and Design Contents 3 2 ...
Page 44: ...FP2 Serial Data Unit Communication with External Devices 4 2 ...
Page 66: ...FP2 Serial Data Unit Precautions Regarding Serial Data Unit Operation and Programs 5 2 ...
Page 72: ...FP2 Serial Data Unit Operation If an Error Occurs 6 2 ...
Page 78: ...FP2 Serial Data Unit Specifications 7 2 ...
Page 86: ...FP2 Serial Data Unit Specifications 7 10 7 4 Transmission Format ...
Page 88: ...FP2 Serial Data Unit Sample Programs 8 2 ...
Page 98: ...FP2 Serial Data Unit Sample Programs 8 12 8 2 Table of ASCII Codes ...
Page 100: ...Record of changes FP2 Serial Data Unit R 2 ...
Page 101: ......
Page 102: ......