Delta AS Series Programming Manual page 864

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

API
Instruction code
1601
TWR
Device
X
Y
M
S
Data
type
S
Symbol
Explanation
1.
This instruction adjusts the built-in real-time clock in the CPU module by writing the correct current time in S into
the built-in real-time clock.
2.
The operand S occupies seven consecutive devices. (Use 24 hour time format)
3.
The instruction instantly writes the new setting time into the real-time clock in the PLC.
4.
Make sure that when the instruction executes, the new setting time in S is consistent with the actual time.
5.
It is suggested to use it as a pulse instruction. If the contact is normally open, the instruction is executed to write
the time constantly. But the PLC only writes the time at the first scan. If the built-in real-time clock needs to be
updated, you can close the contact for a scan time and then execute this instruction again to update the clock.
Example
When M0 is ON, the instruction writes the correct current time into the built-in real-time clock in the PLC.
Operand
P
S
S
T
C
HC
Pulse instruction
S : Data source
Ch ap te r 6 Ap pl ie d Instruc ti ons
D
FR
SM
SR
16-bit instruction
AS
AS
Function
Writing the time
E
K
16#
"$"
F
32-bit instruction
-
6 - 5 8 5
6_

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents