Applied Motion RS-232 User Manual
Page 300

300
920-0002 Rev. I
2/2013
Host Command Reference
Command
Description
opcode (hex)
Reg code
Parameter 1
Parameter 2
Parameter 3
Parameter 4
Range ST5 /
ST10 / ST
AC5
Units
RC
Register Counter
BB 0
cond io
ST: X0..X8, L/H/F/R
STAC5: X0..X4, 1..8.
L/H/F/R
see IO Encoding Table
RD
Register Decrement
AF 0
reg code
A..Z or 0..9
see register code table
RI
Register Increment
B0 0
reg code
A..Z or 0..9
see register code table
RM
REGISTER MOVE
B1 0
dest
reg
src
reg
source: a..z or A..Z or
0..9. dest: A..Z or 0..9
see register code table
RR
REGISTER_READ from mem B3 reg
NV mem
location
reg: A..Z or 0..9.
memory location: 1..100
see register code table
RW
REGISTER_WRITE to mem
B4 reg
NV mem
location
reg: a..z or A..Z or 0..9.
memory location: 1..100
see register code table
RX
REGISTER_LOAD
AE reg value (16 or 32 bits,
depending on register type)
reg: A..Z or 0..9
value: +/- 2147483647
(long data registers)
+/- 32767 (short data
registers)
see register code table
TR
Test Register Immediate
AC reg value (16 or 32 bits,
depending on register type)
reg: a..z or A..Z or 0..9
value: +/- 2147483647
(long data registers)
+/- 32767 (short data
registers)
see register code table
TS
TIME_STAMP
C3 0
Q Program Commands
AX
ALARM_RESET
BA 0
MT
Multi Tasking
A9 0
0
0 or 1 0 or 1
1=on, 0=off
OF
ON_FAULT
B8 0
segment
0..12
OI
ON_INPUT
B9 0
cond
io
ST: X0..X8, L/H/F/R
STAC5: X0..X4, 1..8.
L/H/F/R
see IO encoding table
QC
Queue Call
74 0
segment
1..12
QG
Queue Goto
7E 0
line
1..62
QJ
Queue Jump
7F cc
line
line: 1..62
cc (condition code): ASCII
T = True
F = False
P = Positive
G = Greater than
L = Less than
E = Equals
U = Unequal
Z = Zero
QR
Queue Repeat
79 reg
segment
reg code: 0..9 or A..Z.
Segment: 1..12
see register code table