6.
Serial Interface Protocol
This chapter describes the XtraDrive serial communication protocol.
XtraDrive can work with XtraWare or with any other software that complies
with this protocol. Up to 15 XtraDrive units can be connected on a bus.
Broadcast commands can be sent to all axes (XtraDrive units).
6.1.
Basic Communication Specifications
Half duplex communication using the following:
Baud rate:
Bit Structure:
Synchronization:
6.2.
Protocol Specifications
In this master/slave protocol, a PC (or other device) is the master and the
XtraDrive is the slave. The master sends a request or a polling message,
and the XtraDrive answers with a response message. The master can only
send a new message after receiving an answer or ACK (acknowledge)
message or after timeout has expired.
The master can control up to 15 XtraDrive units by using addresses. When
broadcast messages are sent, the master does not wait for an ACK.
When there is no command to send, the master can continue sending
polling messages; the XtraDrive responds with an ACK message.
The diagram below illustrates the communication protocol between a PC
(master) and a single XtraDrive.
Figure 58: Master-Slave Communication Protocol
XtraWare User Manual
19200
Start
Data
Stop
Even-number parity
Start / Stop
synchronization
Serial Interface Protocol
Auto-detect
1 bit
7 bit (ASCII
code)
1 bit
1 bit
1 bit
177