9-75
9 Motion Control Functions
NJ/NX-series CPU Unit Motion Control Userās Manual (W507)
9-8 Other Functions
9
9-8-4 Zone Monitoring
ļ¬ Rotary Mode
⢠The FirstPosition can be less than, equal to, or greater than the LastPosition. If the FirstPosition is
greater than the LastPosition, the setting will straddle the modulo minimum position setting value.
⢠An instruction error will occur if a position beyond the upper and lower limits of the ring counter is
specified.
For details on latching, refer to the MC_TouchProbe (Enable External Latch) and MC_AbortTrigger
(Disable External Latch) instructions in the NJ/NX-series Motion Control Instructions Reference Manual
(Cat. No. W508).
Refer to the NX-series Position Interface Units Userās Manual (Cat. No. W524) for the differences when
you use NX-series Pulse Output Units.
This function detects whether the command position or actual position of an axis is in the specified
range (zone). Use the MC_ZoneSwitch (Zone Monitor) instruction to specify the first position and last
position of the zone to check. The InZone output variable for the Zone Monitor instruction will change to
TRUE when the position of the axis enters the specified zone. You can also specify multiple zones for a
single axis. Zones can overlap.
For details on zone monitoring, refer to the MC_ZoneSwitch (Zone Monitor) instruction in the NJ/NX-
series Motion Control Instructions Reference Manual (Cat. No. W508).
First Position ⤠Last Position First Position > Last Position
Valid range FirstPosition to LastPosition LastPosition to FirstPosition
9-8-4 Zone Monitoring
0
0x7FFFFFFFFF
LastPosition
FirstPosition
Latch enabled rangeLatch enabled range
Window
Modulo maximum
position setting value
Count value
Modulo minimum position
setting value (= 0)
LastPosition = 330°
FirstPosition = 210°
FirstPosition = 330°
LastPosition = 210°
ā 0 +
ā 0 +
Range in which latching
is enabled (The border
values are included.)
Range in which latching
is enabled (The border
values are not included.)