Communications protocol, Introduction, Command format – Rockwell Automation 2098-DSD-xxx Ultra3000 Host Commands for Serial Interface User Manual

Page 13: Host command description, Chapter 1, Chapter

Advertising
background image

1

Publication 2098-RM003A-EN-P October 2001

Chapter

1

Communications Protocol

Introduction

The drive command protocol is similar to others in the industry. It is a
master - slave protocol where the host computer is the master and the
drive is the slave. This chapter provides details on the following
aspects of the Ultraware Serial Communications Protocol:

Command Format
Host Command Description
Drive Response Description
Exception Responses

Command Format

The command format is shown below:

Each letter represents a single ASCII character. In the address,
parameter, function, data, and checksum fields, the characters should
all be ASCII hex values, i.e., they should be in the range 0 through 9
and A through F (upper case only).

All commands begin with a colon (0x3A), and terminate with a
carriage return (0x0D).

Host Command Description

The address field is made up of two characters. These characters
supply the address of the drive that the command is intended for. For
example, a host addressing drive #2 would have 0x02. The address
field allows drive addresses from 0x00 through 0xFD, or 254
individual drives.

The parameter field specifies the parameter in the drive that is being
accessed, which can range from 000 to 7FF, or 2048 possible
parameters.

Start

Address

Parameter

Function

Data

Checksum

End

:

a a

p p p

f

d ... d

c c

<cr>

Advertising