MODULE #7 - PROGRAM SERIAL COMMUNICATIONS
Several programmable parameters must be programmed before serial
communication can occur.
BAUD RATE
Select one of the baud rates from the list to match the baud rate of the
printer, computer, controller, etc.
“bAud” < > “300”
-
300 baud
“600”
-
600 baud
“1200”
-
1200 baud
“2400”
-
2400 baud
UNIT ADDRESS NUMBER
To allow multiple units to communicate on the 20 mA loop, different address
numbers must be assigned to each unit. If only one unit is on the loop, an
address of
“0”
may be given, eliminating the need for the address command.
“AddrES” < > “0” to “99”
PRINT REQUEST FUNCTION
A selection of print operations can be programmed. A print operation
occurs when a print request is activated via E1-CON
(TBA #4)
or E2-CON
(TBA #9)
pin, or a
“P”
command is sent from a terminal via the serial
communications option. If the option to which a particular print code applies
is not installed, then that parameter will not be printed.
If the totalizer is overflowed an asterisk (*) will precede the digits that are
printed
(ex. *000127 positive overflow, -*00127 negative overflow)
. If the input
is overloaded the print-out will be
“OLOLOL”
and for underload
“ULULUL
”.
“Print”< >“0”
-
input signal
“1”
-
input signal, peak, valley, and tare
“2”
-
input signal, alarm 1, and alarm 2
“3”
-
input signal, alarm 1, and alarm 2, hysteresis 1,
hysteresis 2, peak, valley, and tare
“4”
-
totalizer
“5”
-
input signal and totalizer
“6”
-
input signal, totalizer, peak, valley, and tare
“7”
-
totalizer, alarm 1, and alarm 2
“8”
-
input signal, totalizer, alarm 1, and alarm 2
“9”
-
input signal, totalizer, alarm 1, alarm 2, hysteresis 1,
hysteresis 2, peak, valley, and tare
FULL OR ABBREVIATED TRANSMISSION
When transmitting data, the IMS can be programmed to suppress the
address number, mnemonics and some spaces, if desired by selecting “NO”.
A selection of “NO” results in faster transmission. This feature may be
helpful when interfacing with a computer. When interfacing to a printer, a
“yES”
response is usually desirable.
“FULL” < > “yES” or “NO”
An example of full and abbreviated transmission is shown below:
2 INP -125.75 <CR> <LF>
Full transmission
-125.75 <CR> <LF>
Abbreviated transmission
-17-