<< Prev        Next >>

ID : 3377

IAI*.ReadPositionData

Function

To obtain position data.

Syntax

IAI*.ReadPositionData(Start number, Record count)

Guaranteed Entry

Start number
Specify the reading start position number with an array of integer type data.
Record count
Specify the reading target record count with an array of integer type data.

Return Value

Position data is returned with two dimensional array of variant type. The following shows the return values of each position data. The data type of each element is integer type.

Element number Description
0 Target position (unit: 0.01mm)
1 Positioning band (unit: 0.01mm)
2 Speed command (unit:0.01mm/s)
3 Individual zone boundary positive side (unit: 0.01mm)
4 Individual zone boundary negative side (unit: 0.01mm)
5 Acceleration command (unit: 0.01G)
6 Deceleration command (unit: 0.01G)
7 Push-current limiting value (100%=0xFF)
8 Load current threshold (100%=0xFF)
9 Control flag specification

Description

To obtain 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 ReadPositionData"

Sub Main

  Dim vntVal As Variant
  vntVal = IAI1.ReadPositionData( 1, 2 )

End Sub

ID : 3377

<< Prev        Next >>