beautypg.com

Rs read switches – RMS Technologies R101 DRIVER/INDEXER User Manual

Page 30

background image

RMS Technologies

Page 30

Version 1.31

R101 Single Axis Driver/Indexer Manual

10/1/2007

RS

Read Switches


Query

Only


Reads the TRUE (1) or FALSE (0) state of the four optically coupled inputs, combined

into a single four-bit value. This command is used to check the correct operation of
this interface.

The value order of the inputs is ‘Zero Set’, ‘Disable’, ‘Direction’, and ‘Step’. in
descending order.


‘Zero Set’ has the value 8 (1000)

‘Direction’ has the value 4 (0100)

‘Disable’ has the value 2

(0010)

‘Step’ has the value 1

(0001)


Command Example


#ARS Reads the switch inputs.