6-6-12 Clock Read; 6-6-13 Clock Write - Omron C200HW-CLK21 Operation Manual

Controller link units
Hide thumbs Also See for C200HW-CLK21:
Table of Contents

Advertisement

Commands and Responses for C200HX/HG/HE and CQM1H-series PLCs

6-6-12 CLOCK READ

Command Block
Response Block
Parameters

6-6-13 CLOCK WRITE

Command Block
Response Block
FAL/FALS No. (response): The number of the highest priority FAL/FALS
error is returned as BCD between 00 and 99 (decimal) to the second byte.
The first byte is always 00 (Hex). If no error has occurred, 0000 (Hex) is
returned.
Error message (response): The error message of the present FAL/FALS
number is returned as 16 or fewer ASCII characters (16 or fewer bytes). If
there is no error, nothing will be returned.
Reads the clock.
With CQM1H-series PLCs, all zeros will be returned if the CPU Unit does not
contain a Memory Cassette with a clock.
07
01
Command
code
07
01
Command
Response
code
code
Year, month, date, hour, minute, second, day (response): Each value is
expressed in BCD.
Year: The rightmost two digits of the year.
Hour: 00 to 23.
Day: As follows:
Value
Day
Sets the clock.
With CQM1H-series PLCs, the time will not be written unless the CPU Unit
contains a Memory Cassette with a clock.
Note Be sure to specify all data.
07
02
Command
Year Month Date Hour
code
07
02
Command
Response
code
code
Year
Month
Date Hour Minute
00
01
02
Sun
Mon
Tues
Minute Second Day
Section 6-6
Second Day
03
04
05
Wed
Thur
Fri
06
Sat
221

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents