- 20 -
3.12
Query of position and sensor values - VALUE
This command reads a measured value from the connected device and returns it as an integer value.
Depending on the device, one or more measured values are available, which can be selected via the
index to be specified.
Syntax
GRIPLINK_VALUE(< PORT >,< INDEX >)
Parameter
< PORT >
Index of the device port (0 to 3)
< INDEX >
Index of the measured value to be queried
The following applies to grippers from Weiss Robotics:
-
Index = 0: Finger position of the gripper (In micrometers)
-
Index = 1: temperature of the gripper (in tenths of a degree Celsius)
Return value
INT
Example
Store the finger position of the gripper connected to port 0 in the variable value:
value = GRIPLINK_VALUE(0,0)
Содержание GRIPLINK
Страница 1: ...GRIPLINK PLUGIN FOR KUKA Version 1 0 0...