10 com ports – Monarch Instrument DC 2000 User Manual

Page 107

Advertising
background image

Page 5-41

Chapter 5 Programming

5.10 COM PORTS

The Com Ports Menu selection, in the Program Menu, allows the user to select and set up the communication port
to use and to assign a network ID number to the Recorder, and to set up a modem attached to the RS232 port. The
menu options are identical for either type of communication option, if any, fitted to the recorder. There are three
choices of communication options - RS232, RS485 or Ethernet. However, the modem will only function with the
RS232 option.

There are three basic menu options:

Com Port

Set up the serial port options

Network ID

Set up the Modbus address

Modem Setup

Set up the modem initialization string

5.10.1 Com Port

This option allows the user to configure the serial port. The options are:

Protocol -

can assign the Protocol as Modbus RTU, Modbus ASCII, or Demand Data

Port setup -

can assign the baud rate of 300, 1200, 2400, 4800, 9600, or 19200 and assign Bits per
Character, Parity, and Stop Bits

Network ID -

duplicate, see section 5.10.2

Modem Setup - duplicate, see section 5.10.3

Ethernet -

set up the Ethernet options

To program the Com Port from the “Com Ports” menu, use the UP (

↑) or DOWN (↓) Arrow Keys to highlight

“Com Port” and press ENTER. The following choices are available:

5.10.1.1 Protocol

Use the UP (

↑) or DOWN (↓) Arrow Keys to highlight “Protocol” and press ENTER. Use the UP (↑) or

DOWN (

↓) Arrow Keys to select the desired protocol from the following options:

a. Modbus RTU

Modbus RTU is a binary encoded output. Use the UP (

↑) or DOWN (↓) Arrow Keys to highlight

“Modbus rtu” and then press EXIT to return to the “Com Ports” menu.

b. Modbus ASCII

Modbus ASCII is an ASCII output. Use the UP (

↑) or DOWN (↓) Arrow Keys to highlight “Modbus asc”

and then press EXIT to return to the “Com Ports” menu.

c. Demand Data

This option allows the user to configure the unit to send a time stamp and the current value of any
selected data points to an ASCII serial printer. The data is sent when a selected event occurs. No
header is printed, and each event will have a separate line with the time stamp and each channel
separated with a semi-colon (;). For example, with channels 1 through 4 turned on to print, when 4
separate events occur, you will get an output similar to the following:

;;10:55:39;00001;00006;00011;00016
;;10:56:01;00001;00006;00011;00016
;;10:56:05;00006;00011;00016;00021
;;10:56:07;00007;00012;00017;00022

Advertising