EasyManuals Logo

Delta DVP-EX2 User Manual

Delta DVP-EX2
1006 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #652 background imageLoading...
Page #652 background image
3. Instruction Set
3-531
API
Mnemonic Operands Function
Controllers
ES2/EX2/
EC5
SS2
SA2
SE
SX2
167 TWR P
Time write
Type
OP
Bit Devices Word devices Program Steps
X Y M S K H KnX
KnY
KnM
KnS
T C D E F
TWR, TWRP: 5 steps
S
*
*
*
PULSE
16-bit
32-bit
ES2/EX2/
EC5
SS2
SA2
SE
SX2
ES2/EX2/
EC5
SS2
SA2
SE
SX2
ES2/EX2/
EC5
SS2
SA2
SE
SX2
Operand:
S: Set value for RTC (occupies 7 consecutive devices)
Explanations:
1. TWR instruction updates the RTC with the value set in S.
2. If the time data in S exceeds the valid calendar range, it will result in an “operation error”. PLC
will writes in the smallest valid value automatically, M1067 = ON, M1068 = ON, and error code
0E1A (HEX) is recorded in D1067
3. For explanations of associated flags and the characteristics of RTCS, please refer to Points to
note of TRD instruction.
Program Example 1:
When X0 = ON, write the new time into RTC.
X0
TWRP D20
Normal D
Item
Range
Special D
Item
Set value
D20
Year (A.D.)
00~99
D1319
Year (A.D.)
RTC
D21
Day
(Mon.~Sun.)
1~7 D1318
Day
(Mon.~Sun.)
D22
Month
1~12
D1317
Month
D23
Day
1~31
D1316
Day
D24
Hour
0~23
D1315
Hour
D25
Minute
0~59
D1314
Minute
D26
Second
0~59
D1313
Second
Program Example 2:
1. Set the current time in RTC as 2004/12/15, Tuesday, 15:27:30.
2. The content of D0~D6 is the set value for adjusting RTC.
3. When X0 = ON, update the time of RTC with the set value.
4. When X1 = ON, perform ±30 seconds correction. Correction takes place when M1017 goes
from OFF to ON (Second data in 0 ~ 29: reset to 0. Second data in 30 ~ 59: minute data pluses
1, second data resets).

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Delta DVP-EX2 and is the answer not in the manual?

Delta DVP-EX2 Specifications

General IconGeneral
BrandDelta
ModelDVP-EX2
CategoryController
LanguageEnglish

Related product manuals