Applied Motion RS-232 User Manual

Page 288

Advertising
background image

288

920-0002 Rev. I
2/2013

Host Command Reference

Type 1 Command Message Payload

Type 1 Response Message Payload

byte 0

0

reserved

byte 0

0

reserved

byte 1

1

message type

byte 1

1

message type

byte 2

0

unused

byte 2

0

unused

byte 3

1D

opcode

byte 3

1D

opcode

byte 4

0

unused

byte 4

?

Status Code MSB

byte 5

0

unused

byte 5

?

Status Code LSB

byte 6

4

operand MSB

byte 6

0

not used

byte 7

B0

operand LSB

byte 7

0

not used

DI100000 set move distance to 100,000 steps
opcode

0x00B6 from Table 1

operand 0x186A0

units are steps, so 100000 is represented by 186A0 hex

Type 1 Command Message Payload

Type 1 Response Message Payload

byte 0

0

reserved

byte 0

0

reserved

byte 1

1

message type

byte 1

1

message type

byte 2

0

not used

byte 2

0

not used

byte 3

B6

opcode

byte 3

B6

opcode

byte 4

0

not used

byte 4

?

Status Code MSB

byte 5

1

operand MSB

byte 5

?

Status Code LSB

byte 6

86

operand 2nd LSB

byte 6

0

not used

byte 7

A0

operand LSB

byte 7

0

not used

FL

start the “feed to length” move

opcode

0x0066 from Table 1

operand 0

no operand

Type 1 Command Message Payload

Type 1 Response Message Payload

byte 0

0

reserved

byte 0

0

reserved

byte 1

1

message type

byte 1

1

message type

byte 2

0

unused

byte 2

0

unused

byte 3

66

opcode

byte 3

66

opcode

byte 4

0

not used

byte 4

?

Status Code MSB

byte 5

0

not used

byte 5

?

Status Code LSB

byte 6

0

not used

byte 6

0

not used

byte 7

0

not used

byte 7

0

not used

Example 2: setting an output

SO2L

set output 2 low (closed)

opcode

0x008B

from

Table

1

operand 0x4CB2

LSB is “2” = 0xB2. MSB is “L” = 0x4C (see IO Encoding Table)

Advertising
This manual is related to the following products: