Omega Products OMR-6021 Installation Manual

OMR-6021 OMR-6024
Analog Output
4-Channel Analog Output
Contents
1. INTRODUCTION............................................................................................1-1
1. 1. ABOUT THE OMR ANALOG OUTPUT MODULES 1-1
1. 2. OVERVIEW OF OMR-6021 1-1
1. 3. OVERVIEW OF OMR-6024 1-4
2. INITIALIZATION & INSTALLATION.......................................................2-1
2. 1. SOFTWARE INSTALLATION 2-1
2. 2. INITIALIZING A BRAND-NEW MODULE 2-1
2. 3. INSTALL A NEW OMR TO A EXISTING NETWORK 2-2
2. 4. APPLICATION WIRING FOR OMR-6021 2-3
2. 5. APPLICATION WIRING FOR OMR-6024 2-3
3. COMMAND SET.............................................................................................3-1
3. 1. COMMAND AND RESPONSE 3-1
3. 2. SUMMARY OF COMMAND SET 3-3
3. 3. SET CONFIGURATION 3-4
3. 4. READ CONFIGURATION 3-6
3. 5. READ MODULE NAME 3-6
3. 6. READ FIRMWARE V ERSION 3-8
3. 7. RESET STATUS 3-9
3. 8. SYNCHRONIZED SAMPLING (6024 ONLY) 3-10
3. 9. READ SYNCHRONIZED DATA (6024 ONLY) 3-11
3. 10. DIGITAL INPUT (6024 ONLY) 3-12
3. 11. ANALOG DATA OUTPUT 3-13
3. 12. 4MA OFFSET CALIBRATION 3-15
3. 13. 20MA CALIBRATION 3-16
3. 14. TRIM CALIBRATION 3-17
3. 15. SAVE POWER ON ANALOG OUTPUT V ALUE 3-17
3. 16. LAST V ALUE READBACK 3-19
3. 17. CURRENT READBACK 3-19
3. 18. READ LEADING CODE SETTING 3-21
3. 19. CHANGE LEADING CODE SETTING 3-22
3. 20. SET HOST WATCHDOG TIMER & SAFETY V ALUE 3-24
3. 21. READ HOST WATCHDOG TIMER & SAFETY V ALUE 3-26
3. 22. HOST IS OK 3-28
4. DATA FORMAT..............................................................................................4-1
4. 1. UNIT CONVERSION 4-1
4. 2. ENGINEERING UNITS 4-1
4. 3. PERCENT OF FSR 4-1
4. 4. HEXDECIMAL FORMAT 4-2
4. 5. SUMMARY OF DATA FORMAT 4-3
5. ANALOG OUTPUT CALIBRATION..........................................................5-1
5. 1. CALIBRATION 5-1
5. 2. ANALOG OUTPUT MODULE CALIBRATION 5-1
Contents i
1. Introduction
1. 1. About the OMR Analog Output Modules
The OMR Series provides analog output modules, which can convert the digital command to analog. The basic features of each module are shown here.
OMR-6021 : analog signal output module with safety functions
OMR-6024 : 4 channel analog output module
1. 2. Overview of OMR -6021
What is OMR-6021 ?
OMR-6021 is an analog signal output module. It receives the digital command from host computer through RS-485 network. The format of the digital value can be engineering units, hexadecimal format or percentage of full-scale range(FSR). A microprocessor is used to convert the digital command to digital value to send to DAC. The DAC converts the digital value into analog form. The analog output can be either voltage or current output.
The OMR -6021 is designed for safety. It provides many safety functions such as isolation, watchdog, and power on safe value. The opto -isolators provide 5000Vrms isolation voltage to isolate the digital section and the remote controlled analog equipments. The damage of power surges is avoided.
Another safety function is the watchdog. Whenever the host is loss contact with the remote OMR module, or the microprocessor is down, the module will reset itself and send the safety value to the analog output therefore the industry safety is guarantee. The safety value / power-up value can be set by configuration software.
The analog output can be read back through the module‘s ADC. Which can monitor the ’real‘ output of the device. The host can check the digital command and the real output to avoid short circuits. The slew rate of the output signal is also controllable by software.
Features of OMR-6021
One uni-polar analog output channel
Two sets of differential current and voltage output terminals
Versatile digital signal format
Programmable host watchdog timer for host failure protection
Internal watchdog timer for device failure protection
Easy programming by software
Easy installation and wiring
Specifications of OMR-6021
² Interface
Interface : RS -485, 2 wires
Speed (bps) : 1200, 2400, 4800, 9600, 19.2K, 38.4K
² Analog Output
Signal Output type: Differential type
Resolution: 12 bits
Accuracy: ±0.1% of FSR for current output ±0.2% of FSR for voltage output
Initialization & Installation 1-1
Unit Convertion: V or mA
Output range:
Voltage output: 0 to 10 V (uni-polar) Current output: 0 to 20 mA 4 to 20 mA
Maximum Sampling Rate: 100 samples /sec
Slew rate:
Voltage output: 0.0625 to 64 V/sec Current output: 0.125 to 128 mA/sec
Internal Current Load Resistor: 500 (%1)
² Read back Analog Input
Accuracy: ±0.2% of FSR
² Isolation
Isolation voltage: 5000 Vrms
² Watchdog Function
Module internal watchdog timer : 150 ms
Power failure threshold : 4.65 V
Host programmable watchdog : 100 ms ~ 25.500 sec
² Power
Power supply : +10V to +30V
Power consumption : 1.0W
Pin Definitions of OMR-6021
Pin # Signal Name Description 1 +IOUT Positive Current Output Terminal
2 -IOUT Negative Current Output Terminal 3 +VOUT Positive Voltage Output Terminal 4 -VOUT Negative Voltage Output Terminal 6 Default* Initial state setting 7 (Y) DATA+ RS-485 series signal, positive 8 (G) DATA - RS-485 series signal, negative 9 (R) +Vs Power supply, +10V~+30V 10 (B) GND Ground
1-2 Initialization & Installation
(Current/Voltage)
O
Code
Output Range
303132
0 ~ 10V1120
A Look at OMR-6021 & Pin Assignment
OMR-6021
+I
-
O
IO
Analog Output
0 ~20 mA
4 ~ 20 mA
D +V O U
EF
­A
V
U
(G
(Y
)D
)D
A
A
T
T
(B)
10
(R
G
)+
N
Initialization & Installation 1-3
Functional Block Diagram of OMR-6021
Data+
RS-485
Rec/DRv
Data-
RS-485
Terminator
Watchdog / Power Failure
Supervisor
+10V ~ +30 V
GND
EEPROM
Power
Regulator
Micro
Processor
+5V GND
Photo Isolators
DC to DC Convertor
(12 bits)
*Defalut Setting
(1 bit Digital In)
DAC
Isolated Power Isolated Ground
Voltage Output
V to I
Current Output
VOUT + VOUT -
IOUT + IOUT -
1. 3. Overview of OMR -6024
What is OMR-6024 ?
OMR-6024 is a 4-channel bipolar analog signal output module. It receives the digital command from host computer through RS-485 network. A microprocessor is used to convert the digital command to digital value to send to DAC. The DAC converts the digital value into analog form.
The OMR -6024 is designed for safety. It prov ides many safety functions such as isolation, watchdog, and power on safe value. The opto -isolators provide 5000Vrms isolation voltage to isolate the digital section and the remote controlled analog equipments. The damage of power surges is avoided.
Another safety function is the watchdog. Whenever the host is loss contact with the remote OMR module, or the microprocessor is down, the module will reset itself and send the safety value to the analog output therefore the industry safety is guarantee. The safety value / power-up value can be set by configuration software.
Features of OMR-6024
4 channel bipolar analog output
Programmable host watchdog timer for host failure protection
Internal watchdog timer for device failure protection
Easy programming by software
Easy installation and wiring
Specifications of OMR-6024
² Interface
Interface : RS -485, 2 wires
Speed (bps) : 1200, 2400, 4800, 9600, 19.2K, 38.4K
² Analog Output
Channel numbers : 4
Signal Output type: Differential output
Voltage Output: ±10V
Resolution: 12-bit resolution
1-4 Initialization & Installation
Accuracy: ±1/2 LSB
Gain Drift: ±5ppm/°C
² Digital Input
Channel numbers : 7
Logical level 0: +2V max.
Logical Level 1: +3.5V ~ +30V
² Isolation
Isolation voltage: 5000 Vrms
² Watchdog Function
Module internal watchdog timer : 150 ms
Power failure threshold : 4.65 V
Host programmable watchdog : 100 ms ~ 25.500 sec
² Power
Power supply : +10V to +30V
Power consumption : 2.5W
Pin Definitions of OMR-6024
Pin # Signal Name Description 1 DI4 Digital input channel 4
2 DI3 Digital input channel 3 3 DI2 Digital input channel 2 4 DI1 Digital input channel 1 5 DI0 Digital input channel 0 6 Default* Initial state setting 7 (Y) DATA+ RS-485 series signal, positive 8 (G) DATA - RS-485 series signal, negative 9 (R) +Vs Power supply, +10V~+30V 10 (B) GND Ground 11 VOUTA+ Positive Voltage Output A Terminal 12 AGND Negative Voltage Output A Terminal 13 VOUTB+ Positive Voltage Output B Terminal 14 BGND Negative Voltage Output B Terminal 15 VOUTC+ Positive Voltage Output C Terminal 16 CGND Negative Voltage Output C Terminal 17 VOUTD+ Positive Voltage Output D Terminal 18 DGND Negative Voltage Output D Terminal 19 DI6 Digital input channel 6 20 DI5 Digital input channel 5
Initialization & Installation 1-5
A Look at OMR-6024 & Pin Assignment
DI5
DI6
DGND
VOUTD+
CGND
VOUTC+
BGND
VOUTB+
AGND
OMR-6024 4-CH
Analog Output
Code Signal 33
±10V
VOUTA+
DI4
DI3
DI2
DI1
DI0
DEFAULT*
(Y)DATA+
(G)DATA-
(R)+Vs
(B)GND
1-6 Initialization & Installation
Functional Block Diagram of OMR-6024
Data+
RS-485
Rec/DRv
Data-
RS-485
Terminator
Watchdog / Power Failure
Supervisor
+10V ~ +30 V
GND
EEPROM
Power
Regulator
Micro
Processor
+5V GND
Photo Isolators
DC to DC Convertor
(12 bits)
*Defalut Setting
(1 bit Digital In)
DIØ…… DI6
DAC
Isolated Power Isolated Ground
Voltage Output
•VOUTA+ AGND
•VOUTB+ BGND
•VOUTC+ CGND
•VOUTD+ DGND
Initialization & Installation 1-7
2. Initialization & Installation
2. 1. Software Installation
1. If you have already installed “OMR Administration” then skip other steps.
2. Backup your software diskette.
3. Insert “OMR Administration” diskette into floppy drive A:
4. Change drive to A:
5. Installation command syntax INSTALL drive:
drive name is C to Z. Example 1 : install to drive C:
A:\> INSTALL C: Example 2 : install to drive F:
A:\> INSTALL F:
6. OMR Administration Utility will be installed in the directory C: \OMR
2. 2.Initializing a Brand New Module
Objective of Initializing a Brand New OMR
All OMR modules, except OMR-6520 and OMR-6510, in a RS -485 network must have a unique address ID. Every brand-new OMR has a factory default setting as following:
Address ID is 01.
Baud rate is 9600 bps
Check-sum disable
Host Watchdog timer is disable
Therefore, to configure the brand new OMR before using is necessary to av oid conflicting address. The baud rate may also be changed according to user‘s requirements.
The initialization procedures of a brand new OMR are shown in the following sections.
Default State
The OMR modules must be set at Default State when you want to change the default settings, including the ID address, baud rate, check-sum status etc. All OMR modules have a special pin labeled as DEFAULT*. The module will be in Default State if the DEFAULT* pin is shorted to ground when power ON. Under this stat e, the default configuration is set as following:
Address ID is 00.
Baud rate is 9600 bps.
Check-sum disable.
Watchdog timer is disabling.
Therefore, the configuration of the host and the module can be easily set identically and initializing a module will be possible no matter what configuration is set under operating state.
Initialization Equipments
2-1 Initialization & Installation
Host computer with an RS -232 port.
+Vs GND
Converter
An installed RS -485 module (OMR-6520) with 9600-baud rate.
The brand new OMR module
Power supply (+10 to +30 VDC) for OMR modules
Administrating utility software
Initialization Procedure
1. Power off the host computer and the installed OMR -6520. Be sure of the baud rate of the OMR -6520 is 9600 bps.
2. Connect a brand new OMR module with the RS -485. Set the module in Default State by shorting the DEFAULT* pin. Refer to Figure 2.1 for detailed wiring.
3. Power on the host computer.
4. Power on the power supply for OMR modules.
5. Use the OMR Administrating utility to configure the address ID, Baud rate and check-sum status of the module.
Initialization Wiring
Host
Computer
RS-232
Local Power Supply
+10 V to +30 V
OMR-6520 RS-232/RS-485
DATA + DATA -
+Vs GND
New OMR module
DATA+ DATA ­ Default*
+Vs GND
Figure 2-1 Layout for Initialization the OMR module
2. 3. Install a New OMR to a Existing Network
Equipments for Install a New Module
A existing OMR network
New OMR modules.
Power supply (+10 to +30 VDC).
Installing Procedures
1. Configure the new OMR module according to the initialization procedure in section 2.2.
2. The baud rate and check-sum status of the new module must be identity with the existing RS-485 network. The address ID must not be conflict with other OMR modules on the network.
3. Power off the OMR power supply of the existing RS -485 network.
4. Power off the host computer.
5. Wire the power lines for the new OMR with the existing network. Be careful about the signal polarity as wiring.
6. Wire the RS-485 data lines for the new OMR with the existing network. Be careful about the signal polarity as wiring.
7. Wire to the input or output devices. Refer to section 2.4 for illustrations.
2-2 Initialization & Installation
+IOUT
Differential Current Output Channel of OMR-6021
DAC
-IOUT
Current Loading
+VOUT
Differential Voltage Output Channel of OMR-6021
DAC
-VOUT
Voltage Loading
+VOUT
Differential Voltage Output Channel of OMR-6024
DAC
-VOUT
Voltage Loading
8. Power on the host computer.
9. Power on the OMR local power supply.
10. Use the OMR administration utility to check entire network.
2. 4. Application Wiring for OMR -6021
Differential Current Output
Differential Voltage Output
2. 5. Application Wiring for OMR -6024
Differential Voltage Output
2-3 Initialization & Installation
Response :
3. Command Set
3. 1. Command and Response
Introduction
The OMR command is composed by numbers of characteristics, including the leading code, address ID, the variables, the optional check-sum bytes, and a carriage return to indicate the end of a command. The host computer can only command only one OMR module except those synchronized commands with wildcard address “**”. The OMR may or may not give response to the command. The host should check the response to handshak e with the modules.
Document Conventions
The following syntax conventions describe the OMR commands in this manual.
(Leading Code) Leading Code is the first characteristic of the OMR
command. All OMR commands need a command leading code, such as %,$,#,@, ...etc.
1- character
(Addr) Module’s address ID, the value is in the range of 00 - FF
(Hex).
2- character (Command Variable) [Data] Some commands need additional data.
[Checksum] Checksum in brackets indicate optional parameter,
< > Identifies a control code character, such as <CR> for
Command codes or value of variables.
Variable length
Variable length
only if checksum is enabled then this field is required.
2- character
carriage return, its value is 0x0D. 1- character
Format of OMR Commands
(Leading Code)(Addr)(Command)[Data] [Checksum]<CR>
When checksum is enabled then [Checksum] is needed, it is 2-character. Both command and response must append the checksum characters.
How to calculate checksum value ?
[Checksum] = ((LeadingCode)+(Addr)+(Command)+[Data]) MOD 0x100
Example 1: checksum is disabled
User Command : $012<CR>
!01400600<CR>
$ 01 : Address 2 : Command (Read Configuration)
: LeadingCode
Command Set 3-1
Response :
<CR> : Carriage return 0x0D
Example 2: checksum is enabled
User Command : $012B7<CR>
!01400600AC<CR>
$
: LeadingCode
01 : Address 2 : Command (Read Configuration) B7 : Checksum value <CR> : Carriage return 0x0D
‘$’ = 0x24 ‘0’ = 0x30 ‘1’ = 0x31 ‘2’ = 0x32
B7 = ( 0x24 + 0x30 + 0x31 + 0x32 ) MOD 0x100
‘!’ = 0x24 ‘0’ = 0x30 ‘1’ = 0x31 ‘4’ = 0x34 ‘6’ = 0x36
AC = ( 0x24 + 0x30 + 0x31 + 0x34 + 0x30 + 0x30 + 0x36 + 0x30 + 0x30 ) MOD 0x100
Note : 1. There is no spacing between the command words and the checksum characters.
2. Every command follows a <CR> carriage return for ending.
3. The checksum characters are optional.
Response of OMR Commands
The response message depends on versatile OMR command. The response is composed with a few characteristics, including leading code, variables, and carriage return for ending. There are two categories of leading code for response message, ”!“ or ”>“ means valid command and ”?“ means invalid. By checking the response message, user can monitor the command and verify if it is valid or not.
Note : Under the following conditions, there will have no response message.
1. The specified address ID is not exist.
2. Syntax error.
3. Communication error.
4. Some special commands does not have response message.
3-2 Initialization & Installation
Loading...
+ 32 hidden pages