Professional Documents
Culture Documents
-1-
The following diagram shows the system configurations possible with the Data
Logger 8040.
INPUT
MODULE
16 Ch. Analog
Input Module
16 Ch. Digital
Input Module
16 Ch. Isolated
Analog Input
Module
RS-232
OR
RS-485
CONN
OUTPUT
MODULE
16 Ch. Open
Collector Output
Module
8 Ch. Relay
Output Module
4 Ch. Analog
Output Module
9 PIN D - TYPE
RJ45 CONNECTOR
RS 422 CONN.
Figure 1.2.1:- System Configuration Setup for Data Logger 8040 (Full 19)
-2-
The following diagram shows the system configurations possible with the Data
Logger 8040.
INPUT
MODULE
16 Ch. Analog
Input Module
16 Ch. Digital
Input Module
16 Ch. Isolated
Analog Input
Module
RS-232
OR
RS-485
CONN
OUTPUT
MODULE
16 Ch. Open
Collector Output
Module
8 Ch. Relay
Output Module
4 Ch. Analog
Output Module
9 PIN D - TYPE
RJ45 CONNECTOR
RS 422 CONN.
Figure 1.2.2:- System Configuration Setup for Data Logger 8040 (Half 19)
-3-
You should always make safety your first priority in any system application.
Chapter 2 provides several guidelines that will help provide a safer, more
reliable system.
The main controller is the heart of Data - Logger 8040 system. Make sure you
take time to understand the various features and setup requirements.
It is important to understand how your I/O modules can be configured.
Before you begin to link your applications in your host computer with the
Data - Logger 8040 systems, it is very helpful to understand how the
Windows utility software helps you configure your Data - Logger 8040.
The Data - Logger 8040 system allows you to develop your applications in
DOS or Windows. It provides an RTU command set with standard Modbus
protocol.
-4-
Environment Specification
The following table lists the environmental specifications that generally apply
to the Data Logger 8040 system (Main Controller and I/O modules).
Specification
Storage Temperature
Ambient
Operating
Temperature
Ambient Humidity
Atmosphere
Rating
0 to 55C
0 to 55C
5 to 90% Non-Condensing
Non corrosive gases
Power Requirement
Although the Data Logger 8040 systems are designed for standard
industrial 230 V AC, 50Hz5% power supply, they accept any power unit
that supplies within the range of 90 to 260 VAC.
Figure 2.2.1:- Panel Mounting Details for Data Logger 8040 (Half 19)
-5-
Figure 2.2.2:- Panel Mounting Details for Data Logger 8040 (Full 19)
-6-
-7-
-8-
Figure 2.3.4:- Rear view and Side view of Operator terminal Unit.
-9-
This section provides basic information on wiring the power supply and I/O
units, and on connecting the network.
- 10 -
- 11 -
- 12 -
- 13 -
- 14 -
- 15 -
- 16 -
- 17 -
The Data Logger 8040 series is a data acquisition and control system,
which can control, monitor and acquire data through multichannel I/O
modules. Encased in rugged industrial housing, the system provides
intelligent signal conditioning, analog I/O, digital I/O, RS-232 and RS485 communication. The system communicates with the controlling host
over a multi-drop RS-485 network.
The Data Logger 8040 system consists of two major parts: the system
architecture and I/O modules. The system kernel includes a SMPS Card,
CPU card with a built-in RS-232/RS-485 communication port RS-422
port and a Centronics Printer Port and 3 I/O Slot backplane/ 10 I/O
Slot backplane. It also offers the following major features:
Data acquisition and control for all I/O modules in the system
Communication software and command set
Alarm monitoring
Management of the EEPROM device that holds the system parameters
Data transformation
Diagnosis
Data-logging
Printing
- 18 -
- 19 -
Processor
CPU
Communication
RS 485/RS 232
Optional RS 232
RS 422
Wiring
Speed
Max.
Communication
Distance
Network Expansion
1
1
1
RS 485, Twisted Cable
RS 232, Straight Cable
RS 422, Twisted Cable
4800 to 19200 bps
2000ft. for RS 485
60ft. for RS 232
- 20 -
- 21 -
Analog input modules use an A/D converter to convert sensor voltage, current,
thermocouple or RTD signals into digital data. The digital data is then translated
into engineering units.
Thermocouple Inputs
Types
CJC Error
Resolution
Accuracy
Temperature range
Input Impedance
Lead resistance effect
Cold junction compensation
Open thermocouple indication
: J, K, T, E, B, S, R
: 2C maximum 0 to 55C
: 1C
: (0.1%of Full Scale + 1 digit) without CJC Error
: See table by type
: > 2M
: Less than 55 micro volts/100
: 0 to +55C
: Open displayed
RTD Inputs
Types
Resolution
Accuracy
Temperature range
3 Wire compensation
Open RTD indication
: PT100
: 0.1C
: (0.1%of Full Scale + 1 digit)
: -200 TO 850
: Using Hardware Technique
: Open displayed
- 22 -
Operating Range :
I/P No.
0
1
2
3
4
5
6
7
8
9
10
11
12
13
Type
E
J
K
T
B
R
S
N
Ni- 120
RTD
0 to 20 mA
4 to 20 mA
0 to 5V
1 to 5V
Range
-200C to +1000C
-200C to +760C
-200C to +1350C
-200C to +400C
+450C to 1750C
0C to +1750C
0C to +1750C
230C to +1270C
-700C to +2790C
-200C TO 850C
-19000 to +19000
-19000 to +19000
-19000 to +19000
-19000 to +19000
Resolution
1C
1C
1C
1C
1C
1C
1C
1C
1C
0.1C
1 COUNT
1 COUNT
1 COUNT
1 COUNT
Table: 4.2.1
- 23 -
CALIBRATION METHOD :
The data of the channel being observed will be updated after every unskipped
channel is scanned. So, to see the effect of reading change instantly, first of
all select the channel you want to calibrate and skip rest of the channels of
Data Logger.
Now Press
key of the operator terminal & then go in to Calibration Mode
as mentioned earlier. Now user can set the particular channel, which he wants
to calibrate. Only unskipped channels are allowed for calibration so user has
to unskip the channel, which he wants to calibrate for particular Input Type.
If, by mistake user selects the skipped channel, LCD shows the error message
Calibration Not Allowed. Select the channel, which one wants to calibrate.
Now if Input Type of selected channel is T/C type, one can do the
calibration in any type of T/C input but for better accuracy it is advisable to
calibrate in E type of thermocouple. Now pressing
and
key user can
select the calibration parameter like AMB. Calibration, ZERO calibration,
SPAN calibration. Now select the particular calibration parameter & feed
with in the range preferably near min value of range for ZERO & near max.
value of range for SPAN( Please check the range of particular input type
before doing the calibration) through reliable calibrated source. For ambient
calibration user need to check the ambient temperature of the room where
Data Logger is kept. While calibrating to match given input use numerical
keypad or
& thekeys. First calibrate ZERO and then SPAN and repeat
- 24 -
the above procedure until zero value & span value both does not show any
error in reading.
Now if input type is PT-100 then only zero scale & span scale of the
input needs to be calibrated. Feed the zero scale value & calibrate by
using numerical keypad or
and
key.
For linear input like 0-20mA, 4-20mA user has to feed 250 - 0.1%
resistance to convert it into voltage source. One needs to check zero scale
& span scale value for calibration of input type. Value less than zero scale
& more than span scale is not acceptable for any type of input. If the user
feeds a value, which is not in the range, LCD of the Operator Terminal
will display Not Acceptable. So it will not allow to calibrate the
channel. The Data Logger will not allow to do the calibration, if there is
no input feed to the channel, which is selected for calibration. The LCD
will show the message Calibration not Allowed. User must feed the
particular value of zero scale & span scale while doing the calibration.
Calibration mode is also password protected so unauthorized person is not
allow to do the calibration. Password for calibration mode is same as
password for program mode/ configuration mode.
- 25 -
There are two modes of operation for the data logger viz. RUN mode,
PROGRAM MENU mode. The selection of Program Menu mode
is by
key in Operator terminal. Password is provided to avoid unauthorized
changing of programmed /configuration data. Factory settable password
is 22.
Any modification of data can be done only in program mode & configuration
mode. The data could be scan rate, date, time, print rate, control set points, alarm
limits and skip/unskip status of a channel etc
The user can not modify any data in run mode but can verify the data. The run
has two sub modes viz. Auto mode and Manual mode. Normally data logger
is kept in auto mode, where all unskipped channels data is displayed
sequentially at the programmed scan rate. In case user wants to continuously
monitor data of a single channel, it is possible in manual mode. Although
the selected channel is only displayed, internal scanning of other channels is
continued as usual.
The operation of the Operator terminal along with Data Logger can be
summarized in the flow chart given on the next page. The Keyboard of the
Operator Terminal is as shown below.
masibus
POWER
RXD
TXD
AL1
AL2
AL3
AL4
FAULT
MAN
RUN
PRG
CAL
VFY
AUTO
MAN
SKIP
I/P
TYPE
PRN
DATA
LOGGING
- 26 -
1) Numeric Keys
The Numeric Keys are used for entering values of Process Variable, Alarm Values
etc.
2) Arrow Keys
The Arrow Keys are used for navigating into the different menus and their submenus. The Arrow Keys are also used for increment and decrement operations as
well as for Shift Left and Shift Right operations.
3) Program Keys
The Program Keys consist of mainly three keys, The Run/Program Mode Key, The
Escape Key and The Enter Key.
The Run/Program Key is used to switch between the Run Mode and the Program
Mode.
The Escape Key is used to come out of any Menu or its Sub-menu.
The Enter Key is used to acknowledge the data entered for Process Value, Alarm
Value, and Password etc.
4) Function Keys
There are five Function Keys present on the data-logger Operator Terminal to
enable the user to directly perform the defined functions. The five Function Keys are
The Auto/Man Key, The Skip Key, The Input Key, The Print Key and The Head
PRN Key.
The Auto/Man Key is used to switch between Manual Mode and Auto Mode of
the instrument
The Skip Key is used to Skip a particular channel directly.
The Input Key is used to configure the input type for a particular channel.
- 27 -
The Print Key is used to print the complete information of the selected channels.
The Head PRN Key is used to log the data of the channel selected.
: 24Vdc
: 10W or less
: 2 terminal Strip
: 0 to 55C
: 0 to 90%
MODULE SPECIFICATIONS
Display: 16 x 2 Large Character LCD Display
An LCD screen with Back-Light
Keypad: 24 Keys with Membrane Keypad
9 12 Numeric Keys :- Used for inputting Numerical Value
9 4 Arrow
Keys :- Used to select the required numerical value
input field when there is more than one on
the screen
9 3 Menu
Keys :- Used to Select/Entering/Escaping Menu
items.
9 5 Function Keys:- Used for various functional operation
Mode & Alarm LED : Power ON LED to indicate unit is in ON condition.
4 Alarm LEDs for alarm indication & 1 Fault LED for Fault indication in the
system.
5 Mode LEDs used while programming/ calibrating/verifying various parameters.
- 28 -
Communication Interface
Baud Rate
Connector
Protocol
- 29 -
Data - Logger
Run Mode
Program Menu
Manual Mode
Program Mode
Auto Mode
Configuration
Mode
Calibration
Mode
Vfy. Program
Mode
Status Mode
Set Alm - 1
Input Type
Select
Channel
Set Alm - 1
Input Type
Card
Information
Set Alm - 2
Zero Scale
Zero
Set Alm - 2
Zero Scale
Computer
Status
Set Alm - 3
Span Scale
Span
Set Alm - 3
Span Scale
Printer
Status
Set Alm - 4
DP
Position
Set Alm - 4
DP
Position
Memory
Status
Skip/Unskip
Triggering
Skip/Unskip
Set Point
Type
Version No.
Print Data
Log
Parameter
Print Data
Log
Parameter
Data-Logging
Ch
Sr. No.
Unit Data
Baud Rate
Unit Data
Baud Rate
Print Time
Password
Print Time
Password
Scan Time
Hysterisis
Scan Time
Hysterisis
Data-Logging
Ch
Sr. No.
RS 232
Logging Time
Logging Time
RS
232/
RS 485485
SEL
RS
232/RS
RS 485
Relay Conf.
Today's
Time
Today's
Date
Relay Conf.
Today's
Date
Print on alarm
Today's
Time
Print on alarm
- 30 -
Relay Conf.
Al
High
Yes
Unit
Log Parameter
No
Data -Logging
Channel
VH
Reset
Hold
Overlap
Yes
No
Low
Baud Rate
VL
H-VH
L-VL
H-L
VH-VL
19200
9600
4800
2400
PC
Volt
cm
WC
KPa
cm
mV
mm
Hg
Bar
mSec
Amp
cm
Hg
mBar
Sec
mA
IHg
M3/Hr
Mi
Ohm
mm
H2O
LPM
Hour
Meg
Ohm
IH2O
LPS
Hz
Watt
Kg/
cm2g
LPH
RPM
KW
Kg/
cm2
cc/
min
RPH
MW
Kg/
cm2a
GPM
RPM
Deg C
psi
GPS
PPM
Deg F
psi(a)
mm
uS
mm
WC
psi(g)
meter
Ph
FAULT
- 31 -
In Run Mode the Data Logger can be operated either in Auto Mode or in Manual
Mode.
Auto Mode : The Data Logger is usually kept in Auto Mode of Operation. The values
of all the unskipped channels are displayed sequentially at the set SCAN Time on the
Liquid Crystal Display (LCD) of the Operator Terminal. During this mode of operation,
the RUN led is ON. However, the MANUAL led is in OFF condition. In Auto Mode, the
user can view the CH. PR VAL ALM, Time :- or Date:- parameter on the
second line of the LCD using the or key.
Manual Mode : The mode of operation of the Data Logger can be changed to Manual
Mode by pressing the AUTO
button. On pressing the same, the MAN led will glow.
MAN
One can go out of Manual Mode by pressing the same key again.
AUTO
MAN
As soon as the
key is pressed, the display will stop at the currently displayed
channel. To view the data of any other channel, one can make use of the numeric key
pad provided on the Operator Terminal or can make use of the
or
keys.
AUTO
MAN
1
CH32
15:47
mV
21/07
The cursor on the LCD will be blinking on the displayed channel. Enter the new channel
no using the numeric keypad or using the
or
keys. Suppose the new channel no
entered is 38, then the display will show
1
CH45
15:47
C
21/07
- 32 -
Status Mode
Vfy. Configuration Mode.
Vfy. Program Mode
Calibration Mode
Configuration Mode
Program Mode
1) STATUS MODE
To enter Status Mode, press the
key. The Status Mode had sub menus as shown in the
flow diagram. The sub menu can be entered by pressing the
key. The different
submenus of the Status Mode can be accessed by using the
and
keys. Once a
particular sub menu is selected, press
key. The Status Mode in brief gives
information about the complete Data Acquisition System like card information (type of
card & slot No. for eg Slot No.3 Relay Card), status of computer and printer connected
to the Data Logger and also status of memory and version no. of the software.
- 33 -
4) CALIBRATION MODE :
To enter Calibration Mode, press twice the
key after pressing the
key. The
Calibration Mode has sub menus as shown in the flow diagram. The sub menu can be
entered by pressing the key. The LCD will display
1
Select Channel
The cursor will be on the Channel No. Once the desired channel is entered by pressing
the numeric keypad or the and keys, press the
key. The LCD will display
K
I/P
Amb
Cal.
34.5
Value
The cursor will be on the Amb. The Amb value can be changed using the numeric
keypad or the or
keys. Once the ambient is set, press
key. The LCD will
display ACCEPTABLE. Now using the
key, go to Zero parameter.. The LCD will
display
K
I/P
Zero
Cal.
0
Value
Span
Cal.
1200
Value
- 34 -
5) CONFIGURATION MODE :
To enter Configuration Mode, press
key after pressing the key. The Configuration
Mode has sub menus as shown in the flow diagram. The sub menu can be entered by
pressing the
key. The different sub menus of the Configuration Mode can be
accessed by using the and
keys. Once a particular sub menu is selected, press the
key. This will display the current settings of the selected parameter. The selected
parameter can be modified using the numeric key pad or the
and
keys. Once the
parameters are modified, press
key. The LCD will display ACCEPTABLE.
Press the
key to come out of the selected sub menu. Pressing the same key again, one
comes back to the Configuration Mode Menu.
For example to modify the INPUT TYPE parameter for CH. No. 32, go to the
Configuration Mode Menu. Then press the
key to enter the sub menu. Press the same
key again to enter INPUT TYPE parameter. The LCD will display
32
CH
0 5V
Input Type
The cursor will be on the channel no. The channel no. can be changed using the numeric
key pad or the or keys.
Press the
key to change the parameter. The cursor will now be on the Parameter
value. Change the Parameter value using and keys. The LCD will now display
1
CH
RTD
Input Type
The same procedure can be followed to change different parameters like Zero Scale,
Span Scale and DP Position of the Configuration Mode shown in the flow diagram.
Input Type:
The Input type for each channel is set as per user requirement. For Linear type of
Input, the maximum range that can be set is 19000.
- 35 -
Zero Scale:
This parameter can be set only when Input type is linear. The Zero Scale is set
depending on the Input Type of the particular channel as per user requirement.
Span Scale:
This parameter can be set only when Input type is linear. The Span Scale is set
depending on the Input Type of the particular channel as per user requirement.
DP Position:
This parameter can be set only when Input type is linear. The DP Position can be
set between 0 to 4 for a particular channel depending upon the user requirement.
Triggering:
This parameter can be set as YES/NO as per user requirement. This parameter is
basically used for Data Logging. It should be ensured that when triggering
mode is set to YES, the Centronics printer cable should be removed form the
parallel port of the CPU card.
Log Parameter:
Data Logging can be configured in any one of the three ways as per user
requirement. They are Reset, Hold and Overlap.
Sr. No:
This parameter is used to assign the Sr. No. to the Instrument for Serial
Communication using RS 232/RS 422.
Baud Rate:
The Baud Rate can be set as per user requirement. The Baud Rates that can be set
are 19200, 9600 and 4800.
Password:
Password is set for entering into Program Mode, Configuration Mode and
Calibration Mode. The value of Password can be set between 0 to 65535. Factory
set password is 22. User can also change the password. User can avoid the
password protection by making it zero.
Hysteresis:
The Hysteresis parameter is set for alarm limits. This parameter is can be set
individually for all channels. The Hysteresis value is set between 0.1% to 9.9%
of the complete range.
RS 232/RS 485:
In this one can configure the serial communication to be RS 232 or RS 485
depending on the requirement. Select RS 232 or RS 485 using the up/down (
or
key.
- 36 -
Todays Time:
The current time can be set in the Data Logger by going into the Configuration
Mode. Press
key to go into sub menu. Using the
key go to todays Time.
Press
again to enter the Todays Time Parameter. The LCD will display
13 : 25 : 30
Hour Min Sec
The cursor position will be on Hour parameter. Set the required hour using the
the or thekeys. Then press
key. The LCD will show ACCEPTABLE.
Repeat the same procedure to change the Min and Sec parameter. Once the
Todays Time Parameter is set, press the
Key to come out of the Todays
Time sub menu. Pressing the same key once again will come back to the
Configuration Mode Menu. Press the
key to come back to RUN Mode.
Todays Date:
The current date can be set in the Data Logger by going into the Configuration
Mode. Press
key to go into sub menu. Using
key go to Todays Date.
Press the again to enter the Todays Date Parameter. The LCD will display
14 : 2 : 3
Date Month Year
The cursor position will be on Date parameter. Set the required date using the
the or he keys. Then press
key. The LCD will show ACCEPTABLE.
Repeat the same procedure to change the Month and Year parameter. Once the
Todays Date Parameter is set, press
key to come out of the Todays Date sub
menu. Pressing the same key once again will come back to the Configuration
Mode Menu. Press the key to come back to RUN Mode.
Print on Alarm:
In this one can configure datalogger to print on alarm for the channel selected in
print data section of program mode. Datalogger prints the data on alarm in that
particular channel. Select Yes or No using the up/down (
or
)arrows and
confirm the selection using enter
key.
6) PROGRAM MODE :
The Program Mode has sub menus as shown in the flow diagram. The sub menu can be
entered by pressing the
key. The different sub menus of the Program Mode can be
accessed by using the
and
keys. Once a particular sub menu is selected, press the
the key. This will display the current settings of the selected parameter. The selected
parameter can be modified using the numeric key pad or the
and
keys. Once the
parameters are modified, press
key. The LCD will display ACCEPTABLE.
Press the
key to come out of the selected sub menu. Pressing the same key again, one
comes back to the Program Mode Menu.
- 37 -
For example to modify the SET ALM 2 parameter for CH. No. 32, go to the Program
Mode Menu by pressing the key. Then press the
key to enter the sub menu. Now
press the
key to go to SET ALM 2 parameter. Now press the
key. The LCD will
display
1
CH.
4000
Set Alm 2
The cursor will be on the channel no. The channel no. can be changed using the numeric
key pad or the
or
keys.
32
CH.
5000
Set Alm 2
The same procedure can be followed to change different parameters of the Program
Mode shown in the flow diagram.
Skip/Unskip:
This parameter is used for skipping unwanted channels. If input is not connected
to some channel, that can be skipped so that it wont generate alarms and also not
come in display and printing sequence. A skipped channel can also be unskipped.
Print Data:
If this parameter is set then printer will print the data along with current time and
date if channel is unskip. Printing is done at the set Print Time.
- 38 -
Data Logging:
If this parameter is set then data logging of the particular unskipped channel will
be carried out at the set Logging Time. Do not change this parameter during
logging otherwise memory will be reset and start new data logging as per the
changes made.
Unit Data:
This parameter is used to set the unit for the Process Value of the Input Type
selected for the particular channel.
Print Time:
The Print Time value can be set between 0 to 99 Minutes. Printing of data of all
the unskipped channels will be carried out at the set time interval.
Scan Time:
The Scan Time value can be set between 0 to 99 Seconds. Scanning of all the
unskipped channels will be carried out at the set time interval.
Logging Time:
The Logging Time value can be set between 0 to 99 Minutes. Logging of data of
all the unskipped channels will be carried out at the set time interval.
Relay Configuration:
The Relay configuration is enabled when a relay card is present in the Data
Logger. To enter Relay configuration press
key. The LCD will display
01
RL
45
CH
NO
Sel
High
Conf.
The first term RL on the lower line of the LCD display represents Relay no. The
Relay no can be changed by using the
and
keys. Once the desired Relay
is set, press the
key. The cursor will shift to CH which represents the Channel
no. Any relay can be configured for any channel. The new channel no. can be
entered by using the
and
keys. Once the desired Channel is set, press the
the key. The cursor will shift to Sel. The user can select YES or NO using the the
and
keys. Once the selection is done, press the
key. The LCD will
display ACCEPTABLE. Now press
key to shift to Conf. The user can set
any type of logic (as shown in flowchart) using the
and
keys. Once the
desired logic is set press
key. The LCD will display ACCEPTABLE.
Press
key to come out of Relay Configuration. In Relay configuration the
the key can also be used to switch between RL, CH, Sel and Conf.
Note:
The
key is used to undo the numeric parameters in all the modes of operation of the
Data Logger except the RUN Mode.
- 39 -
- 40 -
- 41 -
- 42 -
Communication Interface
Communication method
Communication Speed
Parity
Communication Protocol
None.
Modbus RTU.
Connectable number of
unit
Communication
detection
CRC check
error
start
- 43 -
Action
01
03
05
06
16
07
17
Report Slave ID
- 44 -
- 45 -
The status of coils 2720 is shown as the byte value CD hex, or binary 1100
1101. Coil 27 is the MSB of this byte, and coil 20 is the LSB. Left to right, the
status of coils 27 through 20 is: ONONOFFOFFONONOFFON. By
convention, bits within a byte are shown with the MSB to the left, and the LSB to
the right. Thus the coils in the first byte are 27 through 20, from left to right.
The next byte has coils 35 through 28, left to right. As the bits are transmitted
serially, they flow from LSB to MSB: 20 . . . 27, 28 . . . 35, and so on. In the last
data byte, the status of coils 5652 is shown as the byte value 1B hex, or binary
0001 1011. Coil 56 is in the fourth bit position from the left, and coil 52 is the
LSB of this byte. The status of coils 56 through 52 is: ONONOFFONON.
Note how the three remaining bits (toward the high order end) are zerofilled.
- 46 -
Query
The query message specifies the coil reference to be forced. Coils are addressed
starting at zero: coil 1 is addressed as 0. The requested ON/OFF state is specified
by a constant in the query data field. A value of FF 00 hex requests the coil to be
ON. A value of 00 00 requests it to be OFF. All other values are illegal and will
not affect the coil. Here is an example of a request to force coil 173 ON in slave
device 17:
- 47 -
- 48 -
Query
The query message specifies the register reference to be preset. Registers are
addressed starting at zero: register 1 is addressed as 0. The requested preset value
is specified in the query data field. M84 and 484 controllers use a 10bit binary
value, with the six high order bits set to zeros. All other controllers use 16bit
values. Here is an example of a request to preset register 40002 to 00 03 hex in
slave device 17:
- 49 -
- 50 -
- 51 -
- 52 -
Except for broadcast messages, when a master device sends a query to a slave
device it expects a normal response. One of four possible events can occur from
the masters query: If the slave device receives the query without a
communication error, and can handle the query normally, it returns a normal
response. If the slave does not receive the query due to a communication error,
no response is returned. The master program will eventually process a timeout
condition for the query. If the slave receives the query, but detects a
communication error (parity, LRC, or CRC), no response is returned. The master
program will eventually process a timeout condition for the query. If the slave
receives the query without a communication error, but cannot handle it (for
example, if the request is to read a non-existent coil or register), the slave will
return an exception response informing the master of the nature of the error. The
exception response message has two fields that differentiate it from a normal
response:
Function Code Field: In a normal response, the slave echoes the function code
of the original query in the function code field of the response. All function codes
have a mostsignificant bit (MSB) of 0 (their values are all below 80
hexadecimal). In an exception response, the slave sets the MSB of the function
code to 1. This makes the function code value in an exception response exactly
80 hexadecimal higher than the value would be for a normal response. With the
function codes MSB set the masters application program can recognize the
exception response and can examine the data field for the exception code.
Data Field: In a normal response, the slave may return data or statistics in the
data field (any information that was requested in the query). In an exception
response, the slave returns an exception code in the data field. This defines the
slave condition that caused the exception.
- 53 -
In this example, the master addresses a query to slave device 10 (0A hex). The
function code (01) is for a Read Coil Status operation. It requests the status of the
coil at address 1245 (04A1 hex). Note that only that one coil is to be read, as
specified by the number of coils field (0001). If the coil address is non-existent
in the slave device, the slave will return the exception response with the
exception code shown (02). This specifies an illegal data address for the slave.
Exception Codes
Code Name Meaning
01) ILLEGAL FUNCTION:
The function code received in the query is not an allowable action for the slave.
If a Poll Program Complete command was issued, this code indicates that no
program function preceded it.
02) ILLEGAL DATA ADDRESS:
The data address received in the query is not an allowable address for the slave.
03) ILLEGAL DATA VALUE:
A value contained in the query data field is not an allowable value for the slave.
04) SLAVE DEVICE FAILURE:
An unrecoverable error occurred while the slave was attempting to perform the
requested action.
05) ACKNOWLEDGE:
The slave has accepted the request and is processing it, but a long duration of
time will be required to do so. This response is returned to prevent a timeout
error from occurring in the master. The master can next issue a Poll Program
Complete message to determine if processing is completed.
06) SLAVE DEVICE BUSY:
The slave is engaged in processing a longduration program command. The
master should retransmit the message later when the slave is free.
07) NEGATIVE ACKNOWLEDGES:
The slave cannot perform the program function received in the query. This code
is returned for an unsuccessful programming request using function code 13 or
14 decimal. The master should request diagnostic or error information from the
slave.
08) MEMORY PARITY ERROR:
The slave attempted to read extended memory, but detected a parity error in the
memory. The master can retry the request, but service may be required on the
slave device.
- 54 -
- 55 -
In linear type input the unit shows false reading or OVER or UNDER.
Check for the polarity of the I/P connections.
Check that the 250 resistor is connected across the I/P terminals, if the I/P
type is 4 20 mA.
Check the current I/P coming from the field, it may be below 4 or over 20
mA.
Check for the proper range programmed in that channel.
In thermocouple type input the reading indicated has got some error.
Check for the proper I/p type selected.
Ensure that the compensating cables used are of proper type and connected in
proper direction.
Check the calibration of the unit.
All inputs coming from the field must be shielded and shield should earthen near the
Data Logger only.
- 56 -
Device Address
Function Code
Type
Channel No
No of registers Low byte
No of registers High byte
Byte Count
Hi Data
Low Data
CRC byte Lo
CRC byte Hi
Table: M.1
PV (Process Value)
IP (Input Type)
SET ALARM - 4
SET ALARM 3
SET ALARM 2
SET ALARM -1
ZERO
SPAN
HYSTRESIS
DP
UNIT
Common Parameter
Ambient
spare
Open Sensor Indication
Channel legend
Header Legend
Set Alarm - 1
Set Alarm - 2
Set Alarm - 3
Set Alarm - 4
Table: M.2
SCAN TIME
PRINT TIME
LOGGING TIME
SET POINT
RELAY TYPE
SLAVE ID
BAUD RATE
PASSWORD
SET Point, Open Sensor,
Alarm Latch, Relay Control
PRINTER
TIME - SEC
TIME MIN
TIME - HOUR
DATE - DAY
DATE - MONTH
DATE - YEAR
CARD INFORMATION
RECORD POINT
RELAY CONFIGURATION
Table: M.3
- 57 -
Write Slave Id
Query: {DeviceNo, 0x11, CRCLo, CRCHi}
Response: {DeviceNo, 0x11, RegLo, RegHi, 0xff, Card1, Card2, Card10, CRCLo,
CRCHi}
Card Types:
1
2
3
4
5
6
0x81
0x7f
0x83
0x84
0x82
0x80
3.
4.
- 58 -
5.
6.
7.
8.
9.
10.
Write Hyst
Query: {DeviceNo, 0x10, 0x08, ChNo, 0x00, 0x01, 0x02, HiData, LoData, CRCLo,
CRCHi}
Response: {DeviceNo, 0x10, 0x08, ChNo, 0x00, 0x01, CRCLo, CRCHi}
11.
Write DP position
Query: {DeviceNo, 0x10, 0x09, ChNo, 0x00, 0x01, 0x02, HiData, LoData, CRCLo,
CRCHi}
Response: {DeviceNo, 0x10, 0x09, ChNo, 0x00, 0x01, CRCLo, CRCHi}
12.
Write Unit
Query: {DeviceNo, 0x10, 0x10, ChNo, 0x00, 0x01, 0x02, HiData, LoData, CRCLo,
CRCHi}
Response: {DeviceNo, 0x10, 0x10, ChNo, 0x00, 0x01, CRCLo, CRCHi}
- 59 -
14.
15.
16.
17.
Write Relay
Query: {DeviceNo, 0x10, 0x0B, 0x04, 0x00, 0x01, 0x02, HiData, LoData, CRCLo,
CRCHi}
Response: {DeviceNo, 0x03, 0x0B, 0x04, 0x00, 0x01, CRCLo, CRCHi}
18.
Write Device ID
Query: {DeviceNo, 0x10, 0x0B, 0x05, 0x00, 0x01, 0x02, HiData, LoData, CRCLo,
CRCHi}
Response: {DeviceNo, 0x10, 0x0B, 0x05, 0x00, 0x01, CRCLo, CRCHi}
19.
- 60 -
20.
Write Password
Query: {DeviceNo, 0x10, 0x0B, 0x07, 0x00, 0x01, 0x02, HiData, LoData, CRCLo,
CRCHi}
Response: {DeviceNo, 0x10, 0x0B, 0x07, 0x00, 0x01, CRCLo, CRCHi}
21.
22.
Write Printer
Query: {DeviceNo, 0x10, 0x0B, 0x09, 0x00, 0x01, 0x02, HiData, LoData, CRCLo,
CRCHi}
Response: {DeviceNo, 0x10, 0x0B, 0x09, 0x00, 0x01, CRCLo, CRCHi}
23.
24.
25.
26.
27.
- 61 -
28.
30.
31.
32.
- 62 -
Sr.No Parameter
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
29
30
31
32
33
34
35
36
37
38
39
40
41
Skip status
Print Ch. status
Log Ch. Status
Open Sensor
Alarm 1 status
Alarm 2 status
Alarm 3 status
Alarm 4 status
Process Value
Input Type
Set Alarm 4
Set Alarm 3
Set Alarm 2
Set Alarm 1
Zero
Span
Hysteresis
DP
Unit
Scan Time
Print Time
Log Time(R)
Log Time(W)
Logging Status
Log Mode
Slave ID
Baudrate
Password
Alarm Configuration
Sec
Min
Hour
Date
Month
Year
Open Sensor Modbus
[Alarm status]
Ambient
Open Sensor Indication
Alarm 1 Status
Alarm 2 Status
Alarm 3 Status
Alarm 4 Status
Absolute
address
00001
00257
00513
00769
01025
01281
01537
01793
40001
40257
40513
40769
41025
41281
41537
41793
42049
42305
42561
42817
42818
42819
44353
42820
42821
42822
42823
42824
42825
42827
42828
42829
42830
42831
42832
42835
Type
Bit
Bit
Bit
Bit
Bit
Bit
Bit
Bit
Integer
Integer
Integer
Integer
Integer
Integer
Integer
Integer
Integer
Integer
Integer
Integer
Integer
Integer
Integer
Integer
Integer
Integer
Integer
Integer
Integer
Integer
Integer
Integer
Integer
Integer
Integer
Integer
43073
43585
44353
44609
44865
45121
Integer
Integer
Integer
Integer
Integer
Integer
Minimum
value
0
0
0
0
0
0
0
0
Maximum
value
1
1
1
1
1
1
1
1
13
Table: 4.2.1
Table: 4.2.1
Table: 4.2.1
Table: 4.2.1
Table: 4.2.1
Table: 4.2.1
Table: 4.2.1
Table: 4.2.1
Table: 4.2.1
Table: 4.2.1
Table: 4.2.1
Table: 4.2.1
0.1%
0
0
1sec
----0
0
0
0
1
0
0
*
0
0
0
1
1
1
0
9.9%
4
58
99sec
----59
59
1
2
99
2
65535
*
59
59
23
31
12
99
1
Access
Type
R/W
R/W
R/W
R
R
R
R
R
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R
W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Table: M.4
Table: M.4
----0
0
0
0
0
----1
1
1
1
1
R/W
R/W
R
R
R
R
Table: M.4
Note: All above address are starting address for that particular group. End address will be starting address + 160.
for e.g. starting add [channel 1]for open sensor indication is 43585, end add. [160th channel] is 43585 + 160 =
43745. And from 43746 to 44353 will be reserved address for modbus.
* 42825 register description.
- 63 -
42825 register.
15
X
14
x
13
x
12
x
11
x
10
x
9
x
8
x
7
x
6
x
5
x
4
x
3
x
2
x
- 64 -
1
x
0
x
End
- 65 -
- 66 -
Calibration:
Write Zero Calibration:
Query: {DeviceNo, 0x06, 0x0D, ChNo, HiData, LoData, CRCLo, CRCHi}
Response: {DeviceNo, 0x06, 0x0D, ChNo, HiData, LoData, CRCLo, CRCHi}
Write Span Calibration:
Query: {DeviceNo, 0x06, 0x0E, ChNo, HiData, LoData, CRCLo, CRCHi}
Response: {DeviceNo, 0x06, 0x0E, ChNo, HiData, LoData, CRCLo, CRCHi}
Write Ambient Calibracin:
Query: {DeviceNo, 0x06, 0x0C, ChNo, HiData, LoData, CRCLo, CRCHi}
Response: {DeviceNo, 0x06, 0x0C, ChNo, HiData, LoData, CRCLo, CRCHi}
Read Zero Calibration:
Query: {DeviceNo, 0x03, 0x0D, ChNo, 0x00, 0x01, CRCLo, CRCHi}
Response: {DeviceNo, 0x03, 0x0D, ChNo, HiData, LoData, CRCLo, CRCHi}
Read Span Calibration:
Query: {DeviceNo, 0x03, 0x0E, ChNo, 0x00, 0x01, CRCLo, CRCHi}
Response: {DeviceNo, 0x03, 0x0E, ChNo, HiData, LoData, CRCLo, CRCHi}
Read Ambient Calibration:
Query: {DeviceNo, 0x03, 0x0C, ChNo, 0x00, 0x01, CR CLo, CR CHi}
Response: {DeviceNo, 0x03, 0x0C, ChNo, HiData, LoData, CRCLo, CRCHi}
- 67 -
Appendix B.
Modbus Open
Sensor
Parameter
Setting (PV
status)
Down Scale
Up Scale
Down Scale
Up Scale
Modbus Open
Sensor
Parameter
Setting (PV
status)
Down Scale
Up Scale
Down Scale
Up Scale
Modbus Open
Sensor
Parameter
Setting (PV
status)
Down Scale
Up Scale
Down Scale
Up Scale
Modbus Open
Sensor
Parameter
Setting (PV
status)
Down Scale
Up Scale
Down Scale
Up Scale
INPUT :- OPEN
On
Modbus
PV
Value
ON
Modbus
AL-1
Status
On
Modbus
AL-2
Status
In OTU
PV
Value
Display
In OTU Channel
Status Display
-200
850
-200
850
OFF
OFF
ON
ON
OFF
OFF
ON
ON
OPEN
OPEN
OPEN
OPEN
------------VHigh
VHigh
INPUT :- OPEN
On
Modbus
PV
Value
ON
Modbus
AL-1
Status
On
Modbus
AL-2
Status
In OTU
PV
Value
Display
In OTU Channel
Status Display
-200
850
-200
850
ON
ON
OFF
OFF
ON
ON
OFF
OFF
OPEN
OPEN
OPEN
OPEN
V Low
V Low
-------------
INPUT :- OPEN
On
Modbus
PV
Value
ON
Modbus
AL-1
Status
On
Modbus
AL-2
Status
In OTU
PV
Value
Display
In OTU Channel
Status Display
-200
850
-200
850
ON
ON
OFF
OFF
OFF
OFF
ON
ON
OPEN
OPEN
OPEN
OPEN
Low
Low
High
High
INPUT :- OPEN
On
Modbus
PV
Value
ON
Modbus
AL-1
Status
On
Modbus
AL-2
Status
IN
Modbus
AL-3
Status
IN
Modbus
AL-4
Status
In OTU
PV
Value
Display
In OTU
Channel
Status
Display
-200
850
-200
850
ON
ON
OFF
OFF
ON
ON
OFF
OFF
OFF
OFF
ON
ON
OFF
OFF
ON
ON
OPEN
OPEN
OPEN
OPEN
V Low
V Low
VHigh
VHigh
Note: When I/P is open then Open sensor status will be always ON.
- 68 -