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

 

Section 6-6

Parameters

Year, month, date, hour, minute, second, day (command): Each specified

 

value is expressed in BCD.

 

 

 

 

 

 

 

 

The ranges for setting these items are shown in the following table.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Parameters

 

 

Range

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Year

00 to 99 (rightmost 2 digits)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Month

01 to 12

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Date

00 to 31

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Hour

00 to 23

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Minute

00 to 59

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Second

00 to 59

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Day: As follows:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Value

 

00

 

01

02

03

04

05

06

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Day

 

Sun

 

Mon

Tues

Wed

Thur

Fri

Sat

 

 

 

 

 

 

 

 

 

 

 

 

6-6-14 ERROR CLEAR

Clears errors from the PLC. A normal response will be returned even if an error has not occurred.

Note The cause of the error must be removed before executing the ERROR CLEAR command or the same error will occur again after the ERROR CLEAR com- mand is executed.

Command Block

21 01 FF FF

Command Error reset

code code

Response Block

21 01

Command Response

code code

Parameters

Error reset code (command): Set to FFFF (Hex).

6-6-15 FORCED SET/RESET

Forcibly sets (ON) or resets (OFF) bits/flags or releases forced set/reset sta- tus. Bits/flags that are forced ON or OFF will remain ON or OFF and cannot be written to until the forced status is released.

Note This command cannot be used to release the status of Completion Flags for timers or counters. If forced status is released and the Completion Flag is turned ON, it will be force-set; if forced status is released and the Completion Flag is turned OFF, it will be force-reset.

222

Page 245
Image 245
Omron CS1W-CLK21-V1, CVM1-CLK21, CS1W-RPT01 Parameters Error reset code command Set to Ffff Hex, Parameters Range