3. Instructions
DATE
Instruction
CLOCK ADJUSTMENT
Symbol
Applicable Program Areas
Function block
Area
definitions
Usage
OK
Operands
Operand
S
First source word
S through S+3: New Clock Setting
15
8
7
S
Minutes: 00 to 59 (BCD)
15
8
7
S+1
Day: 01 to 31 (BCD)
Note S through S+3 must be in the same data area.
Operand Specifications
Word addresses
Area
CIO
WR
HR
S
OK
OK
OK
Flags
Name
Error Flag
994
Mnemonic
Variations
DATE
@DATE
Block program areas
Step program areas
OK
OK
Description
0
Seconds:
00 to 59 (BCD)
0
Hour:
00 to 23 (BCD)
AR
T
C
DM
EM
OK
OK
OK
OK
OK
Label
ER
• ON if the new clock setting in S through S+3 is not within the specified range.
• OFF in all other cases.
Function
code
Changes the internal clock setting to the setting in
735
the specified source words.
DATE
DATE(735)
S: First source word
S
Subroutines
OK
Data type
LWORD
15
8
S+2
Year: 00 to 99 (BCD)
15
8
S+3
Always set to 00.
Indirect DM/EM
addresses
Con-
stants
@DM
*DM
DR
@EM
*EM
OK
OK
---
---
Operation
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Function
SFC action or
Interrupt tasks
transition programs
OK
OK
Size
4
7
0
Month:
01 to 12 (BCD)
7
0
Day of
the week: 00 = Sunday
01 = Monday
02 = Tuesday
03 = Wednesday
04 = Thursday
05 = Friday
06 = Saturday
Registers
Flags
Pulse
bits
Indirect
IR
TK
CF
using IR
---
OK
---
---
TR
bits
---
---
Need help?
Do you have a question about the CJ - REFERENCE MANUAL 02-2010 and is the answer not in the manual?