Galil DMC-3425 Home Security System User Manual


 
52 • Chapter 4 Communication DMC-3425
Note: This function is only available if the system has been configured using the automatic handle
configuration command, HC.
Waiting on Handle Responses
The operation of the distributed network has commands being sent to the master controller, which then
distributes these commands to the slave axes in the system. For example, the command
PR10,10,10,10,10,10,10,10 sent to the master becomes packets of PR10,10 sent by the master to each
of the slaves in the system. When the slave receives this command from the master, a colon or
question mark is generated and sent back to the master to acknowledge the command.
The HW command allows the user to select whether or not the master will wait on this colon response
from the slave. If the HW is set to 0, the master will not wait for these responses. This results in faster
command execution but could cause problems if any slave errors are generated. The setting HW1, on
the other hand, insures that the master knows of any slave errors but does result in a slightly increased
command execution time as it waits for these responses.
Data Record
The DMC-3425 can provide a block of status information with the use of a single command, QR. This
command, along with the QZ command can be very useful for accessing complete controller status.
The QR command will return 4 bytes of header information and specific blocks of information as
specified by the command arguments: QR ABCDEFGHS
Each argument corresponds to a block of information according to the Data Record Map below. If no
argument is given, the entire data record map will be returned. Note that the data record size will
depend on the number of axes.
NOTE: A, B, C, & D can be interchanged with X, Y, Z, & W respectively.
Data Record Map
DATA TYPE ITEM BLOCK
UB 1
st
byte of header Header
UB 2
nd
byte of header Header
UB 3
rd
byte of header Header
UB 4
rth
byte of header Header
UW sample number I block
UB general input bank 0 (Inputs 1-7) I block
UB general input bank 1 (Always 0) I block
UB general input bank 2 (DB-14064) I block
UB general input bank 3 (DB-14064) I block
UB general input bank 4 (DB-14064) I block
UB general input bank 5 (DB-14064) I block
UB general input bank 6 (DB-14064) I block
UB general input bank 7 (DB-14064) I block
UB general input bank 8 (DB-14064) I block
UB general input bank 9 (DB-14064) I block
UB general output bank 0 (Outputs 1 – 3) I block
UB general output bank 1 (Always 0) I block