WindowOnly Set to Enable
Only trigger inputs within the window are detected to latch the axis position.
TriggerInput
Execute
WindowOnly
Done
Busy
RecordedPosition
CommandAborted
Error
ErrorID
LastPosition
Position
FirstPosition
Precautions for Correct Use
Precautions for Correct Use
• Latching is not possible at the moment that WindowOnly changes to TRUE and until the latch
function is activated.
• Time is needed until the latch function is activated. If the effective range for WindowOnly is too
small, latching is not possible. The range in which latching is possible depends on the perfor-
mance of the Servo Drive, Encoder Input Terminal, or Position Interface Unit, and on EtherCAT
communications.
The range that is defined by FirstPosition and LastPosition depends on the Count Mode, as given
below.
Linear Mode
• FirstPosition must be less than or equal to the window range and the window range must be less
than or equal to LastPosition.
• An error will occur if the FirstPosition is greater than the LastPosition.
• An error will also occur if a position beyond the position range of Linear Mode is specified.
• FirstPosition and LastPosition are LREAL variables. Do not set them to the same values.
Refer to Treatment of REAL and LREAL Data on page 1-12 for information on LREAL data.
The window only range in Linear Mode is shown below.
0x8000000000
Window
NY-series Motion Control Instructions Reference Manual (W561)
0
Axis position
FirstPosition
Window only range
3 Axis Command Instructions
Trigger enabled range
Position
16#0000
LastPosition
3
0x7fffffffff
3-113