<< Prev        Next >>

ID : 3387

IAI*.GetCurrentPositionData

Function

To acquire the position data.

Syntax

IAI*.GetCurrentPositionData trigger on/off

Guaranteed Entry

Trigger on/off
Specify the trigger on/off with integer type data. To set the trigger on, enter True or other than 0, to set the trigger off, enter False or 0.

Description

Switching this entry from False to True acquires the position data. This function is available in Ver.2.7.* or higher.

For an asterisk written after IAI, enter an ID of the control target PCON.

Attention

-

Example

'!TITLE "IAI Sample GetCurrentPositionData"

Sub Main

  ' Set the trigger of this command off
  IAI1.GetCurrentPositionData False

  ' Get the position data
  IAI1.GetCurrentPositionData True

End Sub

ID : 3387

<< Prev        Next >>