<< Prev        Next >>

ID : 3409

IAI*.SwitchJogInching

Function

To switch the operation mode between jogging and inching.

Syntax

IAI*.SwitchJogInching Jogging/Inching motion

Guaranteed Entry

Jogging/Inching motion
Specify jogging/Inching status with integer type data. To select inching motion, enter True or other than 0. To select jogging motion, enter False or 0.

Description

To switch the operation mode (jogging/inching) for IAI*.JogPlus command and IAI*.JogMinus command. 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 Inching motion status"

Sub Main

  ' Set the opration mode to inching
  IAI1.SwitchJogInching True

  ' Suspend the motion
  IAI1.JogPlus False

  ' Perform inching motion
  IAI1.JogPlus True

End Sub
'!TITLE "IAI Sample Jog motionstatus"

Sub Main

  ' Set the operation mode to jogging
  IAI1.SwitchJogInching False

  ' Motion start
  IAI1.JogPlus True
	
  Delay 5

  ' Stop
  IAI1.JogPlus False

End Sub

ID : 3409

<< Prev        Next >>