![Panasonic FP2 Series User Manual Download Page 95](http://html.mh-extra.com/html/panasonic/fp2-series/fp2-series_user-manual_262311095.webp)
Sample Programs
FP2 Serial Data Unit
8
−
9
8.1
Sample Programs
8.1.2
Time Out and Retry
8.1.2.1
An Overview of the Time Out and Retry Functions
When a command is sent to another device and there is no response, this function can
be used to send the command once again.
FP2
Command sending
After
500 ms
External device
No response
Command sent again
Up to 5 retries carried out
SDU
SD RD ERR SD RD ERR AL
COM.1COM.2
COM.1(RS232C)
COM.2(RS232C)
8.1.2.2
Time Out and Retry Program
With the program, the command is sent again (retried) if more than 500 ms passes with
no response returned from the other side.
Up to 5 retries can be carried out.
For this program, the serial data unit should be installed in slot 0.
X21
DF
R100
R9013
M ABCD
⊔⊔⊔⊔⊔⊔⊔⊔
, DT 20
F95 ASC ,
, H D
, DT 22
F0 MV
TMX 0,
K 5
C1000
R102
R100
X1
T0
R100
DF
R101
T0
DF/
R102
The command “ABCD” is converted
to an ASCII code, and written to
DT20 to DT21.
The end code C
R
(H0D) is written to
DT22
Command sending directive
Retry standby timer (500 msec)
Command sending directive pulse
Retry directive pulse
next page
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: ......