Futek IPM490, IPM500 User Manual

Page 1
IPM490 / IPM500
SERIAL COMMUNICATIONS MANUAL
For Series 2 Digital Meters
Custom ASCII protocol
10 Thomas, Irvine, CA 92618, USA
Tel: (949) 465-09001 ••• Fax: (949) 465-0905 •••• Website: www.futek.com
Page 2
1. TABLE OF CONTENTS
1. TABLE OF CONTENTS ....................................................................................................... 2
2. INTRODUCTION, CUSTOM ASCII SERIAL PROTOCOL ..................................................... 2
3. JUMPER SETTINGS & FIELD WIRING FOR SERIAL COMMUNICATIONS ......................... 3
4. FRONT PANEL SETUP, SERIAL COMMUNICATIONS ...................................................... 6
5. RS232 & RS485 COMMUNICATION PROTOCOLS ............................................................ 9
6. CONTINOUS MODE ........................................................................................................... 11
7. COMMAND MODE ............................................................................................................. 13
8. APPENDIX A: DPM MEMORY ADDRESSES AND DATA DEFINITIONS .............................. 23
9. APPENDIX B: COUNTER / TIMER MEMORY ADDRESSES AND DATA DEFINITIONS ........ 30
2. INTRODUCTION, CUSTOM ASCII SERIAL PROTOCOL
This manual applies to our programmable digital panel meters, counters and timers with Series 2 firmware. Before applying this manual to your device, verify that the label states “Series 2.”
The Custom ASCII Protocol is a simple serial communications protocol which is optimized for use with Series 2 programmable digital panel meters, counters and timers. It is compatible with RS232 and RS485 signals. It supports point-to-point and multipoint (or multidrop) communi­cations, with addressing of up to 31 devices on the same RS485 serial data line.
Digital panel meters, counters and timers require a plug-in option board for serial communi­cations. This can be an RS232 board, RS485 board, or RS485 Modbus board. The RS485 and RS485 Modbus boards are electrically equivalent, but the RS485 board uses RJ11 connectors, while the RS485 Modbus board uses RJ45 connectors. All of the serial board support the Modbus protocol. The two RJ11 or RJ45 connectors are wired in parallel to allow daisy chaining with no need for a hub. One of the jacks is equipped with two indicator LEDs.
The Modbus Protocol is a software-selectable alternative to the Custom ASCII Protocol and can be used with RS232 or RS485 signal levels. It is an industry standard which allows devices by different manufacturers to be digitally addressed on the same RS485 serial data line. However, it is substantially more complex than the Custom ASCII Protocol. For additional information, please refer to the separate Modbus Protocol Communications Manual.
- 2 -
Page 3
3. JUMPER SETTINGS & FIELD WIRING FOR SERIAL COMMUNICATIONS
3.1 SAFETY WARNINGS
Digital panel meters, counters and timers may be powered with AC (mains) from 85-264V ac or 90-300V dc with the high voltage power supply option, or 12-30V ac or 10-48 Vdc with the low voltage power supply option. To avoid the possibility of electrical shock or damaging short circuits, always unplug the device before opening the case. Please refer to the respective device manuals for full safety information and instruction on how to open the case. Signal wiring changes external to the case can be made safely while the units are under power.
3.2 RS232 & RS485 CONNECTION OF METERS, COUNTERS & TIMERS TO A COMPUTER
RS232 INTERFACE Computer
N/C ISO GND RX TX RTS N/C
RS485 INTERFACE - FULL DUPLEX
ISO GND BRX ARX ATX BTX ISO GND
6 5 4 3 2 1
GND TX RX RTS
RS485 INTERFACE - HALF DUPLEX
6 5 4 3 2 1
GND BTX ATX ARX ARX GND
ISO GND
ATX / ARX BTX / BRX ISO GND
6 5 4 3 2 1
GND
ATX / ARX BTX / BRX GND
RS485-MODBUS - FULL DUPLEX RS485-MODBUS - HALF DUPLEX
(A') RXD0 (B') RXD1
(B) TXD1 (A) TXD0
ISO GND
1 2 3 4 5 6 7 8
TXD0 TXD1
RXD1 RXD0
GND
(B) TX/RXD1 (A) TX/RXD0
ISO GND
1 2 3 4 5 6 7 8
D1 D0
GND
- 3 -
Page 4
3.3 JUMPERS SETTINGS OF METERS, COUNTERS & TIMERS
RS232 Board
g Normal operation. h Slave display operation to RS232 output of
another meter.
J Pull-up resistor on RTS line.
Note: The RS232 board is shipped standard with
jumpers g and j installed.
RS485 and RS485-Modbus Boards
Full Duplex Operation
b & e These bias jumpers should be installed on 1
(and only 1) meter.
a & d Installed on last meter in line with long cable
runs.
Half Duplex Operation
b & e Bias jumpers installed on 1 board. c & f Installed for half duplex operation.
installed on last meter in line with long cable runs.
Note: RS485 and RS485 Modbus boards are shipped standard with no jumpers installed.
- 4 -
Page 5
4. FRONT PANEL SETUP, SERIAL COMMUNICATIONS
Press Menu
Press Digit Select
4.1 FRONT PANEL SETUP, DIGITAL PANEL METERS & SCALE METER ONLY
Select Key
.SEr 1.
Press until Ser 1 is displayed.
Fixed Parameters:
- No parity
- 8 data bits
- 1 stop bit
Key
__000
Output filtering
__000U
Baud rate
__000U
Output update rate
Press Value Select Key
0 Send unfiltered signal 1 Send filtered signal
0 300 baud 1 600 baud 2 1200 baud 3 2400 baud 4 4800 baud 5 9600 baud 6 19200 baud
60 Hz 50 Hz
0 0.017 sec 0.020 sec 1 0.28 sec 0.34 sec 2 0.57 sec 0.68 sec 3 1.1 sec 1.4 sec 4 2.3 sec 2.7 sec 5 4.5 sec 5.4 sec 6 9.1 sec 10.9 sec 7 18.1 sec 21.8 sec 8 36.6 sec 43.5 sec 9 72.5 sec 86.7 sec
.SEr 2.
Serial Setup 2
_0000U
Line feed
_0000U
Alarm data with readings
_0000U
Control of data output
_0000U
Meter address
- 5 -
0 No <LF> following <CR> 1 <LF> following <CR>
0 No alarm data with reading 1 Alarm data with reading
0 Continuous data output 1 Data output on ASCII command only
Select 0 thru F for addresses 1 thru 15. Select 0. thru F. (with decimal point) for addresses 16 thru 31.
Page 6
Press Menu
Select Key
Press Digit Select
Press Value Select
Key
Key
.SEr 3.
Serial Setup 3
00000U
RS485 half or full duplex
00000U
Special start & stop char.
00000U
RTS mode
00000U
Termination characters
00000U
Data sent, digital panel meter only
00000U
Data sent, scale meter only
0 Full duplex 1 Half duplex
0 Standard continuous mode 1 Special start & stop characters
0 Normal non-latching RTS 1 Single transmission, latching RTS
0 Only at end of all items 1 At end of each item
0 Reading 1 Peak 2 Valley 3 Reading + Peak 4 Reading + Valley 5 Reading + Peak + Valley
0 Net + Gross 1 Net only 2 Gross only 3 Peak only (Net or Gross) 4 Net + Gross + Peak 5 Valley only
SEr 4.
Serial Setup 4
_Addr
Modbus Address
__000U
Modbus ASCII gap timeout
__000U
Serial protocol
__000U
Parity
__000 __000 __000
Select digit to flash.
- 6 -
0 1 sec 1 3 sec 2 5 sec 3 10 sec
0 Custom ASCII 1 Modbus RTU 2 Modbus ASCII
0 None 1 Odd 2 Even
__158
Select 0 through 9 for flashing digit. Address range is 1 to 247.
Page 7
4.2 FRONT PANEL SETUP, COUNTERS & TIMERS ONLY
Press Menu
Press Digit Select
Select Key
. Ser 1.
Serial Setup 1. Press until Ser 1 is displayed.
Fixed Parameters
- No parity
- 8 data bits
- 1 stop bit
Key
___000
Output filtering
___000U
Baud rate
___000U
Output update rate
Press Value Select Key
0 Send unfiltered signal 1 Send filtered signal
0 300 baud 1 600 baud 2 1200 baud 3 2400 baud 4 4800 baud 5 9600 baud 6 19200 baud
60 Hz 50 Hz
0 0.017 sec 0.020 sec 1 0.28 sec 0.34 sec 2 0.57 sec 0.68 sec 3 1.1 sec 1.4 sec 4 2.3 sec 2.7 sec 5 4.5 sec 5.4 sec 6 9.1 sec 10.9 sec 7 18.1 sec 21.8 sec 8 36.6 sec 43.5 sec 9 72.5 sec 97 sec
. Ser 2.
Serial Setup 2
__0000U
Line feed
__0000U
Alarm data with readings
__0000U
Control of data output
__0000U
Meter address with Custom ASCII protocol
. Ser 3.
Serial Setup 3
_00000U
RS485 half or full duplex
_00000U
Special start & stop char.
- 7 -
0 No <LF> after <CR>
1 <LF> after <CR>
0 No alarm data 1 Alarm data with reading
0 Continuous data output 1 Data output on ASCII command only
Select 0 thru F for addresses 1 thru 15. Select 0. thru F. (with decimal point) for addresses 16 thru 31.
0 Full duplex 1 Half duplex
0 Standard continuous mode 1 Special start & stop characters
Page 8
Press Menu
Select Key
Press Digit Select
Key
Press Value Select Key
Ser 3.
(continued)
Ser 4.
Serial Setup 4
_00000U
RTS mode
_00000U
Termination characters
_00000U
Data sent in continuous mode
___000U
Modbus* ASCII gap timeout
0 Normal non-latching RTS 1 Single transmission, latching RTS
0 Only at end of all items 1 At end of each item
0 All active items 1 Item #1 only 2 Item #2 only (if active) 3 Item #3 only (if active) 4 Peak only 5 Displayed item 6 Valley only 7 All active items + Peak
0 1 sec 1 3 sec 2 5 sec 3 10 sec
_ Addr
Modbus Address
___000U
Serial protocol
___000U
Parity
___000 ___000 ___000
Select digit to flash.
0 Custom ASCII 1 Modbus RTU 2 Modbus ASCII
0 None 1 Odd 2 Even
___158
Select 0 thru 9 for flashing digit. Address range is 1 to 247.
- 8 -
Page 9
5. RS232 & RS485 COMMUNICATION PROTOCOLS
Alarm Status
No Overload
Overload
5.1 SERIAL COMMUNICATION FORMAT
The serial communication format for both RS232 and RS485 is the following:
Mode ................ Full Duplex (Separate transmit and receive lines) and Half Duplex (RS485 only)
Baud Rate ......... 300, 600, 1200, 2400, 4800, 9600, 19200 selectable by front panel Menu item
“Ser 1”, Sub-menu item “Digit 4” for DPM, "Digit 5" for counter.
Parity ................ None
Word length ...... 8 data bits
Stop bit ............ 1
5.2 MEASUREMENT DATA FORMAT
The basic measurement data format consists of 8 ASCII characters for the DPM, such as +999.99<CR> and 9 characters for the counter, such as +9999.99<CR>, where <CR> is the carriage return character. The first character is always a plus or minus sign. A decimal point is always furnished, even when it follows the last digit.
Adding a Line Feed Character to the Basic Format
Printers and other devices that receive the measurement data may require a line feed character <LF> following the <CR>. The line feed character <LF> may be selected in “Ser 2”.
Adding a Coded Data Character to the Basic Format
It is possible to add a coded character from A to H to the data string according to the following table to indicate the alarm and overload status of the device. If used, this character precedes the <CR>, so it is the last printable character in the string. With the optional <LF> and coded character selected, the data string will consist of 10 characters for the DPM +999.99A <CR><LF> and 11 characters for the counter +9999.99A<CR><LF>.
Neither Alarm set Alarm 1 set only Alarm 2 set only Both Alarms set
A B C D
E
F G H
For example, a coded character “G” indicates that Alarm 2 only is set, that the DPM is in the overload condition, and that zero blanking has been selected. This information is useful when data is supplied to a computer for listing and analysis, or when data is supplied to a Remote Display in a Master-Slave configuration.
- 9 -
Page 10
The Counter and Scale Meter are capable of supplying more than 1 measurement value (or “Item”) with each reading, as selected in “Ser 3”. In the counter, there can be up to 3 Items plus a Peak value, depending on the selected Function. The scale meter can transmit Net, Gross and Peak weight.
Values are transmitted in a continuous string with no space between them. If the 5th digit in “Ser 3” is set to 1, the termination characters of <CR> and optional <LF> appear after each value. If the 5th digit is et to 0, the termination characters appear only once at the end of the string. In either case, if included, the coded character appears at the end of the last value only.
5.3 NETWORK CONFIGURATIONS
The instruments can operate in a point-to-point mode using RS-232 or RS-485, or in a multi­point mode using RS-485.
The point-to-point mode is a direct connection between a computer (or other digital device) and the instrument.
The multi-point mode is a connection from a host computer to a multiplicity of instruments bused together with their inputs and outputs connected in parallel. For long cable runs, the last device should have a termination resistor installed. It is necessary to set up each device on the bus with a different address from 1 to 31. To command a particular device, its address is used in conjunction with the command, and only that device responds. The outputs of all of the devices on the bus are set to a high impedance state, except the device being addressed. The device addresses range from 1 to 31, with 0 being a special address to which a meter responds only internally (e.g. Reset), but does not transmit any response on the output lines. All devices may be commanded simultaneously with a 0 address, and there will not be any output response contention. Addressing of meters can be set in “Ser 2”.
A device operating in a point-to-point mode must also be addressed. Although any address will suffice, it is suggested address = 1 be selected as a standard for the point-to-point mode.
5.4 OPERATING MODES
The instruments can operate in a Continuous Mode or Command Mode.
In the Continuous Mode, measurements are continuously transmitted by the meter in a standard data format. Please see the next manual section.
In the Command Mode, the meter does not send any data automatically, but responds to com­mands received from a host computer. Please see the manual section following the Continuous Mode.
- 10 -
Page 11
6. CONTINUOUS MODE
Output Rate
Data Output Rate
Minimum Baud Rate
“Ser 1” Setting
50 Hz / 60 Hz
1 I
tem Sent
2 Items Sent
3 Items Sent
6.1 OVERVIEW
In the Continuous Operating Mode, measurements are continuously transmitted by the instru­ment in a standard data format using printable ASCII characters at a user-selectable rate ranging from 50 or 60 Hz line frequency down to one measurement every 72 seconds. This data may be received by a remote display at a distant location, by a printer for data logging purposes, or by a host computer for data analysis or system control.
Both hardware (RTS) and software (XON/XOFF) handshaking are available for RS232, but neither is available for RS485.
6.2 INSTRUMENTS WITH DPM OR SCALE METER MAIN BOARD
The transmission rate of the measurement data can be selected in “Ser 1”. The meter conversion rate equals the AC power frequency (50 or 60 Hz). Any baud rate may be used, but if less than the minimum baud rate in the table, the transmission rate will decrease accordingly.
0 1 2 3 4 5 6 7 8 9
021s / .018 s .34 s / 0.28 s .68 s / 0.57 s
1.4 s / 1.1 s
2.7 s / 2.3 s
5.4 s / 4.5 s
1.9 s / 9.1 s
21.8 s / 18.1 s
43.5 s / 36.3 s
86.7s / 72.3 s
9600
600 300 300 300 300 300 300 300 300
9600
600 / 1200
300 / 600
300 300 300 300 300 300 300
19200
1200
600 300 300 300 300 300 300 300
6.3 INSTRUMENTS WITH COUNTER / TIMER MAIN BOARD
The transmission rate of the measurement data can be selected in “Ser 1". Data transmission is initiated at the end of the calculation time following the gate time. Data is completely trans­mitted for one measurement before the calculation of the next measurement is started. Therefore, the reading rate is influenced by the baud rate, the number of items transmitted, and gate time. If the selected gate time is less than that shown in the table below, it is not the determining factor of the reading rate. If it is greater, then it is the determining factor. Time intervals (reciprocal of rate) between transmissions at the reading rate are:
- 11 -
Page 12
Baud
Rate
Time
Min
Time
Min
Time
Min
Time
Min
1 Item
Gate
2 Items
Gate
3 Items
Gate
4 Items
Gate
300
600 1200 2400 4800 9600
19200
.37s .18s .09s .05s .02s .01s .01s
.34s .15s .06s .02s .01s .01s .01s
.70s .35s .18s .09s .04s .02s .01s
.67s .32s .15s .06s .01s .01s .01s
1.03s .52s .26s .13s .07s .03s
.02
1.00s .49s .23s .10s .04s .01s .01s
1.37s .68s .34s .17s .09s .04s .01s
1.34s
The data transmission rate may be reduced by sending data every other reading, every fourth reading, or less. This selection is made in “Ser 1”. A computer, if busy with other tasks, may be unable to keep up with the faster data rates of the meter, so a handshake function is available that provides the computer with control over the meters’ data transmissions.
6.4 RTS CONTROL
RTS control does not apply to RS485. DPMs and counter / timers have two RS232 RTS modes: unlatched and latched.
In the unlatched mode, the measurement transmission is enabled by a high RTS level and is disabled by a low RTS level. When disabled, any character being sent is completed. When enabled, any characters remaining in the data format are transmitted before the next measu­rement transmission. The computer, when its receive buffer is nearly full, takes the RTS line low to halt data transmission. When its receive buffer has emptied, it takes the RTS line high to enable more data transmissions. Some measurements could be missed in the process. The latched and unlatched modes are selected in "config" "digit 2" in the DPM and by “Ser 3” in the Counter and Scale Meter.
.65s .31s .14s .06s .01s .01s
In the latched mode, the RTS input is polled every 3.3 ms. When a high level is detected, RTS is latched true, even though the RTS line goes low immediately. At the end of each calculation, the latched RTS value is checked. If it is true, a complete measurement transmission (from 1 to 4 values) is made without interruption, regardless of the state of the RTS line during that time. At the end of the complete transmission, the latched RTS value is reset false, even though the RTS line may be high at that instant. The RTS latch does not go true again until the RTS line is first returned to a low level after the completion of the transmission and then is taken high again. Latched control provides “print command” operation by sending a transmission for each RTS pulse. If a second pulse occurs during the transmission, it is not recognized.
6.5 XON / XOFF CONTROL
Applicable to RS232, not RS485. A measurement transmission is enabled by the receipt of an ASCII XON character. It is disabled by the receipt of an ASCII XOFF character.
- 12 -
Page 13
7. COMMAND MODE
Char #
Character
Description
7.1 OVERVIEW
In the Command Mode, the device does not send any data automatically, but responds to com­mands received from a host computer. These commands can be:
To transmit the latest or peak measurement
To reset the meter completely or just the peak value and/or latched alarms
To display a value sent from the computer
To transmit present setup parameters
To receive new setup parameters,
To monitor or alter data in selected memory locations of the meter.
The selection of either the Continuous mode or the Command Mode can be made from the front panel Menu selection “Ser 2”. The meter will not respond to a command in the Conti­nuous Mode, except the command “A1”, which puts the meter into the Command Mode.
7.2 COMMAND MODE FORMAT
The minimum format is 4 characters. Example: *5A1
After any command that causes a Meter Reset, such as C0, F, W, X, the Counter sends an “R” character after the Reset is complete and the Counter is ready to accept a new command.
CHAR 1 - COMMAND IDENTIFIER
All commands begin with “*” followed by the meter address, then a command letter followed by a sub-command number or letter. Additional characters may be appended. All commands terminate with <CR> (<LF> ignored). The counter may be assigned a different recognition character via the RS232 / 485 serial port, but will still recognize the “*”.
1 2 3 4
* 0-V A-Z 0-U
Command Identifier (Recognition Character) Device Address (0 addresses all devices, 1-V specific) Command Function Sub-command (or # Bytes or Words of data being transferred)
CHAR 2 - ADDRESS CODES
The next table is the Serial Communication Address Codes following the “*” for each meter address number. Also shown is the corresponding character that is set in menu item “SER 2”.
- 13 -
Page 14
Meter #
Meter SER 2
Serial Comm
Meter SER 2
Serial Comm
Digit 5(6)
Address Code
Meter #
Digit 5(6)
Address Code
1 2 3 4 5 6 7 8
9 10 11 12 13 14 15
1 2 3 4 5 6 7 8 9 A B C D E F
1 2 3 4 5 6 7 8 9 A B C D E F
16
CHARS 3 & 4 - COMMANDS AND SUBCOMMANDS
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
0.
1.
2.
3.
4.
5.
6.
7.
8.
9. A. B. C.
D.
E. F.
G H
I
J
K
L
M
N O P Q R S
T U V
The examples below use a default address of 1 following the “*“. Substitute the desired address from the above table of Serial Comm Address Codes. All command sequences shown must terminate with <CR>, followed by an optional <LF>.
COMMUNICATIONS MODE
Continuous mode *1A0 Command mode *1A1
REQUEST DPM VALUES
Get reading** *1B1 Peak reading *1B2 Valley reading *1B3
** The meter transmits the value or values selected in Ser 3.
REQUEST SCALE METER VALUES
Get reading** *1B1 Peak only *1B2 Net only *1B3 Gross only *1B4 Valley only *1B5
** The meter transmits the value or values selected in Ser 3.
- 14 -
Page 15
REQUEST COUNTER VALUES
All active items *1B0 Item 1 *1B1 Item 2 *1B2 Item 3 *1B3 Peak *1B4 Displayed item *1B5 Valley only *1B6 All active items + Peak + Valley *1B7
RESET FUNCTIONS, DPM & SCALE METER
Cold reset *1C0 Reads NVMEM into RAM locations after RAM is zeroed. Latched alarms reset *1C2 Peak value reset *1C3 Remote display reset *1C4 External Input B true *1C5 External Input B false *1C6 External Input A true *1C7 External Input A false *1C8 Valley reset *1C9 Tare function *1CA Tare reset *1CB
RESET FUNCTIONS, COUNTER / TIMER
Cold reset *1C0 Reads NVMEM into RAM locations after RAM zeroed. Function reset *1C1 Resets all total values and/or peak value. Latched alarms reset *1C2 Peak value reset *1C3 Remote display reset *1C4 Resets Item 3 to zero if not Arith or Batch. Removes Alarm View or Peak View if on. External Input B true *1C5 External Input B false *1C6 External Input A true *1C7 External Input A false *1C8 Valley value reset *1C9
7.3 READING AND WRITING TO RAM AND NONVOLATILE MEMORY
CHARACTERS 1, 2
The Recognition character and Meter Address Code are the same as shown in previous table.
CHARACTER 3 Command character:
- 15 -
Page 16
G Read bytes from RAM Memory
Code #
Code #
Code #
Code #
F Write bytes to RAM Memory (DPM and Scale meter only) R Read bytes from Upper RAM Memory Q Write bytes to Upper RAM Memory X Read words from Non-Volatile Memory W Write words to Non-Volatile Memory
CHARACTER 4 Command character
1 = 1 2 = 2 3 = 3 4 = 4 5 = 5 6 = 6 7 = 7 8 = 8
9 = 9 A = 10 B = 11 C = 12 D = 13 E = 14
F = 15
G = 16
H = 17
I = 18
J = 19
K = 20
L = 21
M = 22
N = 23 O = 24
P = 25 Q = 26 R = 27
S = 28
T = 29 U = 30
CHARACTERS 5, 6 See tables for the RAM MEMORY ADDRESSES and NONVOLATILE MEMORY ADDRESSES with
their respective data definitions.
GENERAL, READING AND WRITING RAM MEMORY DATA
RAM memory data is read and written as a continuous string of bytes consisting of 2 hex characters (0-9,A-F) per byte. Included in the command are the total number of bytes to be transferred and the most significant address in RAM of the continuous string of bytes. The format is:
Read lower RAM data *1Gnaa Write lower RAM data *1Fnaa<data> Read upper RAM data *1Rnaa Write upper RAM data *1Qnaa<data> where: n is the number of bytes to be read or written.
aa is the most significant address in RAM of the bytes to be read or written. <data> is n bytes of 2 hex characters per byte in order from the most to the least
significant byte.
The number of bytes n consists of a single code character representing values from 1 to 30 as shown above under CHARACTER 4. The most significant address aa consists of 2 hex charac­ters as shown below under RAM MEMORY ADDRESSES AND DATA DEFINITIONS.
- 16 -
Page 17
GENERAL, READING AND WRITING NONVOLATILE MEMORY DATA
Nonvolatile data is read and written as a continuous string of words consisting of 2 bytes or 4 hex characters (0-9,A-F) per word. Included in the command is the total number of words to be transferred and the most significant address in nonvolatile memory of the continuous string of words. The format is:
Read nonvolatile memory data *1Xnaa (followed by Meter reset) Write non-volatile memory data *1Wnaa <data> (followed by Meter reset) where: n is the number of words to be read or written.
aa is the most significant address in nonvolatile memory of the words to be read or
written.
<data> is n words of 2 bytes or 4 hex characters per word in order from the most to the
least significant address
The coded number of words n consists of a single character representing values from 1 to 30 as shown under CHARACTER 4. The most significant address aa consists of 2 hex characters as shown under NONVOLATILE MEMORY ADDRESSES.
7.4 COMMAND MODE FOR REMOTE DISPLAY OPERATION OF DPM
OVERVIEW
A DPM can serve as a remote display that responds to values sent via serial communications by a PC or by another DPM in a Master-Slave configuration. In one application, the DPM sends readings to a PC, which then processes the readings and transmits values back to the DPM for display. There are 3 modes in which the DPM may act as a remote display:
MODE 1: DPM with Signal Conditioner Card and not in Remote Display Mode
SETUP (left digit) = 0 4-1/2 digit DPM = 2 4-1/2 digit DPM with Count by 10 = 3 3-1/2 digit DPM
The baud rate must be set the same as the source. The PC Controller uses the H command to cause the display to halt it’s normal readings and display the value sent by Serial Commu­nications instead. The DPM must be in the Command mode to receive the data. The data format sent via Serial Communications is:
*#HSDDDDD.A <CR> where the decimal point is in front, behind (as shown), or
between the D’s (digits).
A total of 11 characters plus a CR must be included and sent as ASCII characters. Those in quotes below are included as shown. The other symbols represent a range of characters except for CR which is the ASCII character “0D”.
* = Command identifier
- 17 -
Page 18
# = Device address from 1 to 9, A to V, or 0 for common address
ALARM CONDITION
NO OVERLOAD
OVERLOAD
H = Command letter
S = Sign of value, space (or +) for positive, - for negative value D = Digit from 0 to 9 * = Decimal point placement and must always be included A = Alarm and overload character code, A to H
<CR> = Carriage return character
The following table lists the Alarm and Overload characters.
Neither Alarm on Alarm 1 only on Alarm 2 only on Alarms 1 & 2 on
A B C
D
E
F G H
If the DPM is in the Continuous mode, it must be put into the Command mode by sending *#A1 prior to sending the remote display value.
The Remote Display value remains on the display until one of the following occurrences:
a. The command *#C4 is sent removing the Remote Display value and returning to the normal readings without resetting the DPM. b. The command *#C0 is sent causing a Cold Reset of the DPM. c. The command *#C1 is sent causing a Warm Reset of the DPM. d. Front panel pushbuttons RESET and MENU are simultaneously pushed to cause a Cold
Reset of the DPM.
Notes: After the Remote Display value is entered, the DPM can be put back in the Continuous mode with the command *#A0 without disturbing the display’s value. DPM must be in the Command mode for a., b., or c. above. It may be put into the Command mode while displaying a remote display value with the *1A1 command without affecting the display.
If PEAK (manual or external) or ALARM VIEW (manual) is activated while the remote value is being displayed, the peak or alarm value is displayed and cannot be removed except by Remote Display Reset (a., b., or c. above in Command mode) or by manual RESET. If a Remote Display value is sent while in PEAK or ALARM VIEW, it is ignored, but when PEAK or ALARM VIEW is turned off, the Remote Display value comes on.
MODE 2: DPM with Signal Conditioner Card and in Remote Display Mode
SETUP (left digit) = 1 Remote Display mode
The baud rate must be set the same as the source which may be a PC Controller or another DPM. The format is the Slave Format. This is the same as MODE 1 above but without the
- 18 -
Page 19
Command Identifier “*”, the address #, and the Command letter “H”. This is the same format
Normal Readings While Displaying Remote Data
Addressable Commands
Remote Display Only
– No Normal Readings
Addressable Commands
H, K or L commands
that data is transmitted from a DPM in the Continuous mode. The string of characters must be exactly 8 characters plus the CR in length.
SDDDDD.A <CR>
No commands can be received in this mode but the front panel MENU can be accessed. Any transmissions received other than properly formatted data will result in a meaningless display. Alarm setpoints, Peak readings and external control functions are disabled while the Remote Display value is being displayed. When the DPM is Reset, it displays RESET continuously until data is received.
DATA FORMAT
*1HSDDDDD.A S = Sign, either blank (for +) or ­D = Digit from 0 to 9, five digits total. Always include a decimal point even at the end. A = Alarm character as defined in 8.4, Mode 1
7.5 COMMAND MODE FOR REMOTE DISPLAY OPERATION OF COUNTER / TIMER
The Counter has 13 Display Modes (0-12). Modes 0-5 are normal measurement modes. Modes 6-12 are dedicated to Remote Display without making any normal readings. In any of the 13 modes, remote display data may be received via RS-232 or RS-485 and be displayed. The remote data requirements and the Remote Display capabilities vary for the different display modes and selected Input Functions. The mode is selected by Menu item “ConFiG” “Digit 3” from the following list:
0 Normal display, Exponent Overflow
1 Normal display, 999999 Overflow 2 1 right-hand dummy zero 3 2 right-hand dummy zeros 4 Real time clock, multi-format 5 Real time clock, hh.mm,ss
H, K or L H, K or L H, K or L H, K or L H, K or L H, K or L
6 Addressable remote display
7 Single value remote display
8 1st value of value sequence
9 2nd value of value sequence
A 3rd value of value sequence
- 19 -
1 value only 1-4 sequential Values 2-4 sequential Values 3-4 sequential Values
Page 20
B 4th value of value sequence C Programmed to select specific data from
4 sequential Values 1 value only
a data string
The addressable commands of Modes 0-6 can display remote data on one or more Counters having the command address in a multi-point configuration or a single Counter having the command address in a Point-to-point configuration. Modes 7 - 11 (B) do not use addressable commands, but values only. They are primarily designed for Host Counter or Scale meter to Slave Counter or remote display applications but may be used also in Host Computer to Remote Display Counter configurations. Since the Host Counter may be selected to transmit up to four sequential measurement values, Item 1, Item 2, Item 3 and Peak, (Scale meter transmits up to 3 values) each measurement cycle, Modes 8-11 provide the ability of the Remote Display to extract one of four sequential values and display it.
Modes 0-5 are normal counter modes that may be commanded as follows:
1. H Command.
2. K Command.
H Command. Overrides the normal display reading only.
H Command. H Command. K Command. The value is not displayed, but is stored as Item 3 if Item 3 is not being
K Command.K Command. used. It may then become the source, if selected, for the Alarm comparison and the Analog Output. Item 3 is normally only used for the Batch and Arithmetic functions.
3. L Command.
L Command. Both 1 and 2.
L Command.L Command.
In addition, the H, K, L commands may or may not include a coded Alarm character. If included, this character always overrides the internal Alarm comparisons and determines the alarm indicators, the relay operation and the alarm character sent with the serial communi­cations. Readings continue to be made internally during Remote Display operation and may be received by a Host Computer, manipulated, and returned as remote data. When reset by a *1C4 Command, the display returns to its internal readings, the Alarms to its internal comparisons, the Analog Output to zero and the Item 3 value to zero. A signal conditioner board must be present in these modes to return to normal readings. If no signal conditioner board is present, any Mode setting from 0-5 automatically changes to Mode 6.
Modes 6-11 are used for remote display operation only. No normal readings are made. A signal conditioner board is optional, and if present, is ignored. When reset, the display shows “rESEt” until the first remote display data is received.
Mode 6 is an addressable remote display mode that uses the H, K, L commands.
Mode 7 is not addressable, and data representing a value to be displayed is received in a point-
to-point connection. In addition to being displayed, that value is put into Item 3, where it may be selected for Alarm comparisons and/or for Analog Output. If a Coded Alarm character is included, it overrides the internal alarm comparisons.
Modes 8-11 are able to extract one value of data from a sequence of values, and display that particular value only. Using this mode, multiple slave counters connected to a Host Counter
- 20 -
Page 21
could each be displaying a different Item value. Also, the extracted value is put into Item 3 where it may be selected for Alarm comparisons and/or Analog Output. If a Coded Alarm character is included at the end of the sequence, it is ignored. The remote display reading can only be changed by Meter Reset, a *1C4 Remote display reset command, or another remote display H or L command.
Mode 12 - Remote display "C" allows extraction of data from an ASCII string that contains multiple data values or non-numeric characters. It can accommodate selected Start and Stop characters. Any number of characters between the Start character and the data can be masked OFF. Up to 8 display characters (including sign and DP) can be masked ON. Any number of characters between the last displayed character and the Stop character can be masked OFF.
When CONFIG, CXXX is set, the meter is a Masked Remote Display, and the following para­meters determine its operation. These must be set while the meter is set to something other than CONFIG, CXXX, because that is the one setting for which there is no serial communication with the meter. It is suggested to use CONFIG, 6XXX to set the following parameters, and then to use CONFIG, CXXX for operation.
1. START character (set to 00 if none desired).
2. STOP character (set to 00 if none desired). Note: Only one of the above can be set to 00.
3. Number of characters following the START character to be ignored.
4. Number of characters following the ignored characters to be displayed.
DATA FORMATS
The basic two Command formats of the data sent via Serial Communications are:
*#CSDDDDDD.A<CR><LF> where the decimal point is to the right of any one of the D’s (digits). *#CSD.DDDEPA<CR><LF> This is the exponential format. The decimal point is fixed. Alarm comparison and Analog Output are not valid in this format.
* = Recognition character # = Device address from 1-9, A to V, or 0 for common address. C = Command letter H, K, L. S = Sign of value, space (or +) for positive, - for negative value. Sign is optional in
display modes 0-7, required in 8-11.
D = Digit from 0 to 9. Number of digits may be 1-6 in display modes 0-7, but must
be 6 in 8-11. P = Power of 10. 0-9, A-F where A-F represents 10-15 A = Optional Alarm Character as defined in section 2.1 <CR> = Carriage return character <LF> = Optional line feed character (ignored)
- 21 -
Page 22
These basic Command formats are used when the Remote Display Counter is in display modes
Continuous Readings
Start Character
Stop Character
0 - 6. The basic Data formats are the same except *#C is omitted. The basic Data formats are used in display mode 7.
Single or multiple (2-4) Data formats are used in display modes 8-11. Example:
SDDDDDD.SDDDDDD.SDDDDDD.SDDDDDD.A<CR><LF> <LF> optional, “Ser 3” “Digit 5” = 0, termination characters only at end of data string or SDDDDDD.<CR><LF>SDDDDDD.<CR><LF>SDDDDDD.<CR><LF>SDDDDDD.A<CR><LF> “Ser 3” “Digit 5” = 1, termination characters at end of each data item.
7.6 RECOGNITION CHARACTER, AND START AND STOP CHARACTERS
The meter recognizes an asterisk ( * ) as the command recognition character. In the counter, another command recognition character may be chosen to make the meter compatible with an existing system. The meter will still respond to an asterisk. For all meters, in continuous mode, a device ,such as a printer, may require a start and stop bit to recognize the data string being sent. Normally there is no start bit and the stop bit is a carriage return <CR>. When the Counter is in a normal operating mode (not Remote Display), SER 3, XDXXX can be set for the following combinations:
D Command Recognition Character
0 1 2 3
*
Selected
*
Selected
.
None
None Selected Selected
CR
CR Selected Selected
- 22 -
Page 23
8. APPENDIX A: DPM MEMORY ADDRESSES AND DATA DEFINITIONS
Hex Address
Item Name
Bit Assignment
8.1 DPM 1-BYTE RAM MEMORY DATA (L) = Lower memory, (U) = Upper memory
DE (L) Configuration Bit 7 6 5 4 3 2 1 0
0 Linear data 1 Custom curve (Extended DPM) 0 Spare 0 No Auto-Tare 1 Auto-Tare 0 0 Peak button displays Peak 0 1 Peak button displays Valley 1 0 Peak b. displays Peak then Valley 1 1 Peak button tares the meter 0 0 0 Not rate 0 0 1 Rate x 0.1 0 1 0 Rate x 1 0 1 1 Rate x 10 1 0 0 Rate x 100 1 0 1 Rate x 1000 1 1 0 Rate x 10,000
BF (L) Analog Setup Bit 7 6 5 4 3 2 1 0
0 Analog output unfiltered 1 Analog output filtered 0 0 0-20 mA current output 0 1 0-10V voltage output 1 0 4-20 mA current output
69 (L) Serial Cnfg3 Bit 7 6 5 4 3 2 1 0
0 0 0 Send Reading 0 0 1 Send Peak 0 1 0 Send Valley 0 1 1 Send Reading + Peak 1 0 0 Send Reading + Peak + Valley 0 <CR> or <CR><LF> at end of all Items 1 <CR> or <CR><LF> at end of each Item (if no Alarm character) 0 Non-latching RTS 1 Latching RTS
- 23 -
Page 24
0 Normal continuous TX 1 Special Start & Stop characters 0 Full duplex 1 Half duplex
35 (L) Decimal Point 01 Byte values in hex XXXXX.
02 (2 hex characters/byte) XXXX.X 03 XXX.XX 04 XX.XXX 05 X.XXXX 06 .XXXXX
34 (L) Lockout2
0 = unlocked 1 = locked
Bit 7 6 5 4 3 2 1 0 Menu item & front panel lockout 1 Serial configuration 1 Analog output scaling 1 Alarm setpoint programming 1 Alarm setup 1 Front panel DPM reset 1 Front panel Peak & Alarm reset 1 View alarm setpoints 1 View Peak value & Tare function
33 (L) Lockout1
0 = unlocked 1 = locked
Bit 7 6 5 4 3 2 1 0 Menu item & front panel lockout 1 Offset, Lo & Hi readings 1 Scale, Lo In, Hi In 1 Filter Setup 1 Setup, Config & Decimal Point 1 InPut Menu Item
32 (L) Serial Cnfg2 Bit 7 6 5 4 3 2 1 0
X X X X X Binary Custom ASCII addr. 0-31 0 Continuous mode 1 Command mode 0 Alarm data not included with rdg. 1 Alarm data included with rdg. 0 No <LF> following <CR>) 1 <LF> following <CR>
- 24 -
Page 25
31 (L) Serial Cnfg1 Bit 7 6 5 4 3 2 1 0 Continuous Output Data Rate
60 Hz 50 Hz 0 0 0 0 0.017s 0.02s 0 0 0 1 0.28 0.34 0 0 1 0 0.57 0.68 0 0 1 1 1.1 1.4 0 1 0 0 2.3 2.7 0 1 0 1 4.5 5.4 0 1 1 0 9.1 10.9 0 1 1 1 18.1 21.8 1 0 0 0 36.3 43.5 1 0 0 1 1:13 1:27 1 0 1 0 2:25 2:54 1 0 1 1 4:50 5:48 1 1 0 0 9:40 11:36 1 1 0 1 19:20 23:13 1 1 1 0 38:41 46:25 1 1 1 1 1:17:21 1:32:51 0 0 0 300 baud 0 0 1 600 baud 0 1 0 1200 baud 0 1 1 2400 baud 1 0 0 4800 baud 1 0 1 9600 baud 1 1 0 19200 baud 0 Send unfiltered value 1 Send filtered value
2F (L) Filter Bit 7 6 5 4 3 2 1 0
0 0 0 0 Auto Filter 0 0 0 1 Batch (16 samples) filter Time constant 60 Hz 50 Hz 0 0 1 0 Moving average 0.07 s 0.085 s 0 0 1 1 Moving average 0.14 0.17 0 1 0 0 Moving average 0.28 0.34 0 1 0 1 Moving average 0.57 0.68 0 1 1 0 Moving average 1.13 1.36 0 1 1 1 Moving average 2.27 2.72 1 0 0 0 Moving average 4.53 5.44 1 0 0 1 Moving average 9.06 10.88 1 0 1 0 Unfiltered 0 Low adaptive threshold
- 25 -
Page 26
1 High adaptive threshold 0 Display batch 1 Display filtered signal 0 Take peak of unfiltered signal 1 Take peak of filtered signal 0 Alarm from unfiltered signal 1 Alarm from filtered signal
35 (U) Modbus Addr. 00 to FF Modbus address 0-255
(in Hex format)
09 (U)
Setup Bit 7 6 5 4 3 2 1 0 EXT IN A EXT IN B
0 0 0 Reset Meter Hold 0 0 1 Reset Peak Display * Both ExtinA & * 0 1 0 Meter Hold Peak Display ExtinB = * 0 1 1 Meter Hold Tare Function reset * 1 0 0 Peak Display Tare 1 0 1 Tare Reset 1 1 0 External Decimal Point 1 1 1 1 External Decimal Point 2 1 Coordinates of 2 points for Scale, Offset 0 Scale and Offset direct parameters 0 Normal Format, Ser Com Continuous mode 1 Special Start & Stop characters 0 60 Hz power 1 50 Hz power 0 0 4-1/2 digit display (0.1° for temp.) 0 1 Remote display 1 0 4-1/2 digits count by 10 (0.01° for RTD) 1 1 3-1/2 digit display (1° for temp.)
0D (U) Alarm Confg4 Bit 7 6 5 4 3 2 1 0 Alarm Trigger Delay
60 Hz 50Hz 0 0 0 0.018 s 0.021 s 0 0 1 0.035 0.043 0 1 0 0.07 0.085 0 1 1 0.14 0.17 1 0 0 0.28 0.34 1 0 1 0.56 0.68 1 1 0 1.13 1.36 1 1 1 2.27 2.72 0 0 0 Al3 Band Dev, Al4 Band Dev 0 0 1 Al3 Hysteresis, Al4 Band Dev
- 26 -
Page 27
0 1 0 Al3 Band Dev, Al4 Hysteresis 0 1 1 Al3 Hysteresis, Al4 Hysteresis 1 0 0 No deviation in menus or calc
0C (U) Alarm Confg3 Bit 7 6 5 4 3 2 1 0
0 0 0 0 Al3 Hi active, Al4 Hi active 0 0 0 1 Al3 Lo active, Al4 Hi active 0 0 1 0 Al3 Disabled, Al4 Hi active 0 1 0 0 Al3 Hi active, Al4 Lo active 0 1 0 1 Al3 Lo active, Al4 Lo active 0 1 1 0 Al3 disabled, Al4 Lo active 1 0 0 0 Al3 Hi active, Al4 disabled 1 0 0 1 Al3 Lo active, Al4 disabled 1 0 1 0 Al3 disabled, Al4 disabled 0 0 Al3 non-latch, Al4 non-latch 0 1 Al3 latch, Al4 non-latch 1 0 Al3 non-latch, Al4 latch 1 1 Al3 latch, Al4 latch 0 0 Relay3 On when Al3 active, Relay4 On when Al4 active 0 1 Relay3 Off when Al3 active, Relay4 On when Al4 active 1 0 Relay3 On when Al3 active, Relay4 Off when Al4 active 1 1 Relay3 Off when Al3 active, Relay4 Off when Al4 active
0B (U) Alarm Confg2 Bit 7 6 5 4 3 2 1 0 Alarm Trigger Delay
60 Hz 50Hz 0 0 0 0.018s 0.021s 0 0 1 0.035 0.043 0 1 0 0.07 0.085 0 1 1 0.14 0.17 1 0 0 0.28 0.34 1 0 1 0.56 0.68 1 1 0 1.13 1.36 1 1 1 2.27 2.72 0 0 0 Al1 Band Dev, Al2 Band Dev 0 0 1 Al1 Hysteresis, Al2 Band Dev 0 1 0 Al1 Band Dev, Al2 Hysteresis 0 1 1 Al1 Hysteresis, Al2 Hysteresis 1 0 0 No deviation in menus or calc
0A (U) Alarm Confg1 Bit 7 6 5 4 3 2 1 0
0 0 0 0 Al1 Hi active, Al2 Hi active 0 0 0 1 Al1 Lo active, Al2 Hi active 0 0 1 0 Al1 Disabled, Al2 Hi active
- 27 -
Page 28
0 1 0 0 Al1 Hi active, Al2 Lo active
Positive
Negative
Decimal Point
0 1 0 1 Al1 Lo active, Al2 Lo active 0 1 1 0 Al1 disabled, Al2 Lo active 1 0 0 0 Al1 Hi active, Al2 disabled 1 0 0 1 Al1 Lo active, Al2 disabled 1 0 1 0 Al1 disabled, Al2 disabled 0 0 Al1 & Al2 non-latching 0 1 Al1 latching, Al2 non-latching 1 0 Al1 non-latching, Al2 latching 1 1 Al1 & Al2 latching 0 0 Relay1 On when Al1 active, Relay2 On when Al2 active 0 1 Relay1 Off when Al1 active, Relay2 On when Al2 active 1 0 Relay1 On when Al1 active, Relay2 Off when Al2 active 1 1 Relay1 Off when Al1 active, Relay2 Off when Al2 active
00 (U) Serial Cnfg4
(NG to review carefully)
Bit 7 6 5 4 3 2 1 0 Serial Protocol
0 0 No Parity
0 1 Odd Parity 0 0 Custom ASCII protocol (8 bits) 0 1 Modbus RTU protocol (8 bits) 1 0 Modbus ASCII protocol (7 bits) 0 0 1 s Modbus ASCII gap timeout 0 1 3 s Modbus ASCII gap timeout 1 0 5 s Modbus ASCII gap timeout 1 1 10 s Modbus ASCII gap timeout
8.2 DPM 3-BYTE RAM MEMORY DATA
Format for all items except Scale Factor: MS byte Mid byte LS byte
XX XX XX
Format for Scale Factor: *X XX XX The 4-bit MS nibble “*” sets the polarity and decimal point according to the following table:
1 2 3 4 5 6
Note: Hex values are 2's complement and absolute values.
9 A B C D E
- 28 -
XXXXX....
XXXX....X
XXX....XX
XX....XXX
X....XXXX
....XXXXX
Page 29
8.3 DPM HEX ADDRESSES
MS Mid
LS
Description
Address
MS LS
A1 (L)
9E (L) 1B (U) 18 (U) 9B (L)
98 (L)
8F (L) 8C (L) 15 (U) 12 (U)
89 (L)
86 (L)
A0 9D 1A 17 9A 97 8E 8B 14 11 88 85
9F 9C 19 16 99 96 8D 8A 13 10 87 84
8.4 DPM NONVOLATILE MEMORY ADDRESSES (2 bytes/address)
75 74 73 72 71 70
6F 6E 18 17 16 15 14 13 12 11 10
0F 0E 0D 0C 0B
Setup1 Deviation4 3 Deviation4 1 Deviation3 2 Setpoint4 3 Setpoint4 1 Setpoint3 2 Alarm Cnfg4 Deviation2 3 Deviation2 1 Deviation1 2 Configuration Analog Setup Lockout2 Serial Cnfg2 Options Setup Alarm Cnfg2 Analog High 3 Analog High 1 Analog Low 2 High Reading 3
Serial Confg3 Deviation4 2 Deviation3 3 Deviation3 1 Setpoint4 2 Setpoint3 3 Setpoint3 1 Alarm Confg3 Deviation2 2 Deviation1 3 Deviation1 1 Sig Cond Type (do not change) System Decimal Point Lockout 1 Serial Cnfg 1 Filter Input Type Alarm Cnfg 1 Analog High 2 Analog Low 3 Analog Low 1 High Reading 2
Analog high value Analog low value Deviation, Alarm4 Deviation, Alarm3 Deviation, Alarm2 Deviation, Alarm1 Offset value Scale factor Setpoint4 Setpoint3 Setpoint2 Setpoint1
- 29 -
Page 30
0A
Hex Address
Item Name
Bit Assignment
09 08 07 06 05 04 03 02 01 00
High Reading 1 High Input 2 Low Reading 3 Low Reading 1 Low Input 2 Offset 3 Offset 1 Scale Factor 2 Setpoint2 3 Setpoint2 1 Setpoint1 2
High Input 3 High Input 1 Low Reading 2 Low Input 3 Low Input 1 Offset 2 Scale Factor 3 Scale Factor 1 Setpoint2 2 Setpoint1 3 Setpoint1 1
9. APPENDIX B: COUNTER / TIMER MEMORY ADDRESSES AND DATA DEFINITIONS
9.1 COUNTER / TIMER 1-BYTE RAM MEMORY DATA (L) = Lower memory, (U) = Upper memory
43 Resolution Bit 7 6 5 4 3 2 1 0 Multiplier
0 0.00001
1 0.0001
1 0 0.001 1 1 0.01 1 0 0 0.1 1 0 1 1 1 1 0 10 1 1 1 100 1 0 0 0 1000 1 0 0 1 10000 1 0 1 0 100000
42 Recog. Char. ASCII value of custom recognition character
41 Slope Bit 7 6 5 4 3 2 1 0
0 Positive slope Channel B 1 Negative slope Channel B 0 Positive slope Channel A 1 Negative slope Channel A
- 30 -
Page 31
3E Scale
Multiplier
Bits 3-0 = 0-A SCALE1 multiplier Bits 7-4 = 0-A SCALE2 multiplier 0-A: Same multiplier as for Resolution
3D Analog Setup Bit 7 6 5 4 3 2 1 0 Analog Output Source
0 0 Filtered Item 0 1 Item 1 1 0 Item 2 1 1 Item 3 0 Current output 1 Analog voltage output
3C Source Bit 7 6 5 4 3 2 1 0
Compare Setpoint 2 to: 0 0 Filtered Item 0 1 Item 1 1 0 Item 2 1 1 Item 3 Compare Setpoint 1 to: 0 0 Filtered Item 0 1 Item 1 1 0 Item 2 1 1 Item 3
36 Lockout2
0 = unlocked 1 = locked
35 Lockout1
0 = unlocked 1 = locked
Bit 7 6 5 4 3 2 1 0 1 Change Item # 1 CALib 1 Ser 1, Ser 2, Ser 3 1 An Lo, An Hi, An SEt 1 Front Panel meter reset 1 Front Panel Peak, Latched resets 1 View alarm setpoints 1 View Peak locked
Bit 7 6 5 4 3 2 1 0 1 FiLtEr 1 Gate t, time out, batch, pulses 1 SEtuP, ConFiG 1 InPut 1 Change Setpoints 1 SourcE,AL SEt,dEVn1b,1H,2b,2H 1 SCALE, OFFSEt, Coords, rESoLn 1 SLOPE, dECPt
- 31 -
Page 32
34 Configuration Bit 7 6 5 4 3 2 1 0
0 Sample time total zero cutoff 1 Sample time total allow negative 0 Linear input 1 Square Root of input 0 0 Basic Counter 0 1 Ext. Counter 1 0 Ext. Counter, Custom curve #1 1 1 Ext. Counter, Custom curve #2 Display mode: 0 0 0 0 Normal, Exponential Overload 0 0 0 1 Normal, 999999 Flashing Overload 0 0 1 0 1 Right-Hand dummy zero 0 0 1 1 2 Right-Hand dummy zeros 0 1 0 0 Clock Time, Stopwatch, Multi-format 0 1 0 1 Clock Time, Stopwatch, hh.mm.ss 0 1 1 0 Remote Display, Addressable 0 1 1 1 Remote Display, Single Value 1 0 0 0 Slave Display, 1st data value of string 1 0 0 1 Slave Display, 2nd data value of string 1 0 1 0 Slave Display, 3rd data value of string 1 0 1 1 Slave Display, 4th data value of string 1 1 0 0 Masked display
33 Serial Cnfg3 Bit 7 6 5 4 3 2 1 0 Transmit:
0 0 0 All active items 0 0 1 Item #1 only 0 1 0 Item #2 only 0 1 1 Item #3 only 1 0 0 Peak value only 1 0 1 All active items + Peak 0 Term chars end of all items 1 Term chars end of each item 0 Non-Latching RTS 1 Latching RTS 0 “*” recog character 1 Custom recognition character 0 Full Duplex 1 Half Duplex
32 Serial Cnfg2 Bit 7 6 5 4 3 2 1 0
X X X X X Counter address 0-31 (5 bits) 1 Command Mode (0 = Continuous)
- 32 -
Page 33
1 Alarm data included with reading (0 = excluded) 1 LF following CR (0=no LF)
31 Serial Cnfg1 Bit 7 6 5 4 3 2 1 0 Continuous output data rate:
0 0 0 0 Reading rate 0 0 0 1 Reading rate / 2 0 0 1 0 Reading rate / 4 0 0 1 1 Reading rate / 8 0 1 0 0 Reading rate / 16 0 1 0 1 Reading rate / 32 0 1 1 0 Reading rate / 64 0 1 1 1 Reading rate / 128 1 0 0 0 Reading rate / 256 Baud rate: 0 0 0 300 baud 0 0 1 600 baud 0 1 0 1200 baud 0 1 1 2400 baud 1 0 0 4800 baud 1 0 1 9600 baud 1 1 0 19200 baud 0 Send unfiltered value 1 Send filtered value
30 Options Do not use. This byte is determined by installed option boards.
2F Filter Bit 7 6 5 4 3 2 1 0 Approximate time constant:
0 0 0 No filtering 0 0 1 0.1 sec 0 1 0 0.2 sec 0 1 1 0.4 sec 1 0 0 0.8 sec 1 0 1 1.6 sec 1 1 0 3.2 sec 1 1 1 6.4 sec 0 Low adaptive threshold 1 High adaptive threshold 0 Display unfiltered input 1 Display filtered input 0 Peak value of unfiltered input 1 Peak value of filtered input 0 Adaptive filter 1 Conventional filter
- 33 -
Page 34
2E Setup Bit 7 6 5 4 3 2 1 0 EXT IN A EXT IN B
0 0 0 0 Meter Reset Function Reset 0 0 1 0 Meter Reset Peak Display 0 0 1 1 Meter Reset External Gate 0 1 0 0 Function Reset Hold 0 1 0 1 Function Reset Peak Display 0 1 1 0 Function Reset External Gate 0 1 1 1 Hold Peak Display 1 0 0 0 Hold External Gate 1 0 0 1 Peak Display External Gate 1 0 1 0 Meter Reset Display Blank 1 0 1 1 Function Reset Display Blank 1 1 0 0 Hold Display Blank 1 1 0 1 Peak Display Display Blank 1 1 1 0 Display Blank External Gate 1 1 1 1 Display item#2 Display item#3 0 Scale2, Offset2 entered directly 1 Scale2, Offset2 using Coordinates of 2 points 0 Scale1, Offset1 entered directly 1 Scale1, Offset1 using Coordinates of 2 points 0 Blank leading zeros 1 Display leading zeros (0 = Blank leading zeros) 0 Zero the total at power on 1 Restore total at power-on
2B Input Type Dual Channel Signal Conditioner
Rate Period Total Time Interval
00 A,B 01 A only 02 Batch 03 A, Atot 05 A, Btot
10 A,B 11 A only 1B A+B 1C A-B
1D AxB 0B A+B 0C A-B 0D AxB 0E A/B 0F A/B-1
VF Converter
4-20 mA 0-1 mA 0-10V
- 34 -
20 A,B 21 A only 24 A-B updwn 26 Burst 27 B, Arate 29 A,Bup/dwn 2A A, Binhibit 2B A+B 2C A-B 2D AxB 2E A/B
41 A to B
Stopwatch
50 A to A 51 A to B
Phase
61 A to B
Page 35
81 A only 82 Batch 83 A, Atotal 88 Atot, A 8F 1/A
91 A only 92 Batch 93 A, Atotal 98 Atot, A 9F 1/A
A1 A only A2 Batch A3 A, Atotal A8 Atot, A AF 1/A
Quadrature
C0 Total
2C Alarm Cnfg2 Bit 7 6 5 4 3 2 1 0 #Consecutive readings to Alarm
0 0 0 1 0 0 1 2 0 1 0 4 0 1 1 8 1 0 0 16 1 0 1 32 1 1 0 64 1 1 1 128 0 Alarm1 Band Deviation 1 Alarm1 Hysteresis 0 Alarm2 Band Deviation 1 Alarm2 Hysteresis
2B Alarm Cnfg1 Bit 7 6 5 4 3 2 1 0
0 0 0 0 Al1 Hi Active, Al2 Hi Active 0 0 0 1 Al1 Lo Active, Al2 Hi Active 0 0 1 0 Al1 Disabled, Al2 Hi Active 0 1 0 0 Al1 Hi Active, Al2 Lo Active 0 1 0 1 Al1 Lo Active, Al2 Lo Active 0 1 1 0 Al1 Disabled, Al2 Lo Active 1 0 0 0 Al1 Hi Active, Al2 Disabled 1 0 0 1 Al1 Lo Active, Al2 Disabled 1 0 1 0 Al1 Disabled, Al2 Disabled 0 0 Al1 Non-Latch, Al2 Non-Latch 0 1 Al1 Latch, Al2 Non-Latch 1 0 Al1 Non-Latch, Al2 Latch 1 1 Al1 Latch, Al2 Latch 0 0 Relay1 On when Al1 active, Relay2 On when Al2 active 0 1 Relay1 Off when Al1 active, Relay2 On when Al2 active 1 0 Relay1 On when Al1 active, Relay2 Off when Al2 active 1 1 Relay1 Off when Al1 active, Relay2 Off when Al2 active
- 35 -
Page 36
9.2 COUNTER / TIMER 2-BYTE RAM DATA TABLE
Hex MS
Hex LS
Name
Hex Range
Dec Range
Hex MS
Hex Mid
Hex LS
Name
Hex MS
Hex Mid
Hex LS
Name
Hex Address
MS Byte
LS Byte
Stored As
40
3A
38
3F 39 37
Pulses Timeout Gatetime
0000 – EA5F 0000 – 4E1F 0000 – 4E1F
0 – 59999 Positive magnitude (Units = 1) 0 – 19999 Positive magnitude (Units = 0.01 sec) 0 – 19999 Positive magnitude (Units = 0.01 sec)
9.3 COUNTER / TIMER 3-BYTE RAM DATA TABLE
Values stored as 3-byte 2’s complement
B0 AA 9E
AD
A4 9B
AF
A9 9D AC A3 9A
AE A8 9C
AB
A2 99
Deviation2 (values always+) (Hysteresis2) Offset2 Setpoint2 Deviation1 (values always+) (Hysteresis1) Offset 1 Setpoint1
Values stored as sign (MS bit) + magnitude (all other bits), fixed DP = 6
A7 A1
A6 A0
A5
9F
Scale2 Scale1
9.4 COUNTER / TIMER NON-VOLATILE MEMORY ADDRESSES (2 bytes / address)
Sign + Magnitude
XXXX XXXX XXXX XXXX XXXX XXXX XXXX S Magnitude
XXXX XXXX XXXX XXXX XXXX XXXX XXXX
Sign + DP + Magnitude
S DP Magnitude
S = Sign Sign = 1 for negative DP = 1 for DDDDDD. DP = 6 for D.DDDDD
74 73 72 71 70
Deviation4 Byte 3 Deviation4 Byte 1 Deviation3 Byte 2 Setpoint4 Byte 3 Setpoint4 Byte 1
Deviaion4 Byte 2 Deviation3 Byte 3 Deviation3 Byte 1 Setpoint4 Byte 2 Setpoint3 Byte 3
Magnitude Magnitude Magnitude 2’s Complement 2’s Complement
- 36 -
Page 37
6F
Analog High Byte 3
6E 6D 6C 6B 6A
32
31
30
2F
2E 2D 2C 2A
29
28
27
26
25
24
23
22
21
20
1F
1E 1D 1C 1B 1A
19
18
17
16
15
14
13
12
11
10
0F
0E
Setpoint3 Byte 2 Alarm Confg4 Version T Stop R Show R Stop Serial Confg4 Total A Byte 6 Total A Byte 4 Total A Byte 2 Total B Byte 6 Total B Byte 4 Total B Byte 2 Spare Cutoff Byte 2 Recog Character Do not use Display Item Pulses Byte 2 Scale Multiplier Source Timeout Byte 2 Gate Time Byte 2 Lockout Byte 2 Config Serial Config Byte 2 Options Setup Alarm Config Byte 2
Analog High Byte 1 Analog Low Byte 2 Deviation2 Byte 3 Deviation2 Byte 1 Deviation1 Byte 2 Offset2 Byte 3 Offset2 Byte 1 Scale2 Byte 2 Offset1 Byte 3 Offset1 Byte 1 Scale1 Byte 2 Setpoint2 Byte 3
Setpoint3 Byte 1 Alarm Confg3 M Type T Start R Skip R Start Modbus Address Total A Byte 5 Total A Byte 3 Total A Byte 1 Total B Byte 5 Total B Byte 3 Total B Byte 1 Analog Type Cutoff Byte 1 System Decimal Point Resolution Slope Pulses Byte 1 Analog Output Setup Batch Timeout Byte 1 Gate Time Byte 1 Lockout Byte 1 Serial Config Byte 3 Serial Config Byte 1 Filter Input Type Alarm Config Byte 2 Analog High Byte 2 Analog Low Byte 3 Analog Low Byte 1 Deviation2 Byte 2 Deviation1 Byte 3 Deviation1 Byte 1 Offset2 Byte 2 Scale2 Byte 3 Scale2 Byte 1 Offset1 Byte 2 Scale1 Byte 3 Scale1 Byte 1 Setpoint2 Byte 2
2’s Complement Bits Magnitude Bytes Magnitude Bytes Magnitude Magnitude Magnitude Magnitude Magnitude Magnitude Magnitude Bits Magnitude Bits Bits Bits Magnitude Bits Bits Magnitude Magnitude Bits Bits Bits Bits Bits Bits 2’s Complement 2’s Complement 2’s Complement 2’s Complement 2’s Complement 2’s Complement 2’s Complement 2’s Complement 2’s Complement 2’s Complement 2’s Complement 2’s Complement 2’s Complement
- 37 -
Page 38
0D
High Reading1 Byte 3
Low Reading1 Byte 2
0C 0B 0A
09
08
07
06
05
04
03
02
01
00
Setpoint2 Byte 1 Setpoint1 Byte 2 High Reading2 Byte 3 High Reading2 Byte 1 High Input2 Byte 2 Low Reading2 Byte 3 Low Reading2 Byte 1 Low Input2 Byte 2
High Reading1 Byte 1 High Input1 Byte 2 Low Reading1 Byte 3 Low Reading1 Byte 1 Low Input1 2
Setpoint1 Byte 3 Setpoint1 Byte 1 High Reading2 2 High Input2 Byte 3 High Input2 Byte 1 Low Reading2 Byte 2 Low Input2 Byte 3 Low Input2 Byte 1 High Reading1 Byte 2 High Input1 3 High Input1 1
Low Input1 3 Low Input1 1
2’s Complement 2’s Complement 2’s Complement 2’s Complement 2’s Complement 2’s Complement 2’s Complement 2’s Complement 2’s Complement 2’s Complement 2’s Complement 2’s Complement 2’s Complement 2’s Complement
- 38 -
Page 39
Copyright 2001-2015 FUTEK Advanced Sensor Technology Rev 27 October 2015
- 40 -
Loading...