User`s manual

Western Reserve Controls, Inc. 1782-JDC User’s Manual
5
Table 2-1 Baud Rate Selection
Baud Rate Value Baud Rate
0 125k
1 250k
2 500k
3 Autobaud
NOTE:
If you change the baudrate, the new baudrate will not become effective until the
unit is power cycled or a reset command is received by the Identity Object (Class 1,
Instance 0, reset).
2.4 How to Install Serial Network
1. The communication between your serial device(s) and the 1782-JDC is an RS232 3-wire
or RS-485 2-wire differential network.
2. Connect an appropriate cable to your device.
3. Connect the other end of the cable to the JDC using the 3-point terminal plug provided.
Note the terminal markings on the JDC case. See Error! Reference source not
found.below.
4. Turn on power to the serial device and the JDC.
5. Set up the poll input and output data fields to the required size in your Master’s scan
table. This should be no larger than the poll response for the 1782-JDC (The default is
16). If more than 16 bytes are required, set the Parameter Class (15 or hex $0F),
Instance 5 and 6, Attribute 1 to the required size (See Table 5-5).
2.5 How to Read Serial Device Input Data
1. Set up the poll input data field to be 16 bytes in your Master’s scan table. This should be
no larger than the poll response size set for the 1782-JDC. (The default is 16)
2. Perform an idle poll command to the JDC.
3. The JDC will return the data in its serial input data buffer, plus 2 additional bytes. The 1
st
byte of the data field returned will be a “record number”, which will be incremented by the
JDC each time a new record is received from the serial device. The 2
nd
byte contains the
status. The bytes following these will be the exact ASCII data received from the ASCII
device in ASCII format.
2.6 How to Write Serial Output Data
1. Set up the poll output data field to be 16 bytes in your Master’s scan table. This should be
no larger than the poll response size selected for the 1782-JDC (The default is 16).
2. Enter the ASCII data to be transmitted to your serial device in the appropriate buffer in
your scanner. This data field should include all data, including terminating characters or
bytes, that are to be sent to your device. Additionally, the first byte of the field must be a