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

Section 6-6

Command Block

23 01

Command

No. of

Set/Reset

Bit/flag

code

bits/flags

specification

 

Memory area code

Forced set/reset data

Set/reset

Bit/flag

specification

 

Memory area code

Forced set/reset data

Response Block

23 01

Command Response

code code

Parameters

No. of bits/flags (command): The number of bits/flags to be processed.

Note Multiple bits/flags can be forced set/reset, and the status will be retained until the forced set/reset is cleared.

Set/Reset specification (command): The action to be taken for each bit/flag:

Value

Function

0000 (Hex)

Force-reset (OFF)

0001 (Hex)

Force-set (ON)

8000 (Hex)

Forced status released and bit/flag turned OFF (0).

8001 (Hex)

Forced status released and bit/flag turned ON (1).

FFFF (Hex)

Forced status released.

Note “Forced status” is the ON/OFF status of bits/flags which is forcibly retained as write protected.

Memory area code (command): The memory area of the bit or flag to be controlled.

Bit/Flag (command): The bit or flag to be controlled.

Memory Areas

Refer to 6-6-2 Memory Area Designations for memory area designations.

Memory area

Data

 

IR, SR, LR, HR, and AR areas

Bits status

00

Timer/Counter

Completion Flag status

01

6-6-16 FORCED SET/RESET CANCEL

Cancels the forced status of all bits/flags that have been forced ON or forced OFF. (“Forced status” is the ON/OFF status of bits/flags which has been forc- ibly retained as write protected.)

Command Block

23 02

Command code

223

Page 246
Image 246
Omron CVM1-CLK21, CS1W-RPT01, CJ1W-CLK21-V1, C200HW-CLK21, CQM1H-CLK21, CS1W-CLK21-V1 Value Function, Memory area Data