beautypg.com

Remote interface, Requesting information, You can enter commands into the – ACU-RITE VRO 300T User Manual

Page 36

background image

VRO 300T

Remote Interface

29

Remote Interface

You can enter commands into the

VRO 300T

from a remote terminal or

computer if you have configured the serial port as a

COMPUTER

. These remote

commands are in the form of ANSI standard ASCII characters. The remote
device can request that the readout send information, such as the current
position, or the device can control the readout by simulating the pressing of
any of the readout’s hard keys or softkeys.

Requesting Information

Commands that request information from the readout begin with the

question mark character. As soon as the command is recognized, the
response data is sent, terminated by a CR character. Invalid commands are
ignored.

String

Command

Response

?*

Reset

No information returned. Resets the echo flag and input and
output buffers.

?En

Set Echo Mode: echo

when a keypad
command is sent.

n is equal to 0, 1, or 2. If n = 0, no echo. If n = 1, echo the

control character sent. If n = 2, echo a string describing the
key function. Refer to the “Readout Keypress” column in the

Keypad Command table on page 30 for the strings.

?Ix

?Ax

Get Incremental
Position

Get Absolute Position

Returns the position for the axis specified. x = 1, 2, 3, 4, 5 or

6. Examples are:
“X= -123.4567 INCH”, “Z1= +123.4567 INCH”

For an undefined axis, the response is “* = ****.**** ***”. If an
error exists, the response is: “x = Error mm”.

?U

Get Units

Returns the current display units, “INCH” or “MM”.

?X

Get Active Axes

Returns the displayable axes. Response is “X Z1 Z2 Y ** **”.

“**” means axes are not displayed.

?T

Get Current Tool

Returns the number for the current tool (0-99).

?Q

Get Port Status

Verifies the operation of the port connected to the computer.

The responses are:

0 = No parity, data overrun, or buffer overflow errors have

occurred since the last “port status” check.

1 = One of the above errors has occurred since the last “port

status” check.

This manual is related to the following products: