Omron CS1W-CLK21-V1 Network Card User Manual


 
223
Commands and Responses for C200HX/HG/HE and CQM1H-series PLCs Section 6-6
Command Block
Response Block
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:
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.
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
Command
code
23
01
No. of
bits/flags
Bit/flag Set/Reset
specification
Forced set/reset data
Memory area code
Set/reset
specification
Memory area code
Bit/flag
Forced set/reset data
Command
code
23
01
Response
code
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.
Memory area Data
IR, SR, LR, HR, and AR areas Bits status 00
Timer/Counter Completion Flag status 01
Command
code
23 02