Applied Motion RS-232 User Manual

Page 290

Advertising
background image

290

920-0002 Rev. I
2/2013

Host Command Reference

operand 0x384 units are 10 rpm/sec, so 9000/sec is represented by 900 decimal = 384 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

unused

byte 2

0

unused

byte 3

1F

opcode

byte 3

1F

opcode

byte 4

0

unused

byte 4

?

Status Code MSB

byte 5

0

unused

byte 5

?

Status Code LSB

byte 6

3

operand MSB

byte 6

0

not used

byte 7

84

operand LSB

byte 7

0

not used

VE3

set velocity to 3 rev/sec (180 rpm)

opcode

0x001D from Table 1

operand 0x2D0 units are 0.25 rpm, so 180 rpm is represented by 720 decimal = 2D0 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

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

2

operand MSB

byte 6

0

not used

byte 7

D0

operand LSB

byte 7

0

not used

DI5000

set move distance to 5,000 steps (this is the distance beyond the sensor where motor will stop)

opcode

0x00B6 from Table 1

operand 0x1388 units are steps, so 5000 is represented by 1388 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

unused

byte 2

0

unused

byte 3

B6

opcode

byte 3

B6

opcode

byte 4

0

operand MSB

byte 4

?

Status Code MSB

byte 5

0

operand 2nd MSB

byte 5

?

Status Code LSB

byte 6

13

operand 2nd LSB

byte 6

0

not used

byte 7

88

operand LSB

byte 7

0

not used

FS2R

start the “feed to sensor” move, stop 5000 steps after input 2 rising edge

opcode

0x006B from Table 1

operand 0x52B2 LSB is “2” = 0xB2. MSB is “R” = 0x52 (see IO Encoding Table)

Advertising
This manual is related to the following products: