36
•
Chapter 4 Communication
DMC-1500
Z Axis is 2500 counts
Command
Interpretation
%0
Talk only to controller 0 (DMC-1540)
PR 500,1000,2000,1500
Specify X,Y,Z,W distances
%1
Talk only to controller board 1 (DMC-1530)
PR 700,1500,2500
Specify X,Y,Z distances
!BG
Begin motion on both controllers
Synchronizing Sample Clocks
It is possible to synchronize the sample clocks of all DMC-1500's in the daisy-chain. This involves
burning in the command, TM-1, in all DMC-1500's except for one DMC-1500 which will be the
source. It is also necessary to put a jumper on pins 7 and 9 of the JP30 and JP31 jumper blocks.
Controller Response to DATA
Most DMC-1500 instructions are represented by two characters followed by the appropriate
parameters. Each instruction must be terminated by a carriage return or semicolon.
Instructions are sent in ASCII, and the DMC-1500 decodes each ASCII character (one byte) one at a
time. It takes approximately .5 msec for the controller to decode each command. However, the PC
can send data to the controller at a much faster rate because of the FIFO buffer.
After the instruction is decoded, the DMC-1500 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-1500 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-1500 response with the data sent. The echo is enabled by
sending the command EO 1 to the controller.
Galil Software Tools and Libraries
API (Application Programming Interface) software is available from Galil. The API software is
written in C and is included in the Galil COMM disks. They can be used for development under DOS
and Windows environments (16 and 32 bit Windows). With the API's, the user can incorporate
already existing library functions directly into a C program.
Galil has also developed a Visual Basic Toolkit. This provides VBXs, 16-bit OCXs and 32-bit OCXs
for handling all of the DMC-1500 communications including support of interrupts. These objects
install directly into Visual Basic and are part of the run-time environment. For more information,
contact Galil.
Содержание DMC-1510
Страница 6: ......
Страница 18: ...6 Chapter 1 Overview DMC 1500 THIS PAGE LEFT BLANK INTENTIONALLY...
Страница 88: ...76 Chapter 6 Programming Motion DMC 1500 Figure 6 7 Motion intervals in the Home sequence...
Страница 90: ...78 Chapter 6 Programming Motion DMC 1500 THIS PAGE LEFT BLANK INTENTIONALLY...
Страница 137: ...DMC 1500 Chapter 7 Application Programming 125 THIS PAGE LEFT BLANK INTENTIONALLY...
Страница 157: ...DMC 1500 Chapter 10 Theory of Operation 145 THIS PAGE LEFT BLANK INTENTIONALLY...
Страница 160: ...148 Appendices DMC 1500 Card Level Layout...
Страница 178: ...166 Appendices DMC 1500 ICM 1100 Drawing 1 3 4 0 0 4 4 0 2 4 0 7 0 0 4 5 3 7 0 5 7 0 2 8 5 1 0 0 1 0 1 0 7 0 1 0 0...
Страница 180: ...168 Appendices DMC 1500...
Страница 198: ...186 Appendices DMC 1500 THIS PAGE LEFT BLANK INTENTIONALLY...