523
7
7 Motion Control
MSET and MRST: Setting and resetting the bit element M
MSET and MRST: Setting and resetting the bit element M
◆
Overview
The MSET and MRST instructions are used to set and reset bit elements. They are used for interaction with
main programs or logic control.
MSET
1
Bit element setting Applicable model:
H3U-PM
1
Element to be
set
Bit element to be set
MRST
1
Bit element resetting Applicable model:
H3U-PM
1
Element to be
reset
Bit element to be reset
◆
Operands
Parameter Bit Element Word Element Immediate Operand
1
M SM D DD DE R RR RE SD SDD SDE K KK H HH E
Note: The elements in gray background are supported.
◆
Functions and actions
The MSET and MRST instructions are used to set or reset corresponding M or SM elements. They are
used for interaction with main programs or logic control.
◆
Note
1. MSET and MRST support only the M and SM bit elements. They do not support the word elements, bit
elements in KnX form or address indexing.
2. Function words are omitted in MSET and MRST.
◆
Application:
M23 is set after arc interpolation for other control purposes.