13 - 87
Chapter 13 Control Sub Functions
[3] Setting the command in-position function
To use the "command in-position function", set the required value in the
parameter shown in the following table, and write it to the Simple Motion module.
The set details are validated at the rising edge (OFF
ON) of the PLC READY
signal [Y0].
Setting item
Setting
value
Setting details
Factory-set
initial value
[Pr.16]
Command in-
position width
Turn ON the command in-position flag, and set the
remaining distance to the stop position of the position
control.
100
: Refer to Section 5.2 "List of parameters" for setting details.
[4] Confirming the command in-position flag
The "command in-position flag" is stored in the following buffer memory.
Monitor item
Monitor
value
Storage details
Buffer memory address
QD77MS2
QD77MS4
QD77MS16
[Md.31] Status
The command in-position flag is stored in the
"b2" position.
817+100n 2417+100n
n: Axis No.-1
: Refer to Section 5.6 "List of monitor data" for information on the storage details.
REMARK
Parameters are set for each axis.
It is recommended that the parameters be set whenever possible with GX Works2.
Execution by sequence program uses many sequence programs and devices. The
execution becomes complicated, and the scan times will increase.