Applied Motion RS-232 User Manual

Page 283

Advertising
background image

283

920-0002 Rev. I

2/2013

Host Command Reference

Input Assembly (0x64)

This connection point is used to monitor the drive’s behavior. The 32 bytes of data sent by the drive are as

follows:

The data transmitted by the drive is sent in Little Endian format, so it will likely require rearranging before

use.

IP addresses said to be stored in “Internet Format” are simply encoded into hexadecimal notation and

rearranged into Little Endian format. Each octet has a value from 0-255, and can be represented by a single byte.

Standard IP address:

192.168.0.40

Convert to Hexadecimal:

192

= 0xC0

168

=

0xA8

0

=

0x00

40

=

0x28

Rearrange into Little Endian Format:

C0 A8 00 28 -> 28 00 A8 C0

Converted IP address:

192.168.0.40 -> 0x2800A8C0

Note that all numbers are sent in Little Endian format, so the process for converting is the same for each

piece of data.

Field Descriptor

Length
(bytes)

Sequence #

2

IP Address (Encoded in Internet Format)

4

Status Word

2

Alarm Word

2

Supply Voltage

2

Actual Current

2

Drive Temperature

2

Encoder Position (32-bit signed)

4

Absolute Position (32-bit signed)

4

Actual Velocity

2

Input Status (extended)

2

Input Status (main board)

2

Output Status

2

Advertising
This manual is related to the following products: