Io - output status, Command details, Parameter details – Applied Motion RS-232 User Manual

Page 103: Examples

Advertising
background image

103

920-0002 Rev. I

2/2013

Host Command Reference

IO - Output Status

Compatibility: All drives

With no parameter this command requests the immediate status of the designated outputs. The status is
displayed as an 8-bit binary number with output 1 in the far right position (bit 0). With a parameter this command
sets the outputs high or low using the decimal equivalent of the same binary pattern. Logic zero (“0”) turns an
output on by closing it.

Command Details:

Structure

IO{Parameter #1}

Type

IMMEDIATE

Usage

READ/WRITE

Non-Volatile

NO

Register Access

None

Parameter Details:

(See Appendix F: Working With Inputs and Outputs)

Examples:

BLu and STAC6-S or -Q versions (optional “Y” character is not necessary)

Command

Drive sends

Notes

IO

IO=00000000

All 3 outputs of IN/OUT1 or main board are low (closed)

IO

IO=00000111

All 3 outputs of IN/OUT1 or main board are high (open)

IO0

-

Sets all 3 outputs low (closed)

IO7

-

Sets all 3 outputs high (open)

BLu and STAC6-QE or -Si versions

Command

Drive sends

Notes

IO

IO=00000000

All 4 outputs of IN/OUT2 or top board are low (closed)

IO

IO=00001111

All 4 outputs of IN/OUT2 or top board are high (open)

IO0

-

Sets all 4 outputs of IN/OUT2 or top board low (closed)

IO15

-

Sets all 4 outputs of IN/OUT2 or top board high (open)

IOY

IO=00000000

All 3 outputs of IN/OUT1 or main board are low (closed)

IOY

IO=00000111

All 3 outputs of IN/OUT1 or main board are high (open)

IOY0

-

Sets all 3 outputs of IN/OUT1 or main board low (closed)

IOY7

-

Sets all 3 outputs of IN/OUT1 or main board high (open)

STAC5-S, SVAC3-S

Command

Drive sends Notes (DB-15)

IOY IO=00000000

Both outputs of IN/OUT1 are low (closed)

IOY

IO=00000011

Both outputs of IN/OUT1 are high (open)

IOY0 -

Sets both outputs of IN/OUT1 low (closed)

IOY3 -

Sets both outputs of IN/OUT1 high (open)

STAC5-Q/IP, SVAC3-Q/IP

Command Drive sends Notes (DB25)
IO

IO=00000000 All 4 outputs of IN/OUT2 are low (closed)

IO

IO=00001111 All 4 outputs of IN/OUT2 are high (open)

IO0

-

Sets all 4 outputs of IN/OUT2 low (closed)

IO15

-

Sets all 4 outputs of IN/OUT2 high (open)

Advertising
This manual is related to the following products: