17.10 pNTPcREQ (Time Adjustment Request Instruction)
■
Ladder diagram
(Note 1) The above figure shows the case that S1=U100 (built-in ET-LAN in the CPU unit) and S2=U1
(connection number 1) are specified by the UNITSEL instruction.
■
List of operands
Operand Description
S1 Specify the number of times of request processing. (Settable range: 0 to 20 times)
S2 Specify the interval of request processing. (Settable range: 16 to 600 seconds)
D
Specify the starting address of the device area that stores the execution result of time adjustment.
HFFFF: In progress, H0: Normal end, H1: Request error, H2: Communication error, H3: Response
error
■
Devices that can be specified (indicated by ●)
Operan
d
16-Bit device:
32-Bit
device:
Integer
Real
numbe
r
St
rin
g
Index
modifie
r
W
X
W
Y
W
R
W
L
W
S
S
D
D
T
L
D
U
M
WI
W
O
TS
C
S
TE
C
E
IX K U H SF
D
F
„ „
S1 ● ● ● ● ● ● ● ● ●
S2 ● ● ● ● ● ● ● ● ●
D ● ● ● ● ● ●
■
Outline of operation
● This instruction requests to adjust the time.
■
Processing
● Set the number of processing times for the time adjustment request by S1.
● If the time adjustment timeout is predicted, add the number of times of retransmission.
● For canceling the time adjustment retransmission, set the number of processing times to 0.
For the retransmission canceling process, the execution result is not stored in [D].
● Set the time adjustment processing interval by [S2].
● The execution result of time adjustment is stored in the area that starts with [D].
17.10 pNTPcREQ (Time Adjustment Request Instruction)
WUME-FP7CPUPGR-12 17-47