2 Variables and Instructions
Encoder Axes
There are objects that you must set to use specific instructions for encoder axes. Refer to the following
tables and set the required objects. There are no additional object settings required for encoder axis
operation for any instructions that are not listed in the following table.
Output Settings
Instruction
MC_TouchProbe
*1 Setting is required when Mode is set to Drive Mode.
*2 Setting is required when an OMRON GX-series encoder slave is used and Mode is set to Drive Mode.
Input Settings
Instruction
MC_TouchProbe
*1 Setting is required when Mode is set to Drive Mode.
*2 Setting is required when Mode is set to Drive Mode and LatchID is set to _mcLatch1 (Latch 1).
*3 Setting is required when Mode is set to Drive Mode and LatchID is set to _mcLatch2 (Latch 2).
*4 Setting is required when an OMRON GX-series encoder slave is used and Mode is set to Drive Mode.
2-38
Touch probe function (4020 hex)
Conditionally required*1
Touch probe pos1
Touch probe sta-
pos value
tus (4030 hex)
(4012 hex)
Conditionally
Conditionally
*1
required
required
Function
Software Switch of Encoder's Input Slave
Conditionally required*2
Function
Touch probe pos2
pos value
(4013 hex)
Conditionally
*2
*3
required
NY-series Motion Control Instructions Reference Manual (W561)
(4020 hex)
Status of Encoder's
Input Slave
(4030 hex)
Conditionally
*4
required