Galil DMC-13X8 user manual Controller Response to Data, UI1

Models: DMC-13X8

1 210
Download 210 pages 31.17 Kb
Page 54
Image 54

UI1

Send interrupt

EN

End

This program sends an interrupt when the X axis is at its slew speed. After a 6 is written to address N

+3, the data F1 will be read at address N + 3. F1 corresponds to UI1.

Controller Response to DATA

Instructions to the DMC-13X8 may be sent in Binary or ASCII format. Binary communication allows for faster data processing.

In the ASCII mode, instructions are represented by two characters followed by the appropriate parameters. Each instruction must be terminated by a carriage return or semicolon.

The DMC-13X8 decodes each ASCII character (one byte) one at a time. It takes approximately .350 msec for the controller to decode each ASCII command. However, the VME host can send data to the controller at a much faster rate because of the FIFO buffer. Binary commands are processed approximately 30% faster than their corresponding ASCII commands.

After the instruction is decoded, the DMC-13X8 returns a colon (:) if the instruction was valid or a question mark (?) if the instruction was not valid.

For instructions that return data, such as Tell Position (TP), the DMC-13X8 will return the data followed by a carriage return, line feed and : .

It is good practice to check for : after each command is sent to prevent errors. An echo function is provided to enable associating the DMC-13X8 response with the data sent. The echo is enabled by sending the command EO 1 to the controller.

Chapter 4 Communication • 54

USER MANUAL

Page 54
Image 54
Galil DMC-13X8 user manual Controller Response to Data, UI1