4 2HighSpeedMixAnalog (4366) Manual
4 2HighSpeedMixAnalog (4366) Manual
User Manual
MESSUNG SYSTEMS
High Speed Mix Analog Module
(Ordering Code – 4366)
Index
1. Module Overview------------------------------------------------------------------------------------------------------------------------------------------1.1
1.1 High Speed Analog Input Output Module Overview------------------------------------------------------------------------------1.1
1.2 LED Indication------------------------------------------------------------------------------------------------------------------------------------------------1.3
1.3 General Specifications----------------------------------------------------------------------------------------------------------------------------------1.4
2. Module Operation----------------------------------------------------------------------------------------------------------------------------------------2.1
This is high speed mix analog module. It provides four differential analog voltage input channels and two non-
isolated analog output channels. Four differential analog voltage/current inputs are converted into equivalent
binary numbers and for two channels, binary data from CPU module is converted to equivalent analog voltage
output. For analog input, this is sigma delta type analog to digital conversion where as for analog output. R-
2R type of digital to analog conversion is used. ADC is with 16-bit resolution. DAC is with 12-bit resolution.
Conversion time for ADC is 1 ms per channel. Conversion time for DAC is 200 µs
The analog range supported is.
Analog input
0 to +10 VDC
0 to 20 mA
Analog output
0 to +10 VDC
The resolution is 312.5 µV/ 625 µA for analog input. The resolution is 2.50 mV for analog output.
This is an intelligent module with on board processor and memory. The data transfer between CPU module
and high speed mix analog module takes place by 'READ_W' and 'WRITE_W' functions in application
program. The module status is available in input image.
The figure 1 on next page shows front view of high speed mix analog module.
NO 5 V SUPPLY
01 Module
02 CPU FAULT Status
03 ADC FAULT LEDs
04
05
06
07
08
09
10 CH0
11 Channel
CH1
Front Shield 12 Status
CH2
Plate 13 LEDs
CH3
14
V0 +
15
16
I0 +
17
18
V2 + IO Label
38 Pin COM 0
Removable 19
I2 +
Terminal Block 20
V1 +
21
COM 2
22
I1 +
23
V3 +
24
COM 1
25
I3 +
26
VOUT 1
27
COM 3
28
AG
29
VOUT 2
30
31
AG
32
33
34
FG
35
36
Terminal Block
37
Fixing Screw 38
The module provides LED indications on the front. Brief information about channel can be written on the front
door. Behind front door, 38-pin removable terminal block is provided for interfacing. The wiring details are
shown on backside of front door.
The high speed mix analog module can be configured in any IO slot of the PLC. The number of high speed
mix analog module is limited by back panel current capacity.
Item Description
Number of analog input channels 4 differential
Conversion Method Sigma Delta
Input voltage 0 to 10 VDC
Input Range 0 to 32000 ( Unipolar )
312.5 µV ( 15 Bits )
Resolution
625 µA ( 15 Bits )
%
Accuracy
%
Conversion time 1 ms per channel
Isolation Channel to channel Nil
Channel to internal circuit 1.5 KV optical
Input impedance for voltage input 1 MΩ
Input impedance for current input 500 Ω
• Block Diagram
• Input Range
• Output Range
• On-Board Processor Operations
• Module Information
At the time of application program development, the module can be configured using the programming
software DOXMINI+. Refer chapter 4 for configuration and programming details.
Watch Σ/∆
Dog Analog to
+5V
Digital
Converter Channel 0
0 to +10 VDC
On board Channel 0 0 to 20 mA
Processor Input 500 Ω
O Instrumentation Circuit
P Amplifier
T
I
Memory for C
Configuration, A Channel 3
Data, Status L Channel
Information 0 to +10 VDC
Multiplexer
Channel 3 0 to 20 mA
I Input 500 Ω
S Circuit
O
L
A Output 0 Driver
T Channel 0
I DAC0
R-2R
O 0 to +10 VDC
CPU N Output Signal
Module
Module
Interface Output 1 Driver
Circuit
Channel 1
DAC1
R-2R
From 0 to +10 VDC
Back Output Signal
Plane
+15 V
+ 5 VDC
-15 V Isolated
DC-to-DC Supply for
Converter +5 V
5 V GND Analog Circuit
GND
The input channels can be independently enabled or disabled. The analog input data information is available
in dual port RAM on the module. The input channel selection information is transferred to the module memory
using WRITE_W function in the application program. Similarly data of all channels can be read by READ_W
function in the application program.
The module also provides two digital to analog channels. CPU bus is optically isolated from DAC circuit. The
data from CPU for two channels is stored in dual port module memory registers. DAC (R–2R type) converts
binary data to an equivalent analog output voltage. The module provides proportional 0 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.
The module works on 5 VDC supply from back plane. 5 VDC supply is directly given to digital circuit. Also,
DC-to-DC converter generates isolated ± 15 VDC and + 5 VDC as required for analog section. If isolated
supply doe analog section is not available to module, it generates 'No 5 V Supply' signal for main CPU.
625 µA 20.48 mA
$1 $ 7FFF
0 VDC 20 mA
$0000 $ 7D00
The module provides 15-bit resolution. The figure above shows digital data and associated input voltage
values.
For the range of 0 to +10 V ( 20 mA ), the digital value ranges from 0 to +32,000.
For 0 to +10 V range, the voltage span is 10 V and there can be 32,000 (15 bits) equal steps. Each step
corresponds to –
10 V / 32000 = 312.5 µV
Similarly, for 0 to 20 mA range, the current span is 20 mA and there can be 32,000 (15 bits) equal steps.
Each step corresponds to –
20 mA / 32000 = 6250 µA
Input Voltage Value Input Current Value Data (Decimal) Data (Hexadecimal)
0 0 0 0
312. 5 µV 625 µA 1 1
1V 2 mA 3200 C80
2V 2 mA 6400 1900
3V 2 mA 9600 2580
4V 2 mA 12800 3200
5V 2 mA 16000 3E80
6V 2 mA 19200 4B00
7V 2 mA 22400 5780
8V 2 mA 25600 6400
9V 2 mA 28800 7080
10 V 20 mA 32000 7D00
10.24 V 20.48 mA 32767 7FFF
The module provides 12-bit resolution. The figure above shows digital data and associated output voltage
values.
For voltage range of 0 to +10 V, the digital value ranges from 0 to +32,000 for user convenience.
For 0 to +10 V range, the voltage span is 10 V and there can be 4,000 (12 bits) equal steps. Each step
corresponds to –
10 V / 4,000 = 2.5 mV
The table below shows typical data values in decimal as well as hexadecimal format and their equivalent
voltage values. Even though resolution is 2.5 mV ( 4000 steps in 0 to 10 VDC ), input range provided is 0 to
+32,000 for user convenience.
The high speed mix analog module is intelligent module with on-board processor. The functions of on-board
processor are explained below.
After power ON, if isolated supply for analog section is absent then on-board processor sets Ix.0 bit in input
image. After power ON, this processor checks the hardware called as self test. During self-test, Ix.7 bit is set
in case of watchdog fault and digital section hardware fault. Also ‘CPU Fault’ LED on front panel is put ON
indicating that module is not accessible. Also, during module operation if digital section hardware is found
faulty or watchdog error is detected, Ix.7 bit is set.
If module CPU section is healthy, Ix.7 bit is cleared. The default values are loaded for some parameters such
as analog input filter values, etc. Module starts ADC and DAC conversion as per data information available in
module memory. As per input channel selection, module starts sampling and digital conversion cycle of
enabled channels. For more details of IO image of module, refer chapter 2.4.4. If ‘ADC hardware’ fault is
detected, Ix.6 bit in input image is set and analog input channel data is not updated.
The module continues sampling, converting the channels and updating module memory even after main CPU
is put in STOP mode. But In this case, CPU module does not read the channel data and status.
For analog output channels, module reads channel binary data from module memory and converts it to an
equivalent analog output voltage. The module provides proportional 0 to + 10 VDC. In case of ‘ADC Fault’,
analog output is updated as per binary data.
The module samples an analog input channel and converts analog input to its digital value one by one. After
power on, conversion is started for enabled analog input channels. The disabled are bypassed retaining
earlier values. After one channel conversion, module initiates next channel conversion. During this conversion
period, module processes converted data of previous channel. The processed data for previous channel is
made available during this period. After converting all healthy channels, processed data of all the channels is
transferred to respective memory area on the module. This cycle continues. Thus when the processor module
performs READ_W operation, it reads either old or new information i.e. data and status of channels.
Update all
channel data
The module takes certain time to sample all enabled channels and convert into digital value. The factors
affecting module update time is number of channels enabled. The module update time is minimum when only
one channel is enabled. Likewise the module update time is maximum when all channels are enabled.
Module provides analog input channel data as instantaneous value as well as filtered value. This is a digital
filter implemented in software algorithm. User can set three parameters for the filter, which is applicable for all
the four analog input channels. The significance of three filter parameters is explained below.
Band 1 is a band within which analog input count is treated as valid analog input count. Module samples
analog input channel in its scan and converts to equivalent binary count. This ADC cycle is explained in
chapter 2.3.2. Module compares current count with previous count and if current count lies within ± band 1,
then current count is valid count and respective memory locations are updated accordingly. If current count is
crossing the band 1, then previous count is considered as valid count and respective memory locations are
not updated. As explained in chapter 2.2, for analog input from 0 to 10 V, module provides equivalent 0 to
32,000 counts. If band 1 value is 50, then acceptable band is previous count ± band 1value.
Band 2 parameter comes in picture when current analog input count crosses band 1. Once current count has
crossed the band 1, this changed count is stored in temporary memory location. Previous count is treated as
valid count. Now current analog input count is compared with band 2. This is to confirm whether the change in
analog input count is a valid change or some erroneous change due to noise, etc. If current count is within
band 2 , then current count replaces earlier count in temporary location. In this way if number of successive
samples of current count lies within band 2, then only the change in analog input count is treated as valid and
current count is transferred to respective memory location. Parameter delay count decides for how many
samples the change in analog input count is to be confirmed. If at any point, current count is again not within
band 2, then changed value replaces earlier count in temporary memory location and again change is
validated for number of samples as defined in parameter delay count. Thus, once the change in analog input
is detected, it is confirmed if number of samples lies within a band defined as temporary memory location
count ± band 2 value.
Temporary Memory
location
Analog input
Band 1
Sampling Instance
Band 1
Module memory location for
analog input channel data
Filtered
Analog input
count
Once ADC cycle is over, module reads the binary data from respective memory locations and transfers that
data to DAC serially. DAC converts binary data to equivalent voltage signal. This signal is then amplified by
amplifier. The amplifier stage has presets for adjusting offset and gain. The output of amplifier is 0 to 10 VDC
signal. The presets for offset and gain adjustments are factory set and should not be tampered.
This section explains the entire information required and available with high speed analog module. The
following points are discussed
Input output image mapping related to high speed mix analog module is shown below.
Input Image
Input Image Channel 0
Input Scan
No55VVSupply
No Supply Ix.0
Ix.0
Channel 1
Logic Scan
Analog
IMM_IN Input
ADC Fault Ix.6 EN ENO Channel 2
CPU Fault Ix.7 SLOT
Module
Interface Channel 3
circuit
Channel 0
Analog
Output
Channel 1
Figure 7 - Input Output Image Mapping of High Speed Mix Analog Module
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 immediate updation of input image in
application program, IMM_IN functions can be used in application program whenever required. For the details
refer chapter 2.4.4.
The memory mapping related to high speed analog module is shown in figure below.
6 Words 6 Words
Analog input channels enable/disable MW50 Analog input channels enable/disable MMW00
Analog output channel 0 data MW52 Analog output channel 0 data MMW02
Analog output channel 1 data MW54 WRITE W Analog output channel 1 data MMW04
Analog input filter value 1 MW56 EN EN Analog input filter value 1 MMW06
Analog input filter value 2 MW58 SLO Analog input filter value 2 MMW08
Analog input filter value 3 MW60 Analog input filter value 3 MMW10
DAT
LE
ADD
9 Words 9 Words
Analog input channel 0 data (Filtered) MW100 Analog input channel 0 data (Filtered) MMW256
Analog input channel 1 data (Filtered) MW102 Analog input channel 1 data (Filtered) MMW258
Analog input channel 2 data (Filtered) MW104 READ W Analog input channel 2 data (Filtered) MMW260
Analog input channel 3 data (Filtered) MW106 E EN Analog input channel 3 data (Filtered) MMW262
Analog input channel 0 data (Instant) MW108 SLO Analog input channel 0 data (Instant) MMW264
Analog input channel 1 data (Instant) MW110 Analog input channel 1 data (Instant) MMW266
DAT
Analog input channel 2 data (Instant) MW112 Analog input channel 2 data (Instant) MMW268
Analog input channel 3 data (Instant) MW114 LE Analog input channel 3 data (Instant) MMW270
Module scan time MW116 Module scan time MMW272
ADD
The analog input channel enable/ disable configuration and filter values from PLC variable area e.g. memory
or page is transferred to module memory when WRITE_W function gets executed in application program i.e.
in logic scan. The module takes appropriate action on configuration information change immediately. After
power on, the module starts converting enabled input channels. If filter values are modified or channel is
enabled / disabled, it takes effect only in the subsequent conversion cycle. The configuration, filter values can
be modified by using WRITE_W function. Similarly channel can be enabled or disabled during normal
operation for optimum results.
CPU writes binary data for two analog output channels to module memory words. The module coverts this
data to equivalent analog output voltage. These values can be modified by using WRITE_W function.
The analog input channel readings and module scan time count can be read from the module using READ_W
function.
As discussed in chapter 2.4.1, input image bits are used as module status indications. User can check the
module status through application program. The module writes status in its input image area cyclically. The
CPU reads this input image area in input scan. If 'IMM_IN' function is executed in logic scan for a particular
slot, it stops current logic scan, executes input scan for defined slot and resumes logic scan again. This is
useful when ever immediate updation of input image is needed. The functions of input image bits are given
below
Bit
No. Module Status Status Description
Address
ON Isolated supply to analog section is absent or faulty
1 Ixx.0 No 5 V Supply
OFF Isolated supply to analog section is healthy
2 Ixx.6 ADC Fault ON ADC hardware fault
OFF ADC healthy
Module CPU watch dog fault
Ixx.7 ON
3 CPU Fault Module not ready.
OFF Module CPU section healthy and ready
Whenever accessing the module, user must check the module status bit Ix.0 and Ix.7. Whenever, isolated
supply to analog section is absent or faulty, ‘No 5 V Supply’ bit Ixx.0 is set. In this case, ‘ADC Fault’ bit Ixx.6
also set.
• Module Installation
• Connection Details
• Precautions to be taken
The installation procedure for high speed mix analog module is same as any other discrete I/O module.
The figure on next page shows the connection diagram of high speed mix analog module
+ 30
VOUT 2
0 to 10 VDC Output 31
- 32
AG
33
34
FG
35
36
37
38
In figure, analog voltage input is connected to channel 0 and analog current input is connected to channel 2.
For interfacing analog signals, 38-pin terminal block is provided. Analog voltage input is connected to Vn+
and COMn terminals, where n is a channel number. Ensure correct polarity of analog input. Analog voltage
input 0 is to be connected to terminal numbers 15 and 19. Analog voltage input 1 is to be connected to
terminal numbers 21 and 25. Analog voltage input 2 is to be connected to terminal numbers 18 and 22.
Analog voltage input 3 is to be connected to terminal numbers 24 and 28.
Analog output is taken from VOUT n and AG. Analog output 1 can be taken from terminal numbers 27 and
29. Analog output 2 can be taken from terminal numbers 30 and 32.
For functioning of high-speed mix analog module, 5 VDC supply is taken from back plane hence no external
supply is required.
All the normal precautions concerning the wiring and protection of an electronic equipment in an industrial
environment should be observed. To guard against coupling noise from one conductor to another, follow the
guidelines given below.
• All power circuit wiring e.g. connected to power supply module, power contactors, etc i.e. high voltage
wiring should be kept separate and apart from thermocouple signals.
• Digital input wiring and digital output wiring (especially, relay output and AC output) should be
separately bundled and kept as apart as possible from analog signals.
• Analog signals should be carried through shielded cables.
Depending upon the type of modules used in PLC, separate ducts should be provided for
• Avoid parallel routing of cables carrying analog signals and power cables, etc over long distances
• Ensure that cables carrying analog signals cross at right angles to power cables so that minimum
length of cable will be in close vicinity of power cables.
• Run cables on metallic surfaces
• Avoid number of joints
• Keep cable lengths as short as possible.
The high speed mix analog module provides 4 analog input channels and 2 analog output channels, which
can be independently operated. Configuring the slot for high speed mix analog module is just like any other
discrete IO module only. The programming and documentation software DOXMINI+ 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. For more details, refer chapter 2.4.4.
The IO byte consumption along with configuration of Nexgen PLC is shown below.
Input module in first slot 0 consumes IB0 to IB3 of input image. Output module in slot 1 consumes QB4 to
QB7 of output image. High speed mix analog module consumes IB8 of input image and QB8 of output
image.16 DC Output module in slot 3 consumes QB9 and QB10 of output image.
The high speed mix analog module can be configured in any slot of PLC. It provides 4 differential input
channels and 2 non-isolated output channels. Analog input channels can be independently used for voltage or
current inputs. Following information is provided by CPU module to high speed mix analog modules
• Channel enable/disable
• Analog input filter values
• Analog output binary data
This information is transferred to module memory by using 'WRITE_W function. The module takes action on
this information immediately in its own scan.
Bit wise information is stored in module memory word MMW #0 for four analog input channels as shown
below.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Analog Input 0 Enable 1
Disable 0
Analog Input 1 Enable 1
Disable 0
Analog Input 2 Enable 1
Disable 0
Analog Input 3 Enable 1
Disable 0
Analog input 0 enable/disable bit is bit 0 of MMW#0 and so on. If this bit is set, analog input channel 0 is
enabled and module samples and converts input to equivalent binary value. Channel 0 data is updated
accordingly. Also, corresponding channel LED indication (green) on module is switched ON indicating that
channel is enabled. If this bit is reset, analog input channel 0 is disabled and the channel is not sampled and
channel data is not updated. Corresponding channel LED indication on module is switched OFF.
During module power ON, default value $000F is loaded to MMW#0 enabling all the four analog input
channels. At the same time, all four channel LEDs are switched ON. User can modify this word by WRITE_W
function for optimum module scan time.
Module memory word MMW #2 holds data for analog output channel 0 whereas MMW #4 holds data for
analog output channel 1.
The data range is from 0 to 32,000 for 0 to 10 VDC output. For more details of analog voltage output and
equivalent binary data, refer chapter 2.2.
Three filter values are to be programmed for stable analog input reading as per varous site conditions. These
three values are written to module memory words MMW#6 to MMW#10.
During module power ON, following default values are loaded.User can modify these words by WRITE_W
function as per site conditions to get stable analog input reading.
For the configured channels, necessary information is available as filtered channel data and instantaneous
channel data.
Module memory words MMW #256 to MMW #262 are module memory words for four channel readings
updated after applying software filter. Module memory words MMW #264 to MMW #270 are module memory
words for four channel readings updated immediately.
For enabled channels, this information is updated cyclically in module. The data is read and stored using
READ_W function in application program.
Module scan count is available in module memory word MMW#272. The time in nano seconds can be
calculated as below.
-9
Module scan time in ns = Module scan count x 375 x 10
available in MMW#272
The data in PLC variables is transferred to the high speed mix analog module when 'WRITE_W' function is
executed. The data in the PLC variables can be updated using functions like 'MOV_W', arithmetic or any
other functions. The data from high speed mix analog module memory can be transferred to PLC variables
when 'READ_W' function is executed.
The WRITE_W function below shows data transfer from the CPU module memory to high speed mix analog
module memory. The details of transfer are -
'WRITE_W' function gets executed when condition for enable 'EN' is ON. 'ENO' output becomes ON, when
EN is ON and function is executed successfully. ENO is OFF if
So 6 words (MW50 to MW60) information from CPU memory is transferred to the memory at address #00
onwards of high speed mix analog module fitted in slot 2.
The 'READ_W' function below shows data transfer from the high speed mix analog module memory to CPU
memory. The details of transfer are -
‘READ_W' function gets executed when condition for enable 'EN' is ON. 'ENO' output becomes ON, when EN
is ON and function is executed successfully. ENO is OFF if
So 9 words (MMW256 to MMW272) information on high speed mix analog module fitted in slot #2 are
transferred to the CPU memory words (MW100 to MW116).
Example of basic application program is given below. For the same, refer Nexgen PLC configuration shown in
chapter 4.1.
I 8.0 is a module status bit as 'No 5 V Supply' bit. I8.0 is set if 5 VDC supply to module is not healthy.
I 8.6 is a 'ADC Fault' bit. It is set in case of ADC circuit hardware fault. If this bit is set, analog input channel
readings are not updated.
I 8.7 is a module CPU circuit status bit as 'CPU Fault' bit. This is set in case of watchdog fault.
While developing application program, first check whether the module is healthy. For the same, check
'Module Error' bit S 4.2, 'CPU Fault' bit I8.7 and 'NO 5 V Supply' bit I8.0. If any bit is set, declare respective
fault. In this case, module is not accessible. If all these bits are OFF, then only enable 'WRITE_W' and
'READ_W' functions for high speed analog module.
Check 'ADC Fault' bit I8.6 while reading analog input channel data. In case of ADC fault, analog input channel
data is not updated and so data is not valid.
During self test of module at the time of power ON, default values are loaded in MMW#0 and MMW#6 to
MMW#10. This enables all the four analog input channels indicated by four channels status LEDs. Default
filters values are also loaded. If user wants to continue with this configuration, it is not necessary to write the
configuration again. If user wants change the configuration, it can be done using WRITE_W function as
explained further.
• Module Error bit becomes OFF i.e. System bit S4.2 is OFF
• No 5 V Supply bit becomes OFF i.e. Input bit I8.0 is OFF
• CPU Fault bit becomes OFF and Input bit I8.7 is OFF
• Any other condition as per requirement of application program e.g. memory bit M2.0 is ON.
If 'WRITE_W' function is executed successfully, M2.2 bit becomes ON for one scan duration. If this bit is not
ON even if function enable conditions are ON, declare fault and take appropriate action.
When 'WRITE_W' function is executed, necessary data from PLC variables MW 50 to MW60 is transferred to
module memory MMW#00 onwards. The significance of PLC variables is as given below.
After transferring this information to high speed mix analog module memory, module starts functioning as per
requirement. Enable 'READ_W' function with any condition M1.0 with interlocks of Module Error bit S4.2,
'CPU Fault' bit I8.7 and ‘ADC Fault’ bit I8.6. When 'READ_W' function is executed, the analog input channel
readings stored in module memory MMW#256 to MMW#270 and module scan count stored in MMW#272 are
transferred to CPU memory MW100 to MW#116 respectively.
After execution, filtered analog input data from four channels is available in PLC variables MW100 to MW106.
Instantanous analog analog input data from four channels is available in MW108 to MW114. Module scan
count is stored in MW116. This data can be proceesed further in application program.
User Manual
Document No.