6-14 error clear, 6-15 forced set/reset, Error clear – Omron CQM1H-CLK21 User Manual

Page 245: Forced set/reset

Advertising
background image

222

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.

Day: As follows:

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

Response Block

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.

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

Value

00

01

02

03

04

05

06

Day

Sun

Mon

Tues

Wed

Thur

Fri

Sat

Command

code

01

21

Error reset

code

FF

FF

Command

code

01

21

Response

code

Advertising
This manual is related to the following products: