Set, Reset Immediate (N Bits) Bit Logic

Inputs/Outputs Operands Data Types
bit Q BOOL
N VB, IB, QB, MB, SMB, SB, LB, AC, Constant, *VD, *AC, *LD BYTE

Memory Ranges ENO Errors Instruction Support for S7-200 CPUs SIMATIC/International Mnemonics
When the Set Immediate (SI) and Reset Immediate (RI) instructions are executed, the specified number of physical output points (N) starting at the specified bit address are immediately set (turned on) or immediately reset (turned off).

The range of points that can be set or reset is 1 to 128.

The I indicates an immediate reference; the new value is written to both the physical output point and the corresponding process-image register location when the instruction is executed. This differs from the non-immediate references, which writes the new value to the process-image register only.

Error Conditions that Set ENO = 0:

SM4.3 (run-time), 0006 (indirect address), 0091 (operand out of range)