<< Prev        Next >>

ID : 5937

SetHandIO

Function

Set the hand IO of the slave robot.

This option is available in Ver.1.9.* or higher.

Syntax

[Robot*.]SetHandIO Start number, Value[, Range]

Guaranteed Entry

Start number
Specify the smallest IO number that expresses the hand IO of the slave robot. Available range for input and output are from 64 to 71, respectively.
If the dummy input has been set, you can specify the range from 48 to 55 as well.
Value
Specify the value to be set by integer type data. Available range is from 0 to 255.
Range
Specify the setting range by integer type data. Available range is from 1 to 8. This is omittable. This should be "1" if it is omitted.

Description

Set the hand IO of the slave robot.

Related Terms

GetHandIO

Attention

  • Hand IO for the master robot can be set as well.
  • Hand IO for the master robot can be set as well. If the specified IO includes an IO that is out of Hand-IO area, an error occurs.

    Example

    Robot1.SetHandIO 70, &b1111, 4

    In this example, the IOs whose number are over 71 are specified (72, 73, and 74). Because these IO numbers are out-of-Hand IO area, an error occurs.

  • If the value entered by Value (the second argument) exceeds the IO range that is determined by Start number (the first argument) and Range (the third argument), the exceeded bits will be ignored.

    Example

    Robot1.SetHandIO 64, &b11, 1

    IO number 64 will be 1, whereas the number 65 will not be 1.

Example

	Robot1.SetHandIO 64,&B111,3	'Hand IO 64 to 66 on Robot 1 will turn ON.
	Robot1.SetHandIO 64,1		'Hand IO 64 on Robot 1 will turn ON.

ID : 5937

<< Prev        Next >>