Chapter 5 Positioning Instructions
5 - 45
5.2.21 Parameter/Operation Data Save
• The parameter save instruction (WRT) is permanently preserving the operation data of positioning
area K changed during operation in the XGB built-in flash memory. For the relations between
positioning area K and the positioning parameter, refer to 3.2.2.
(1) Parameter Save (WRT)
[Area Setting]
Operand
[Flag Set]
Flag Description Device number
Error If the value of ax gets out of the range F110
(a) Function
• The instruction is for permanently preserving the operation data of positioning area K in the XGB
built-in flash memory.
• The operation data of positioning area K are permanently preserved in the XGB built-in flash
memory according to the setting of n1 at the rising edge as follows.
Set value 0 1 2
Area k to be
permanently
Positioning data High speed counter data PID control function data
• If n1 has been set at 0, the current operation data of area K of axis X and axis Y for positioning are
permanently preserved as the positioning parameter. If set at 1, the data of area K of all the
channels of the high speed counter are permanently preserved as the positioning parameter. If
set at 2, the data set in area K of 16 loop of the built-in PID are permanently preserved as the PID
parameter.
• Although the value set as ax is the operand that does not affect the execution of WRT instruction,
if it gets out of the setting range, instruction execution error flag (F110) turns On and the
instruction is not executed.
(b) Error
• If the value designated as ax (instruction axis) is other than 0 and 1, the error flag (F110) is set
and the instruction is not executed.
Instruction
Areas available
Step
Flag
PMK F L T C S Z D.x R.x
cons
tant
U N D R
Error
(F110)
Zero
(F111)
Carry
(F112)
WRT