4CH Analog Output Module (4334)
4CH Analog Output Module (4334)
User Manual
Document No.:ED-2002-019
Version: 1.0
MESSUNG SYSTEMS
EL-2, J - Block MIDC Bhosari,
Pune – 411026. (INDIA)
Revision
INDEX
1. MODULE OVERVIEW ....................................................................................................... 5
1.1 ANALOG VOLTAGE OUTPUT MODULE OVERVIEW ............................................................ 5
1.2 LED INDICATIONS ......................................................................................................... 7
1.3 GENERAL SPECIFICATIONS ............................................................................................ 7
2. MODULE OPERATION ..................................................................................................... 8
2.1 BLOCK DIAGRAM ........................................................................................................... 8
2.2 DATA RANGE AND RESOLUTION ................................................................................... 10
2.3 I/O AND MEMORY MAPPING ......................................................................................... 12
2.4 COMMANDS FOR CHANNEL ON/OFF............................................................................ 13
2.5 MODULE STATUS BITS ................................................................................................ 14
3. INSTALLATIONS AND WIRING..................................................................................... 15
3.1 MODULE INSTALLATION ............................................................................................... 15
3.2 CONNECTION DETAILS ................................................................................................ 15
3.3 PRECAUTIONS TO BE TAKEN......................................................................................... 17
4. CONFIGURATION AND PROGRAMMING .................................................................... 18
4.1 MODULE CONFIGURATION ........................................................................................... 18
4.2 PROGRAMMING ........................................................................................................... 19
5. APPLICATION EXAMPLE .............................................................................................. 22
5.1 EXAMPLE .................................................................................................................... 22
6. TROUBLESHOOTING .................................................................................................... 26
6.1 LED INDICATIONS FOR TROUBLESHOOTING.................................................................. 26
6.2 FAULT DIAGNOSTIC OF MODULE .................................................................................. 26
INDEX OF FIGURES
FIGURE 1 : FRONT VIEW OF ANALOG VOLTAGE OUTPUT MODULE ................................................. 6
of I/O Modules.
This manual provides information for the use of the I/O Modules . The manual has
been written to be used by trained and competent personnel. The definition of such a
person or persons is as follows:
a) Any engineer who is responsible for the planning, design and
construction of automatic equipment using the product associated with
this manual should be of a competent nature, trained and qualified to
the local and national standards required to fulfill that role. These
engineers should be fully aware of all aspects of safety with regards to
automated equipment.
b) Any commissioning or service engineer must be of a competent nature,
trained and qualified to the local and national standards required to fulfill
that job. These engineers should also be trained In the use and
maintenance of the completed product. This Includes being completely
familiar with all associated documentation for the said product. All
maintenance should be carried out in accordance with established
safety practices.
c) All operators of the completed equipment should be trained to use that
product in a safe and coordinated manner in compliance to established
safety practices. The operators should also be familiar with
documentation, which is connected with the actual operation of the
completed equipment.
Note: The term-completed equipment refers to a third party constructed device, which
contains or uses the product associated with this manual.
Note on the Symbol used in this Manual
At various times through out this manual certain symbols will be used to highlight points
of Information, which are Intended to ensure the users personal safety and protect the
integrity of equipment. Whenever any of the following symbols are encountered it’s
associated.
Note must be read and understood. Each of the symbols used is listed below; with a
brief description of its meaning.
Warning
Warning !
1. Module Overview
This analog voltage output module takes digital value data from CPU module
and output an equivalent analog output voltage. This is R – 2R type D/A
conversion. It provides four non- isolated channels with 16-bit resolution (15
bits + 1 sign bit). The channels provide -10 to +10 VDC output for a load of 1
K Ohms and above.
The module also provides channel ON/OFF switches for each channel, which
clamp output voltage signals to ground whenever required.
This is register type of module and data transfer with CPU module takes
place by 'WRITE_W' function. The module has four DAC registers. Module
status is available in input image and user commands can be issued through
output image.
The figure 1 on next page shows the front view of 4-channel analog voltage
output module.
4334
ANALOG OUTPUT
4 CH - VOLTAGE
Terminal Block
Fixing Screw
CH 1
CH 2 Channel
01 VOUT1
Status
CH 3
02 GND1 LEDs
CH 4
03 SHIELD1
VOUT2
04
GND2
05
SHIELD2
06
20 Pin VOUT3
07
Removable GND3
08
SHIELD3
Terminal Block 09
VOUT4
10 IO Label
GND4
11
SHIELD4
12
13
14
15
EARTH
16
FG
17
18
0V
19
+24 V.
20
Terminal Block
Fixing Screw 4 CH
ANALOG OUTPUT
VOLT AGE
The module provides five LED indications on the front side. Brief information
about channels can be written on the IO label. Behind front door, 20-pin
removable terminal block is provided for interfacing. The module connection
details are shown on backside of front door on yellow colored label.
The analog voltage output module can be configured in any slot of the PLC.
The general specifications of analog voltage output module are given below
2. Module Operation
This chapter helps in getting started with the analog voltage output module. It
describes the basic operation of the module. This chapter explains following
points.
• Block Diagram
• Data Range and Resolution
• IO and Memory Mapping
• Commands for channel ON/OFF
• Module Status bits
Serial
Data DAC1 Channel 1
Opto Serial R-2R
Isolation Interface 0 to ± 10 VDC
Output 1 Output Signal
Driver
Control
Opto
Isolation
CPU
Channel
ON/OFF
Module DAC4 Channel 4
Interface Opto R-2R
Circuit Isolation 0 to ± 10 VDC
Output 4 Output Signal
Driver
No 24 V
Supply
Signal
Opto Miniature
Isolation Glass Fuse
+12 V + 24 VDC
+5V -12 V 24 V GND
+5 V DC to DC
Supply for Earth
Converter
GND DAC Circuit -5 V
GND
The module provides four digital to analog channels. CPU bus is optically
isolated from DAC circuit. The digital to analog converter operates on serial
data from CPU module. The data for four channels is stored inside DAC
registers one by one. DAC registers hold the data till module is powered
'ON'. DAC (R–2R type) converts binary data inside the register to an
equivalent analog output voltage. The module provides proportional -10 VDC
to + 10 VDC. In output driving stage, presets are provided for adjustments of
gain and offset for each channel. These are factory settings and should not
be tampered.
Independent set of two switches is provided for a channel, one in series with
output driver and another between output and ground for every channel.
When series switch is ON, ground switch is OFF and channel is active i.e.
output signal is available at output terminals. When series switch is OFF,
ground switch is ON and output terminal is held at ground level. The switch
positions can be changed through application program by setting
corresponding bit of corresponding output byte.
The module requires external 24 VDC for DAC circuit operation. Internally
DC-to-DC converter generates ± 12 VDC and ± 5 VDC as required for each
channel. If 24 VDC is absent or on board fuse is blown, module generates
'No 24 V Supply' signal for CPU module. Miniature glass fuse protection (315
m Amp.) for external 24 VDC supply is provided on module.
The module provides 16-bit resolution (15 bit + 1 sign bit). The figure above
shows digital data and associated output voltage values.
For voltage range of –10 V to +10 V, the digital value ranges from -32,000 to
+32,000 through 0.
The resolution is the smallest detectable change in analog output signal.
For –10 V to +10 V range, the voltage span is 20 V and there can be 64,000
(15 bits) equal steps. Each step corresponds to –
20 V / 64,000 = 312.5 µV
The table below shows typical data values in decimal as well as hexadecimal format and their
equivalent voltage values.
Logic Scan
No 24 V Supply Ix.4 IMM_IN
EN ENO
SLOT
Output Scan
Output Image Channel 1
Channel 1 ON/OFF Qx.0
Channel 2 ON/OFF Qx.1
Channel 3 ON/OFF Qx.2 Logic Scan
Channel 4 ON/OFF Qx.3 IMM_OUT Module Channel 2
EN ENO Interface
SLOT circuit
Channel 3
DATA
LEN
ADDR
The module consumes 8 input bits (1 byte) of input image and 8 output bits
(1 byte) of output image in the CPU module. CPU reads the status of module
in input scan. For the details, refer chapter 2.5. CPU writes user commands
to module in output scan. User can issue command to switch ON/OFF
channel through output image. For the details, refer chapter 2.4. For
immediate updation of input and output image in application program,
IMM_IN and IMM_OUT functions can be used whenever required.
Data from PLC variable area of CPU module e.g. memory or page is
transferred to module memory when 'WRITE_W' function gets executed in
application program i.e. in logic scan. This data in turn is transferred to DAC
registers addressed from # 0. Data for channel 1 is transferred to register
address # 0 while data for channel 2 is transferred to register address # 2
and so on. DAC converts this binary data to an equivalent analog output
voltage. To get analog output voltage, channel should be ON. When
corresponding output bit is set, channel is ON and analog output is available
at output terminal as per data.
CPU writes user commands to module in output scan. User can issue
command to ON/OFF channels individually through output image. When
Qx.0 bit is set, channel 1 gets ON and when Qx.3 bit is set, channel 4 gets
ON. Thus connecting analog output signal from output driver stage to output
terminal. The table below shows relevance of channels and output image
bits.
This feature is useful especially when analog outputs are used as speed
reference to the drives.
CPU reads the status of module in input scan. The information of availability
of 24 VDC signal is provided to CPU by module in the input image. The input
bit 4 is set if 24 VDC to module is not available or 315 mA glass fuse in DC-
to-DC converter is blown. In this case, analog voltage output remains at
zero. The specified range of 24 VDC supply to module is 18 to 30 VDC
including ripple. As long as 'No 24 V Supply' bit is ON, channel output
remains to be zero.
Normally input image is updated during input scan. For immediate updation,
'IMM_IN' function can be used in application program if required.
The installation procedure for analog voltage output module is same as any
other discrete I/O module.
1. Put the module in to the desired slot of the PLC
2. Tighten the screw provided at the top of the module
3. Connect the terminal block at the front of the module and tighten it.
The figure shows the connection diagram of 4-channel analog voltage output
module
Voltage
Output
01 VOUT1
02 GND1
03 SHIELD1
Earth VOUT2
04
05 GND2
SHIELD2
Connect this shield to Connect this shield 06
Earth busbar or to shield VOUT3
to ‘SHIELD’ 07
terminal on external GND3
terminal. 08
SHIELD3
Electronic controller to 09
VOUT4
which output signal is 10
GND4
connected. 11
SHIELD4
12
13
14
15
EARTH
16
FG
17
18
0V
19
+24 V.
20
GND + 24 V 4 CH
Earth Earth ANALOG O UT PUT
VOLT AGE
In figure 5, first channel is connected for analog voltage output (-10 VDC to
+10 VDC). For interfacing analog signals, 20-pin removable terminal block is
provided. Voltage output is taken from terminals V OUTn and GNDn. n is a
channel number.
Being susceptible to industrial noise, analog signal is to be carried out on the
field through shielded cable. Connect one end of shield (towards analog
voltage output module to SHIELD terminal on 20 pin terminal block. This
SHIELD terminal is internally connected to frame ground. Connect other end
of shield (toward external device to which analog output signal is connected)
The configuration consists of configuring the slot for analog voltage output
module (like any other discrete IO module) only. The Programming and
Documentation software is used for configuration and programming.
The module consumes 1 byte of input image and 1 byte of output image. The
input image is used for reading status of module. The output image is used
for writing user commands to module. The corresponding output bit can be
set to switch ON the channel. Refer to Chapter 2.4 for more information.
Input module in first two slots consumes IB0 to IB7 of input image. 4 channel
analog voltage output module in slot 2 consumes one byte i.e. IB8 of input
image and one byte i.e. QB8 of output image. 16 DC output module in slot 3
consumes QB9 and QB10 of output image.
4.2 Programming
The WRITE_W function below shows data transfer from the CPU module’s
memory to analog voltage output module’s registers. The details of transfer
are –
WRITE_W function gets executed when condition for enable 'EN' is ON.
ENO bit becomes ON when function is enabled and executed. If function
parameters are invalid e.g. address is above # 6, length is greater than 4,
etc or slot number is wrong, etc. then function is not executed.
Example of basic application program is given below. For the same, refer
Nexgen PLC configuration shown in chapter 4.1.
I8.4 is a module status bit as 'No 24 V Supply' bit. I8.4 is set if 24 VDC supply
to 4-channel analog output module is absent or on board glass fuse is blown.
S4.2 is a Module Error bit for module in slot 2. This is indication of error in IO
configuration in slot 2.
M0.7 Q8.0
+---| |---+---------+---------+---------+---------+---( )---
If all the four channels are used in above case, set Q8.1, Q8.2,Q8.3. The
data in MW102 corresponds to channel 2.The data in MW104 corresponds to
channel 3. The data in MW106 corresponds to channel 4. In 'WRITE_W'
function, length should be 4 in this case.
For immdiate updation of input and output image, 'IMM_IN' and 'IMM_OUT'
functions can be used repectively,in application program when ever required.
5. Application Example
In this chapter basic example is given to get started with analog voltage
output module. The example demonstrates how to configure the module and
develop application program. This example is discussed only for
understanding purpose.
5.1 Example
Drive speed control in forward / reverse direction as per speed setting from
MMI
This example illustrates how speed of motor in forward and reverse direction
is controlled using analog voltage output module and use of channel ON/OFF
switches to clamp analog output to exact zero.
Inverter is used for controlling speed of motor, which in turn controls speed of
line. Speed reference is given through analog voltage output module.
Operator sets speed on MMI as Meters per Minute. The setting of speed is
from 0 to 5.00 Meters per Minute.
Follow the steps below –
Step 1: Feasibility Study
It is necessary to carry out feasibility study. This helps to know – with what
precision control is possible. The useful things are -
• Range and resolution of analog output module. The range is –10 to +10
V. The resolution is 312.5 µV.
• Required precision. 0.000 to 5.000 meters per minute in steps of 0.001
meters per minute
Thus 0 to 5 meters per minute corresponds to 0 to 10 Volts. For 0 to 10 volts,
the steps are 32000 with resolution of 312.5 µV. Thus precision of control is
5 / 32000 = 0.00015 meters per minute. This is much more than required
(0.001 meters per minute). This is also applicable when motor rotates in
reverse direction.
Step 2: Ensure power connections
Ensure 24 VDC power connections to the analog voltage output module.
Connect 24 VDC to terminal number 20 and ground to terminal no.19.
Connect terminal 16 (Earth) and 17 (FG) to earth busbar in control panel
independently.
Step 3: Connect Analog Signals
While connecting analog signals, take precautions as explained in chapter 3.
Here channel 1 is used to provide speed reference to inverter.
Step 4: Configure the PLC
Configure the analog output module like any discrete IO module using
Programming and Documentation software.
The figure shows slot number, type of module and its address.
M0.0 Q4.0
+---|/|---+---------+---------+---------+---------+---( )---
Step 7: Transfer the program to the PLC and test is as per requirement.
6. Troubleshooting
In this chapter, following points related to analog voltage output modules are
discussed.
• LED Indications for Troubleshooting
• Fault Diagnostic of Module
The following table explains significance of LED provided on the front side of
module. These LEDs are very useful for diagnosis of module in case of any
fault condition.
• Module as a whole
• Specific channel only
• Application Program.
In first two cases, replacement of module is required where as third case can
be sorted out by on line monitoring of application program.
Equipment required
Following equipments are required for fault diagnosis of analog voltage
output module
• Screw driver
• Digital multi-meter with measuring facility for
o DC voltage (with high precision)
o Continuity and resistance
• Set up for on line monitoring of application program as follows
o PC with Programming and Documentation software.
o PC to Nexgen PLC Cable
Diagnosis Over
ON No 24V Supply OFF
LED status? IO ERR LED
ON Status ? OFF
Replace Module
Module Error
ON System bit Status? OFF
Replace Module
YES Module NO
working OK?
Replace Module
Voltage output OK as
NO per binary data? YES
Voltage output OK as
NO per binary data? YES
Voltage output OK
YES as per binary data? NO
Note – For healthy operation of module always ensure that supply to module
is within specified range i.e. 18 VDC to 30 VDC including ripple.
If PLC is in 'STOP' mode, channels are in OFF condition with channel LED
indications OFF. In this case, channel output terminals are connected to
ground by channel switches.
MESSUNG SYSTEMS
EL – 2, J - Block, MIDC, Bhosari,
PUNE – 411 026. INDIA
Tel. – (+91) –020 – 712 0807, 712 2807
Fax. – (+91) –020 –712 0391