![Panasonic FP2 Series Скачать руководство пользователя страница 94](http://html.mh-extra.com/html/panasonic/fp2-series/fp2-series_user-manual_262311094.webp)
FP2 Serial Data Unit
Sample Programs
8
−
8
8.1
Sample Programs
( RET )
, K0
, K251
, I0K0 , DT100
F150 READ
, DT 50 , K 2
F27 —
, DT 53
R9010
, K 2
, DT 100
F70 BCC
, DT 53 , DT 54
, DT 54 , K 1
F71 HEXA
, DT 55
, DT 50 , K 2
F27 —
, DT 56
R9010
, DT 56 , K 2
F32 %
, DT 57
, DT 57 , I0
F0 MV
,I0DT100 , DT 60
F1 DMV
, DT 50 , K 2
F32 %
, DT 58
R9010
, DT90015 , K 1
F60 CMP
R900B R100
, DT 60 , DT61
F112 WBSR
R100
, DT 60 , DT61
F112 WBSR
R9010
, DT 60
, DT 55
F60 CMP
S
R101
S
R102
R900B
R900B
Data indicating number of received
words is read from address 251 of the
shared memory (received buffer of
CH1).
Block check code is calculated.
−
Number of bytes received is calcu-
lated (not including BCC).
−
Block check code is calculated.
−
Result is converted from HEX to
hexadecimal ASCII code.
BCC segment is extracted from re-
ceived data.
Number of received data bytes is
judged to be even or odd.
Number of received data bytes is
odd.
If odd, data is shifted one byte to
the right.
BCC is judged as OK or NG.
BCC OK
BCC NG
is read to the data register DT100.
Specifies the FP2 serial data unit in
slot no.0.
The contents of the word indicated by
I0 of the shared memory address 251
Содержание FP2 Series
Страница 1: ......
Страница 6: ...FP2 Serial Data Unit Table of Contents iv ...
Страница 18: ...FP2 Serial Data Unit Functions of Serial Data Unit 1 2 ...
Страница 22: ...FP2 Serial Data Unit Functions of Serial Data Unit 1 6 1 3 Restrictions on Units Combination ...
Страница 24: ...FP2 Serial Data Unit Parts and Functions 2 2 ...
Страница 30: ...FP2 Serial Data Unit Confirming the Unit Settings and Design Contents 3 2 ...
Страница 44: ...FP2 Serial Data Unit Communication with External Devices 4 2 ...
Страница 66: ...FP2 Serial Data Unit Precautions Regarding Serial Data Unit Operation and Programs 5 2 ...
Страница 72: ...FP2 Serial Data Unit Operation If an Error Occurs 6 2 ...
Страница 78: ...FP2 Serial Data Unit Specifications 7 2 ...
Страница 86: ...FP2 Serial Data Unit Specifications 7 10 7 4 Transmission Format ...
Страница 88: ...FP2 Serial Data Unit Sample Programs 8 2 ...
Страница 98: ...FP2 Serial Data Unit Sample Programs 8 12 8 2 Table of ASCII Codes ...
Страница 100: ...Record of changes FP2 Serial Data Unit R 2 ...
Страница 101: ......
Страница 102: ......