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-42x0 response with the data sent. The echo is enabled by sending the command EO 1
to the controller.
Unsolicited Messages Generated by Controller
When the controller is executing a program, it may generate responses which will be sent via the main RS-232 port
or Ethernet port. This response could be generated as a result of messages using the MG command OR as a result
of a command error. These responses are known as unsolicited messages since they are not generated as the
direct response to a command.
Messages can be directed to a specific port using the specific Port arguments – see the MG and CF commands in
the Command Reference. If the port is not explicitly given or the default is not changed with the CF command,
unsolicited messages will be sent to the default port. The default port is the main serial port. When
communicating via an Ethernet connection, the unsolicited messages must be sent through a handle that is not the
main communication handle from the host. The GalilTools software automatically establishes this second
communication handle.
The controller has a special command, CW, which can affect the format of unsolicited messages. This command is
used by Galil Software to differentiate response from the command line and unsolicited messages. The command,
CW1 causes the controller to set the high bit of ASCII characters to 1 of all unsolicited characters. This may cause
characters to appear garbled to some terminals. This function can be disabled by issuing the command, CW2. For
more information, see the CW command in the Command Reference.
When handshaking is used (hardware and/or software handshaking) characters which are generated by the
controller are placed in a FIFO buffer before they are sent out of the controller. The size of the RS-232 buffer is 512
bytes. When this buffer becomes full, the controller must either stop executing commands or ignore additional
characters generated for output. The command CW,1 causes the controller to ignore all output from the controller
while the FIFO is full. The command, CW ,0 causes the controller to stop executing new commands until more
room is made available in the FIFO. This command can be very useful when hardware handshaking is being used
and the communication line between controller and terminal will be disconnected. In this case, characters will
continue to build up in the controller until the FIFO is full. For more information, see the CW command in the
Command Reference.
Serial Communication Ports
The RS-232 and RS-422 (optional) are located on the CMB (communication board) of the DMC-42x0. Note that the
auxiliary port is essentially the same as the main port except inputs and outputs are reversed.
RS-232 Configuration
The pin-outs for the RS-232 ports can be found in the Appendix in the RS-422-Main Port section, pg. 185.
Configure your PC for 8-bit data, one start-bit, one stop-bit, full duplex and no parity. The baud rate for the RS232
communication can be selected by setting the proper switch configuration on the front panel according to the table
below.
Chapter 4 Software Tools and Communication ▫ 37
DMC-42x0 User Manual
Содержание DMC-42 0 Series
Страница 85: ...Chapter 6 Programming Motion 81 DMC 42x0 User Manual Figure 6 14 ECAM cycle with Z axis as master...
Страница 195: ...ICM 2900 PCB Layout Appendices 191 DMC 42x0 User Manual...
Страница 205: ...CB 50 100 Drawings Appendices 201 DMC 42x0 User Manual...
Страница 206: ...Appendices 202 DMC 42x0 User Manual...
Страница 207: ...Appendices 203 DMC 42x0 User Manual...
Страница 208: ...Appendices 204 DMC 42x0 User Manual...
Страница 209: ...Appendices 205 DMC 42x0 User Manual...
Страница 210: ...Appendices 206 DMC 42x0 User Manual...
Страница 211: ...Appendices 207 DMC 42x0 User Manual...
Страница 214: ...CB 50 80 Drawing Appendices 210 DMC 42x0 User Manual...
Страница 215: ...Appendices 211 DMC 42x0 User Manual...