6-6-15 Forced Set/Reset - Omron SYSMAC CS1W-CLK11 Operation Manual

Table of Contents

Advertisement

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

6-6-15 FORCED SET/RESET

Command Block
23
01
Command
No. of
code
bits/flags
Response Block
Parameters
166
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.
Set/Reset
Bit/flag
specification
Memory area code
Forced set/reset data
23
01
Command
Response
code
code
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
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
IR, SR, LR, HR, and AR areas
Timer/Counter
Set/reset
specification
Memory area code
Forced set/reset data
Function
Data
Bits status
Completion Flag status
Section 6-6
Bit/flag
00
01

Advertisement

Table of Contents
loading

Table of Contents