4. Motion Control Instruction
4-132 DVP-MC operating manual
4.6.47. ZRSTD
API Controller
174
ZRSTD
Reset one zone of registers
10MC11T
Explanation of the instruction:
ZRSTD is used to reset multiple continuous registers.
When EN is on, the registers with S1 as the starting register are cleared as 0; and the number of the registers
is specified by S2;
When EN is off, the values of the registers are unchanged.
If the length specified by S2 exceeds maximum 64, it is counted as 64 and the part above 64 is invalid.
Explanation of input and output parameter of the instruction:
Parameter
name
Explanation
Data
type
Available
device
EN “ZRSTD” is executed as “EN” turns on. BOOL M,I,Q, constant
S1 The reset starting register INT D
S2
Specify the quantity of the registers; the max value of
S2 is 64.
UINT Constant, D
Comments to this Manuals