Panasonic FP7 Series Command Reference Manual page 919

Cpu unit
Hide thumbs Also See for FP7 Series:
Table of Contents

Advertisement

Example 4) When PING request abended (Disconnection detection)
When instruction is executed
Program example
● The UNITSEL instruction is used to specify a slot number (LAN port: U100) and a connection
number (U1 to U16 for general-purpose communication).
● The PINGREQ instruction checks the operation status of the specified unit.
R0
Flag operations
Name
Description
To be set when the device address specified by [D] to [D+5] exceeds the upper limit of the
SR7
device.
SR8
To be set in the case of out-of-range in indirect access (index modification).
(ER)
To be set when executed in an interrupt program.
(Note 1)
For details of the error codes stored in the system data SD29, refer to
Registers".
WUME-FP7CPUPGR-12
17.5 pPINGREQ (PING Request)
PING is being executed.
UNITSEL
U100
S1
pPINGREQ
U3
S
PING response is completed.
Specification of the slot port of the
communication unit
U1
S1: ET-LAN port (U100)
S2: Connection 1 (U1)
S2
PINGREQ instruction execution
DT10
S: Number of times of PING request (U3)
D
D: Address for storing the results (DT10)
"20.2 List of System Data
17-31

Advertisement

Table of Contents
loading

Table of Contents