<< Prev        Next >>

ID : 3397

IAI*.WritePositionData

Function

To write position data.

Syntax

IAI*.WritePositionData position number, target position, positioning band, speed, individual zone boundary positive side (+), individual zone boundary negative side (-), acceleration, deceleration, current limit value, load current threshold, control flag

Guaranteed Entry

Position number
Specify the writing target position number with integer type data.
Target position
Specify the target position by integer type data. The unit is "0.01mm".
Positioning band
Specify the positioning band with integer type data. The unit is "0.01mm".
Speed
Specify the traveling speed by integer type data. The unit is "0.01mm/s".
Individual zone boundary positive side (+)
Specify the individual zone boundary positive side (+) with integer type data. The unit is "0.01mm".
Individual zone boundary negative side (-)
Specify the individual zone boundary negative side (-) with integer type data. The unit is "0.01mm".
Acceleration
Specify the acceleration with integer type data. The unit is "0.01G".
Deceleration
Specify the deceleration with integer type data. The unit is "0.01G".
Current limit value
Specify the push-current limit value with integer type data. (100%=0xFF)
Load current threshold
Specify the load current threshold with integer type data. (100%=0xFF)
Control flag
Specify the control flag with integer type data. For normal operation, enter 0. For Relative Movement Mode(incremental motion), enter 8.

Description

To write 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 WritePositionData"

Sub Main

  IAI1.WritePositionData 12, 10000, 10, 20000, 6000, 4000, 10, 30, 0, 0, 0
  ' Target position number No.12
  ' Target position 100.00mm
  ' Positioning band 0.10mm
  ' Speed 200.00mm/s
  ' individual zone boundary positive side (+) 60.00mm
  ' individual zone boundary negative side (-) 40.00mm
  ' Acceleration 0.10G
  ' Deceleration 0.30G

End Sub

ID : 3397

<< Prev        Next >>