Operators Manual
Operation
M55-ML3-UG, Rev A
45
8.7.1.1.
Usage Examples
Communication Overview
To communicate with Nucomm equipment a standard ASCII byte-oriented packet is
used over an RS232 link.
RS232 settings:
BAUD: 9600 (Default) Unit is selectable
DATA: 8
STOP: 1
Flow: None
Packet outline:
<NU><Target address><source address><><Length><command><data>
Command String:
NU
–
ASCII code for N <4Eh> and U <55h>
<tt>Target address (00
–
99): This is the address of the unit. (Default = 01)
<ss>Address of source (00
–
99):
This is the address of the master controller. (Nucomm’s controller uses 00).
Packet length (Range: 02-17 (Command Data Length))
Command (00-FF)
Data (Hex Format)
<checksum>
–
(1’s complement of <Target address> to end of data)
<CR> - Carriage Return
<LF> - Line Feed
In all examples shown the packets are as they would be displayed on an ASCII terminal
the “<> “’s has been added to the packet for visual deli
miters only and do not appear on
the terminal.
A <01> is transmitted as a 2-digit ASCII code 30h and 31h.
8.7.1.2.
Example 1 - To Request Unit Model Number
There are two commands to request the unit model number; one for the first half of the
model number and another for the second half. The following procedure is used to
retrieve data from the unit:
A request for the model number is sent. (Command F2)
The unit will respond with response Command 72
Request Model #
NU<01><00><01><F1><0B><CR><LF>
Send Serial #
NU<00><01><10><72><32><33><43><52><37><44><2D><33><
35><30><2D><41><32><43><31><2E><CR><LF>
Model Nuber is ”23CR7D
-350-
A2C1”
8.7.1.3.
Example 2 - To Request Unit Serial Number