<< Prev        Next >>

ID : 5127

AngularTrigger

Function

I/O turns ON or OFF when the robot reaches the designated angle or distance.

This command is available in Ver.1.5.* or higher.

Syntax

AngularTrigger True/False, Axis number, I/O port number[, motion distance[, start position]]

Guaranteed Entry

True/False
Enable/Disable the servo lock by an integer type data.
To enable this command, enter True or an integer other than 0.
To disable this command, enter False or 0.
Axis number
Specify an axis number (1 to 8) to be checked by integer type data.
I/O port number
Return I/O port number to be turned ON/OFF by integer type data.
Specify MiniI/O or HandI/O.
This item is not required to input if Enable/Disable is set to FALSE. If this item is input when FALSE is selected, the setting will be ignored.
Motion distance
Specify motion distance of an axis by double-precision variable of type real.
Axis Unit
Rotation axes deg
Linear motion axes mm

I/O is not output when "0" is designated. This is an optional value. I/O is not output if this is omitted.
This item is not required to input if Enable/Disable is set to FALSE. If this item is input when FALSE is selected, the setting will be ignored.
Start position
Specify the angle (position) to start the motion distance check by double-precision variable of type real.
This is optional value. The motion distance check is started from the current angle (position) if this is omitted.
This item is not required to input if Enable/Disable is set to FALSE. If this item is input when FALSE is selected, the setting will be ignored.

Description

  • I/O turns ON or OFF when the robot reaches the designated angle or distance.
  • When a port of ON state is specified, it turns OFF at the start position.
    When a port of OFF state is specified, it turns ON at the start position.

Related Terms

MotionComplete

Attention

  • An error occurs at the execution when an unavailable axis number is designated.
  • An error occurs at the execution when a user-output port or a user-input port is designated.
  • An error occurs at the execution when an I/O port which is out of range is designated.
  • An error occurs at the execution if the start angle or start position is out of the software limit range.
  • If the same axis or the same port number is specified by
    - more than one time within the same program,
    or,
    - multiple programs which are executed in multitasking,
    a command executed the latest becomes effective.
  • The setting is cleared once the controller power supply is OFF.

Example


	'6-axis I/O port 64, Turning ON/OFF every 0.1deg
	AngularTrigger True, 6, 64, 0.1

ID : 5127

<< Prev        Next >>