Rm. 618, Tomson Centre, Building A, 188 Zhang Yang Road
Pu Dong New District, Shanghai, P. R. China
Phone: +86 21 5879 8521 Fax +8621 5879 8586
Compod™ Instruction Manual IM-COMPOD Rev. C 1
Page 2
IMPORTANT CUSTOMER NOTICE
Sierra Instruments, Inc. is not liable for any damage or personal injury, whatsoever, resulting from the use of Sierra
Instruments standard mass flow meters or controllers for oxygen gas. You are responsible for determining if this
mass flow meter or controller is appropriate for your oxygen application. You are responsible for cleaning the mass
flow meter or controller to the degree required for your oxygen flow application.
No part of this publication may be copied or distributed, transmitted, transcribed, stored in a retrieval system, or translated
into any human or computer language, in any form or by any means, electronic, mechanical, manual, or otherwise, or
disclosed to third parties without the express written permission of Sierra Instruments. The information contained in this
manual is subject to change without notice
.
TRADEMARKS
Compod™, Smart-Trak®, and Dial-A-Gas™ are trademarks of Sierra Instruments, Inc. Other product and company names
listed in this manual are trademarks or trade names of their respective manufacturers
.
Compod™ Instruction Manual IM-COMPOD Rev. C 2
Page 3
INTRODUCTION
The Model 180 + Compod™ is a Modbus add-on module for the Sierra Instruments’ Smart-Trak® Model 180 gas flow
measurement and control instruments.
A variety of features enable the integration of the Smart-Trak® into a Modbus network environment. Among these features:
• Access to all vital data
• Totalizer
• Alarm output
• Analog inputs
• Smart-Trak® functionality monitor
SAFETY INFORMATION
Caution and warning statements are used throughout this manual to draw your attention to important information.
Caution!
This statement appears with information that is
important for protecting your equipment and
performance. Read and follow all cautions that
apply to your application
!
!
TIP
TO FULLY UNDERSTAND THE MODEL 180 + COMPOD™ AND ITS FUNCTIONS IT IS ADVISED TO ALSO READ
THE SMART-TRAK® SERIES 180 INSTRUCTION MANUAL
Warning!
This statement appears with information that is
important to protect people and equipment from
damage. Pay very close attention to all warnings
that apply to your application
a
Compod™ Instruction Manual IM-COMPOD Rev. C 3
Page 4
–
ELECTRICAL CONNECTIONS
All electrical connections are made on the terminal board. There are two screw terminals which give access to input power,
network interface and other options.
PIN CONFIGURATION
Terminal board overview:
Pin layout:
Pin Function Pin Function
1 +24V Power 9 Note 1
2 Ground 10 Note 1
3 Earth 11 RS232-RX (in)
4 Set point input 12 RS232-TX (out)
5 4-20mA output 13 Ground
6 Alarm output 14 RS485
7 Analog channel 1 15 RS485 –B
8 Analog channel 2 16 RS485 Shield
During power-up or reset the Modbus ID pins are scanned. These pins set the Modbus ID code.
ID3 ID2 ID1 ID0 Modbus ID
open open open open Internal ID
open open open closed 1
open open closed open 2
open open closed closed 3
- - - -
closed closed closed closed 15
(Place jumper to enable)
P1
A
Closed
Open
Compod™ Instruction Manual IM-COMPOD Rev. C 4
Page 5
Note 1: The terminal connections are used for optional interfaces (HART) which can be added. Please contact Sierra
Instruments for more information.
RS485 CONNECTION
CONNECTION
Pin 14 = RS485 – A
Pin 15 = RS485 – B
Pin 16 = RS485 – Shield
THE MODEL 180 + COMPOD™ IS EQUIPPED WITH AN OPTICAL ISOLATED RS485 INTERFACE. DON’T
CONNECT THE RS485 SHIELD TO THE GROUND OF THE POWER SUPPLY UNLESS THE ISOLATED BARRIER
!
ISN’T REQUIRED
GENERAL 2-WIRE TOPOLOGY RS485 NETWORK
The “RS485 – A” (also referred as ‘-‘) is connected with the D0 line. The “RS485 – B” (also referred as ‘+‘) is connected with
the D1 line. The shield is connected to the common line of the network.
Compod™ Instruction Manual IM-COMPOD Rev. C 5
Page 6
A maximum of 32 devices is authorized on an RS485 system without the need of a repeater.
Cable
It is recommended to use a twisted pair type of cable (reduces radiated and received EMI). Category 5 cables may be used to
a maximum length of 600 meters. To operate at cable lengths of 1000 meter it is advised to use AWG 26 or lower.
Terminator
Reflections in a transmission line can cause communication errors. To minimize the reflection it is required to place
terminator resistors at both ends of the cable. Never place a terminator resistor somewhere along the cable. The use of line
terminators depends on cable lengths and should be determined on site. Typical values for terminator resistors are 120 ohm
(0.5 W).
Line Polarization
In noise environments it may be necessary to polarize the lines to ensure that the receivers stay in a constant state when no
signal is present. The polarization must be implemented at one location for the whole bus. The value for the pull up and pull
down resistors is between 450 and 650 ohms (a higher value permits more devices to be connected to the bus).
ANALOG INPUTS
The analog inputs can be used to connect various transducers (temperature, pressure etc.). Maximum input range is 0-10
Vdc or 0-40 mA. Various options can be set through the Modbus control register (40025).
CONNECTION
Pin 2 = Ground
Pin 7 = Analog input 1
Pin 8 = Analog input 2
V1
V2
Compod™ Instruction Manual IM-COMPOD Rev. C 6
Page 7
COMMUNICATING
Once the Model 180 + Compod™ is wired to the network and powered up it is time to communicate with it. The settings for
the Modbus interface are as following:
• ID code = 255 (or 1 – 15 depending on the ID pin settings)
• Baud rate = 19200
• Parity = Even
• Number of bits = 8
• Stop bit = 1
• Delay between receiving and transmitting = 2 ms
The above settings are factory defaults and can be changed. Changing the settings can be done through the boot loader or
special registers.
POWER UP
When powering up the red LED (labeled: Net) will light up after 2 seconds indicating the initialization phase. During this time
data is retrieved from the Smart-Trak® and stored into the Model 180 + Compod™ memory. There is no communication
through Modbus possible at this stage.
Once all data is retrieved the red LED goes off and the green LED (labeled: Active) will start blinking as it receives data from
the instrument. Communication through Modbus is possible now.
If the communication with the instrument is lost for some reason, the Compod™ will try to establish it again. During this
phase the Modbus interface will not be active.
The red LED will light up every time a network message is received with the correct ID code.
DATA FORMAT VARIOUS REGISTERS
• 32 bit real: IEEE 754 floating point, low word first
• 16 bits ASCII: ASCII encoded characters, high word = 1
Compod™ Instruction Manual IM-COMPOD Rev. C 7
st
character. 0x4944 = “ID”
Page 8
–
–
–
–
–
–
–
–
–
–
–
–
–
–
MODBUS REGISTERS OVERVIEW
PDU
Address
$00 40001 Actual flow - low wordR32 bits real2
$01 40002 Actual flow - high word
$02 40003 Set point - low word R/W32 bits real2
$03 40004 Set point - high word
$04 40005 Totalizer3,4 R/W (Reset)BCD encoded4
$05 40006 Totalizer1,2 R
$06 40007 Totalizer7,8 R
$07 40008 Totalizer5,6 R
$08 40009 Valve power R16 bits int.1
$09 40010 Analog CH0 R16 bits int.1
$0A 40011 Analog CH1 R16 bits int.1
$0B 40012 Alarm status R/W16 bit int.1
$0C 40013 Factory f.s
$0D 40014 Factory f.s
$0E 40015 User f.s
$0F 40016 User f.s
$10 40017 Gas span
$11 40018 Gas span
$12 40019 Trigger low
$13 40020 Trigger low
$14 40021 Trigger high
$15 40022 Trigger high
$16 40023 Alarm Control registerR/W16 bit int.1
$17 40024 Trigger source 1 R/W16 bit int.1
$18 40025 Analog input setting R/W8 bits int.1
$19 40026 Gas index R/W8 bits int.1
$1A 40027 Valve position index R/W8 bits int.1
$1B 40028 Flow unit index R/W8 bits int.1
$1C 40029 Password R/W16 bits int.1
$1D 40030 Input set point index R/W8 bits int.1
$1E 40031 Analog output index R/W8 bits int.1
$1F 40032 Device firm rev – low wordR32 bits real2
$20 40033 Device firm rev – high word
$21 40034 Device type R16 bits ASCII1
$22 40035 Serial number
$23 40036 Serial number
$24 40037 Serial number
$25 40038 Serial number
$26 40039 Tag number - char 1,2R16 bits ASCII5
$27 40040 Tag number - char 3,4
$28 40041 Tag number - char 5,6
$29 40042 Tag number - char 7,8
char 1,2 R16 bits ASCII8
~
$32 40051 Gas 1
$33 40052 Gas 2
char 15,16
char 1,2 R16 bits ASCII8
~
$3A 40059 Gas 2
$3B 40060 Gas 3
char 15,16
char 1,2 R16 bits ASCII8
~
$42 40067 Gas 3
$43 40068 Gas 4
char 15,16
char 1,2 R16 bits ASCII8
~
$4A 40075 Gas 4
$4B 40076 Gas 5
char 15,16
char 1,2 R16 bits ASCII8
~
$52 40083 Gas 5
$53 40084 Gas 6
char 15,16
char 1,2 R16 bits ASCII8
~
$5A 40091 Gas 6
$5B 40092 Gas 7
char 15,16
char 1,2 R16 bits ASCII8
~
$62 40099 Gas 7
$63 40100 Gas 8
char 15,16
char 1,2 R16 bits ASCII8
~
$6A 40107 Gas 8
$6B 40108 Gas 9
char 15,16
char 1,2 R16 bits ASCII8
~
$72 40115 Gas 9
$73 40116 Gas 10
char 15,16
char 1,2 R16 bits ASCII8
~
$7A 40123 Gas 10
char 15,16
$7B 40124 Sensor data R8 + 8 bit int.1
$7C 40125 Set unit to zero R/W ($A5)8 bits int.1
$7D 40126 Reset unit to factory defaultR/W ($A5)8 bits int.1
SPECIAL – MODBUS SET UP
PDU
Address
$1003 44100 ID (1-247) R/W16 bit int.1
$1004 44101 Baud rate
R/W16 bit int.1
Read value from this register
and write it back. This will
reset the unit
Compod™ Instruction Manual IM-COMPOD Rev. C 9
Page 10
REGISTERS EXPLAINED
The registers are divided into four groups. The first group (40001 – 40012) represents the dynamic data. This group changes
the most. The second group (40013 – 40031) contains the settings from the instrument and Model 180 + Compod™ specific
settings. The third group contains static data about the instruments. The last group (44100 – 44104) contains special
functions to change the Modbus settings while the unit is in the network.
Register descriptions
40001: Actual flow
The actual flow as measured by the instrument
40003: Set point
When using a controller the set point is shown. Writing to this register will set the set point. When a set point is entered
which is beyond the full scale of the instrument then the set point will be changed automatically to the full scale value.
40005 – 40008: Totalizer
Totalizer value BCD encoded. The first two registers are the value left of the decimal point. The last
two registers represent the value behind the decimal point.
Example:
40005 = 0x0010
40006 = 0x1204
40007 = 0x1654
40008 = 0x4500
Total = 12040010. 45001654
40009: Valve power
Value representing the power injected into the value (when using a controller). The value will range between 0 and 3200
(4095 when purging the valve).
40010 - 40011: Analog inputs 1 & 2
Values from the analog inputs are presented as raw values ranging between 0 and 1023. The analog input settings
determine the range.
40012: Alarm status
Status indication for the alarms: See chapter about the alarm system for more information.
Compod™ Instruction Manual IM-COMPOD Rev. C 10
Page 11
40013: Factory full scale
Factory full scale value of the instrument.
40015: User full scale
The user full scale value allows you to re-range the instrument. Any value between 50% and 100% of the factory full scale is
allowed. The new value will also redefine the analog outputs of the instrument (when used). The 20mA/5 Vdc will represent
the new full scale value.
40017: Gas span
The gas span value allows you to re-range the full scale value of each available gas. This function is not supported on the first
generation of Smart Trak instruments.
40019 - 40022: Trigger point alarm
Trigger values for alarm. See chapter about the alarm system for more information.
40023: Alarm control register
See chapter about the alarm system for more information.
40024: Trigger source alarm
Trigger source for alarm 1: See chapter about the alarm system for more information.
40025: Analog input settings
This register controls the way the analog inputs behave. The table below shows the possible settings.
Current set password in the instrument. This password doesn’t affect the Compod™.
Compod™ Instruction Manual IM-COMPOD Rev. C 12
Page 13
40030: Input set point index
–
–
–
–
–
Value indicates the source for the set point. The table shows the available values:
Value Source
1 RS232
2 0
3 0
4 1
5 4
6 0
!
5 volts
10 volts
5 volts
20 mA
20 mA (Smart Trak 2 or higher)
SELECT RS232 AS SOURCE WHEN THE SET POINT NEEDS TO BE CONTROLLED THROUGH THE NETWORK.
40031: Analog output index
Analog output index is the value which indicates the current selected analog output of the instrument. The table shows the
available values:
Value Output option
1 0 – 5 Vdc / 4 – 20 mA
2 0 – 10 Vdc / 4 – 20 mA
3 1 – 5 Vdc / 4 – 20 mA
4 0 – 5 Vdc / 0 – 20 mA (Smart Trak 2 or higher)
5 0 – 10 Vdc / 0 – 20 mA (Smart Trak 2 or higher)
6 1 – 5 Vdc / 0 – 20 mA (Smart Trak 2 or higher)
40032: Firmware revision
Firmware revision number of the instrument
40034: Device type
There are two characters indication the type of instrument attached to the Compod™. The first character (high byte)
indicates the version number of the Smart-Trak® (1, 2 or other). The second character (low byte) indicates if a meter ‘M’ or
controller ‘C’ is attached.
Serial number of the instrument expressed as an eight character string.
Compod™ Instruction Manual IM-COMPOD Rev. C 13
Page 14
40039 - 40043: Tag
Tag (or label) string which is set in the Model 180 + Compod™: The tag can only be set in boot loader mode and can be used
f.i. to identify the instrument or its location.
40044 – 40051: Gas name 1
40052 – 40059: Gas name 2
40060 – 40067: Gas name 3
40068 – 40075: Gas name 4
40076 – 40083: Gas name 5
40084 – 40091: Gas name 6
40092 – 40099: Gas name 7
40100 – 40107: Gas name 8
40108 – 40115: Gas name 9
40116 – 40123: Gas name 10
Gas table present in the instrument.
40124: Sensor data
Sensor data from the instrument (not available on a Smart-Trak® 1): The high byte shows the bridge voltage and the low
byte shows the bridge current.
40125: Set unit to zero
Writing the value 0xA5 to this register will set the zero the instrument (not available on the Smart-Trak® 1). See the Smart
Trak 2 manual for more information.
40126: Reset unit to factory default
Writing the value 0xA5 to this register will reset all custom settings to factory defaults (not available on the Smart-Trak® 1).
The zero value and gas span values are cleared.
Compod™ Instruction Manual IM-COMPOD Rev. C 14
Page 15
SPECIAL MODBUS SET UP REGISTERS
The Modbus settings for the Compod™ can be altered while it is connected to the network. Through special registers it is
possible to change the settings. The settings can be changed but will not become active until a special write is performed.
44100: ID
The ID code as stored in memory is shown. The ID code set through the ID pins on P1 is not shown. Any value between 1 and
255 can be used.
44101: Baud rate
Value Baud rate
1 4800
2 9600
3 19K2
4 38K4
5 57K6
44102: Parity
Value Parity
1 None
2 Odd
3 Even
44103: TX delay
The value in this register will tell the Compod™ to wait a number of milliseconds before starting to transmit the reply to the
master.
Delay time = value x 1ms
44104: Reset unit
Writing back the value from this register will trigger two events:
1. The values entered for the ID code, baud rate, parity and TX delay will be stored in memory (making them
permanent)
2. The Compod™ will perform a power-up reset using the new settings
The new settings are now active. The new settings will not be stored unless the correct value is written to this register.
When the settings are changed and a manual reset is performed then the old settings will be used.
Compod™ Instruction Manual IM-COMPOD Rev. C 15
Page 16
ALARM SYSTEM
A
The Compod™ has an alarm system which can monitor a register and generate an alarm when the value inside the register
goes beyond a predefined level. The alarm status is set on the alarm output.
The alarm system can also monitor the power consumed by the valve in controllers. When the valve reaches maximum
power it will generate heat. Under normal working conditions it will be cooled by the flow. When no flow is present and the
valve runs on maximum power is will become very hot and can be damaged in the long run. The alarm system can shut the
valve down when it runs on maximum power.
ALARM PRINCIPLE
The alarm principle is based on performing a compare on a value. When the value becomes bigger (or smaller) then a
predefined value an alarm will be triggered.
Value
larm
Trigger point high
Trigger point low
(Trigger polarity set to higher)
When the value becomes higher than the trigger point (high) the alarm will be set. The alarm output is pulled to ground.
When the value drops below the low trigger point then the alarm condition is cleared (alarm output returns to tri-state
output).
ALARM CONTROL
There are six registers which control the alarm system. There is a control register in which the behavior of the system is
defined. A status register gives an overview of the alarm status. Each alarm channel has its own trigger level register.
ALARM CONTROL REGISTER (40023)
The alarm control register sets the behavior of the alarm.
Overview:
Bit Function
Alarm1
0 Enable alarm (0 = off / 1 = on)
When not set the alarm will not function
1 Enable output (0 = off / 1 = on)
When set digital output1 will be triggered to reflect the alarm state. Setting this bit will
disable the output function.
2 Trigger polarity (0 = lower / 1 = higher)
Compod™ Instruction Manual IM-COMPOD Rev. C 16
Page 17
Select if the alarm will be triggered when the actual value is higher or lower than the
trigger value (trigger source)
3 Alarm lock mode (0 = disabled / 1 = enabled)
When cleared the alarm status bit will be toggled according to the alarm condition.
When set the alarm status bit (and possible output) will be locked once an alarm has
occurred. Clearing the status bit will clear the alarm state.
Various
8 Valve power alarm (0 = enabled / 1 = disabled)
When enabled the set point will be set to zero after 5 minutes when the valve power
stays at 3200 the whole time.
If the sensor malfunctions then an alarm is set (Smart Trak 2 only!)
Alarm1 – extra option (overwrites other settings)
10 Set point to zero (0 = disabled / 1 = enabled)–highest priority
11 Valve mode set to close (returns to present valve mode when alarm cleared)
(0 = disabled / 1 = enabled)
When the alarm lock mode is enabled then the alarm output will remain active even when the alarm condition has been
cleared. The alarm output can only be cleared by writing a zero to the status bit in the alarm status register.
The trigger polarity bit determines if an alarm is raised when the monitored value is higher or lower than the trigger value.
Setting it to one will raise the alarm when the value becomes higher than the trigger value.
TRIGGER SOURCE (40024)
The alarm channel has a trigger source. The source is a Modbus register whose content is monitored. The following table
gives an overview of all the registers which can be used:
Modbus register Description
40001 Actual flow
40003 Set point
40005 Totalizer left side of the decimal point
40007 Totalizer right side of the decimal point
40009 Valve power
40010 Analog channel 1
40011 Analog channel 2
40015 User full scale
40017 Gas span
40025 Analog input settings
40026 Gas index
40027 Valve position index
40028 Flow unit control
40029 Password
40030 Input set point index
40031 Analog output index
TRIGGER POINT (LEVEL)
Enter the trigger point at which the alarm needs to react. The alarm will become active when the trigger value is exceeded
(not when equal or smaller). The entered value will be converted to a data type belonging to the trigger source.
Compod™ Instruction Manual IM-COMPOD Rev. C 17
Page 18
ALARM STATUS REGISTER
–
The alarm status register will indicate the actual status of the alarm.
Bit Status
0 Alarm ( 0 = no alarm, 1 = alarm)
2 Valve power ( 0 = no alarm, 1 = alarm)
3 Sensor failure
In lock mode the status bit for the alarm can be cleared by setting the bit to zero. The valve power bit is also cleared by
writing a zero to it.
The sensor failure bit can’t be cleared by making it zero.
ST2 only ( 0 = no alarm, 1 = alarm)
BOOTLOADER
INTRODUCTION
This chapter describes how the boot loader is used. The boot loader makes it possible to set up applications and download
firmware using a simple terminal program and a serial connection.
GETTING STARTED
In order to use the Bootloader, a PC is needed which is equipped with an RS485 interface or an external converter
connected to the RS232 port.
Connect the RS485 interface of the Model 180 + Compod™ to the RS485 interface of the PC. On the PC start a simple
terminal program like HyperTerminal.
Compod™ Instruction Manual IM-COMPOD Rev. C 18
Page 19
Start HyperTerminal from windows and select the com port to which the RS485 interface is connected. Use the following
settings:
Baud rate : 9600
Number of bits : 8
Parity : N
Stop bits : 1
The boot loader will only be active during the first 2 seconds after a power-up or reset. During power-up (or reset) none of
both LED’s will be lit. To enter the boot loader, follow the next steps:
1. Power up the unit
2. In HyperTerminal press the enter key within 2 seconds of power up (any other key will terminate the boot
loader and will start the application)
When the boot loader is activated successfully the following menu will be presented on the screen:
The version of the boot loader is shown and three options. By pressing the “1”, “2” or “3” key an option is selected.
LOAD FIRMWARE
Press “1” to download firmware to the unit. The following screen will be presented:
A question is presented asking to continue. Press the “Y” or “y” key to continue. Press “N” or “n” to abort. When continuing
the following screen will be presented:
Compod™ Instruction Manual IM-COMPOD Rev. C 19
Page 20
The screen will start to fill up with the “§” character indicating that the XMODEM transfer can be started. Press the “ESC”
key to abort.
From the “Transfer” menu select “Send file”
A new screen will be presented asking for the file to be transferred:
Compod™ Instruction Manual IM-COMPOD Rev. C 20
Page 21
Use the “Browse” button to select the file to download. Only files with the “.hex” extension can be downloaded to the unit.
Also make sure that the “Xmodem” protocol is selected. When the file is selected, press the “Send” button. The transfer
screen pops up and the file download status can be monitored.
If the download needs to be cancelled then simple press the “Cancel” button and then press the “Esc” key to return to the
boot menu.
ONCE THE DOWNLOAD HAS STARTED IT ISN’T POSSIBLE TO STOP IT. DOING SO WILL RESULT IN LOSING
!
The download is now in progress:
THE CURRENT APPLICATION.
When the download is finished the start-up screen will be shown again presenting three options.
SETUP FIRMWARE
This option is used to set up the firmware in the unit. When pressing the “2” key the following screen will be presented:
Compod™ Instruction Manual IM-COMPOD Rev. C 21
Page 22
The version of the firmware will be shown followed by the first option which can be set. It will show the current selected
value as well which values can be entered.
In this above example, the ID code of the unit can be set between 1-247 and the current setting is 1.
Pressing the “C” or “c” key will prompt for a new value. Enter a new value and press the “Enter” key. The new value will be
stored and the next option will be presented (if available). Data which can be entered must match the type presented. So in
the above example only numbers can be entered. Characters will be ignored. Also the size of the entry will be limited
depending on the maximum size allowed.
When all options have been viewed the default boot menu will be presented again. The options presented will depend on
the firmware.
WHILE ENTERING A NEW VALUE THE “BACKSPACE” KEY CAN BE USED TO ERASE ENTERED VALUES.
!
IT IS ADVISED TO ONLY ENTER VALUES WHICH ARE SHOWN BETWEEN THE BRACKETS. OTHER VALUES
MAY BE ENTERED BUT COULD RESULT IN THE UNIT NOT FUNCTIONING CORRECTLY.
!
QUIT
This option will quit the boot loader and will start the application.
Compod™ Instruction Manual IM-COMPOD Rev. C 22
Page 23
TROUBLE SHOOTING
Problem Solution
During the firmware transfer the download has
halted and nothing is happening anymore (or an
error message appears)
When trying the enter data the length is limited.
No more data is excepted
The characters on the screen are all messed upCheck the communication settings. They should
The unit doesn’t enter the boot loader although
the enter key is pressed within 2 seconds after
start-up
Reset the unit and try again. Make sure that only
.hex files intended for the unit are selected
For each option the data type and length are
predefined. When data isn’t accepted anymore
than the maximum is reached. Also it’s not
possible to enter characters when numbers are
expected (and vice-versa)
be 9600,8,N,1
Try swapping the “A” & “B” lines of the RS485
connection and try again
Compod™ Instruction Manual IM-COMPOD Rev. C 23
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.