User`s guide
Introduction
The external-encoder inputs on the system controller are normally used for conveyor belt
tracking with a robot. However, these inputs can also be used for other sensing applications.
In such applications, the DEVICE real-valued function and SETDEVICE program instruction
allow the external encoders to be accessed in a more flexible manner than the belt-oriented
instructions and functions.
This appendix describes the use of the DEVICE real-valued function and the
SETDEVICEprogram instruction to access the external encoder device.
In general, SETDEVICE allows a scale factor, offset, and limits to be specified for a specified
external encoder unit. The DEVICE real-valued function returns error status, position, or
velocity information for the specified encoder.
Accessing the external encoders via DEVICE and SETDEVICE is independent of any belt-
tracking commands or instructions. Setting belt parameters with SETBELT and setting
encoder parameters with SETDEVICE have no effect on each other. The only exceptions are
the SETDEVICE initialize command and reset command, which reset all errors for the
specified external encoder, including any belt-related errors.
NOTE: See the V+ Language Reference Guide. for complete information on the DEVICE
real-valued function and the SETDEVICE program instruction.
Introduction
(Undefined variable: Primary.Product_Name_V)Language User's Guide, version
17.x
Page 351










