EasyManua.ls Logo

Galil DMC-2X00 - Page 59

Default Icon
267 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
(Configure Communication) at port 2. The command is in the format of:
CC m,n,r,p
where m sets the baud rate, n sets for either handshake or non-handshake mode, r sets for general port
or the auxiliary port, and p turns echo on or off.
m - Baud Rate - 300,1200,4800,9600,19200,38400
n - Handshake - 0=No; 1=Yes
r - Mode - 0=General Port; 1=Daisy-chain
p - Echo - 0=Off; 1=On; Valid only if r=0
Note, for the handshake of the auxiliary port, the roles for the RTS and CTS lines are reversed.
Example:
CC 1200,0,0,1
Configure auxiliary communication port for 1200 baud, no handshake, general
port mode and echo turned on.
Daisy-Chaining (DMC-2000 only)
Up to eight DMC-2000 controllers may be connected in a daisy-chain allowing for multiple controllers
to be commanded from a single serial port. One DMC-2000 is connected to the host terminal via the
RS232 at port 1 or the main port. Port 2 or the auxiliary port of that DMC-2000 is then brought into
port 1 of the next DMC-2000, and so on. The address of each DMC-2000 is configured by setting the
three address dipswitches (A0, A1, A2) located on the front of the controller.
When connecting multiple controllers in a daisy-chain, the cable between controllers should be female
on both ends with all wires connected straight through.
ADR1 represents the 2
0
bit, ADR2 represents 2
1
bit, and ADR4 represents 2
2
bit of the address. The
eight possible addresses, 0 through 7, are set as follows:
A2 A1 A0 ADDRESS
OFF OFF OFF 0
OFF OFF ON 1
OFF ON OFF 2
OFF ON ON 3
ON OFF OFF 4
ON OFF ON 5
ON ON OFF 6
ON ON ON 7
To communicate with any one of the DMC-2000 units, give the command “%A”, where A is the
address of the board. All instructions following this command will be sent only to the board with that
address. Only when a new %A command is given will the instruction be sent to another board. The
only exception is "!" command. To talk to all the DMC-2000 boards in the daisy-chain at one time,
insert the character "!" before the software command. All boards receive the command, but only
address 0 will echo.
NOTE: The CC command must be specified to configure the port P2 of each unit.
DMC-2X00 Chapter 4 Communication y 49

Table of Contents

Related product manuals