beautypg.com

Remote interface, Requesting information – ACU-RITE VRO 300M User Manual

Page 47

background image

Remote Interface

VRO 300M

40

Remote Interface

You can enter commands into the VRO 300M 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 mode and clears

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 41for 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”, “Y= +123.4567 DEG”

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, for example:

“X Y Z W ** **”

“**” means the axis is not displayed.

?T

Get Current Tool

Returns current tool information, for example:

“Current Tool: Diameter: 0.125000 INCH Length: 1.25000

INCH Tool Type: 1”

?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: