Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

2 GENERAL SPECIFICATIONS MOUNTING

USER MANUAL FOR To mount expansion on the DIN rail,


Technical specifications are as given in the table below; 1. Pull the DIN clip downwards till it clicks 3. Push the DIN clip upward till it clicks
Analog Output Number of channels 2, Non-Isolated 2. Hook expansion unit on the rail and push down on the rail 4. The unit will clamp on the rail.
Expansion Module D/A conversion type R-2R ladder
The figure below shows back side view expansion unit after mounting on DIN rail.
NE02AX Analog output type Voltage output Current output
(software configurable) 0 to 10 VDC -10 to +10 VDC 0 to 20 mA 4 to 20 mA To prevent horizontal dislocation in transit or in anticipated
Hook vibration in the installation, the DIN rail mounted units may be
MESSUNG SYSTEMS - Headquarters : Resolution [12 bits] 2.44 mV 4.88 mV 4.88 µA 3.91 µA locked in place using end clamps on either side.
Kohinoor House, EL-2, J- Block, MIDC, Bhosari, Pune - 411026. (INDIA) AUTOMATION PEOPLE
Digital input 0 to 4095 -2048 to 2047 0 to 4095 0 to 4095 DIN rail Recommended DIN rail types: -
± 0.2 % of ± 0.2 % of ELMEX: SCKU / SCUN
at 25 °C
Overall ± 0.2 % of ± 0.1% of FS ( ± 40 µA ) FS ( ± 32 µA ) CONNECTWELL: CA702/802/202
DIN clip
Accuracy* FS ( ± 20 mV ) FS (± 20 mV) ± 0.3 % of ± 0.3 % of
USER SAFETY GUIDELINES at 55 °C
FS ( ± 60 µA ) FS ( ± 48 µA )
WAGO 249-116/117

• Any commissioning or service engineer must be of a competent nature, trained and qualified to the local and national standards required to fulfill Load > 5 KΩ 0 to 500 Ω (Inclusive of wire resistance)
that job. These engineers should also be trained in the use and maintenance of the completed product in a safe and coordinated manner in Expansion Unit backside view
compliance to established safety practices.
Channel update time 1 ms for two channels
• Provide external interlock circuit like emergency stop or protective circuit to keep the systems safe in case there is problem in the PLC. Output settling time 2 msec inclusive of output rise time for 0 to 10 VDC typically To remove unit from the rail, follow the reverse of process given above.
• For output, place fail safe protective circuit external to PLC to ensure product operates safety in case of PLC fault condition. Also built external Channel to channel Nil
output monitoring circuit to identify the output to which the problem has occurred. Isolation
Channel to backplane Optical 1.5 KV INTERFACING EXPANSION
• Protect the product from conductive dust, corrosive gases, wire debris, flammable gases, rain and fluid from entering into the product through
ventilation slits. Product should not be exposed to high explosive risk, excessive magnetic interference & inflammable substances. Module current consumption 125 mA at 24 VDC, expansion unit is powered by base unit through expansion cable Up to 4 expansion units can be interfaced to a base unit. Expansion unit has interface cable strip (300 mm length) with polarized plug on
• Do not paint the product.
the left side. This interface cable can be connected to a base unit or another expansion unit. It also has a socket on the right side to which
Output short / open circuit protection Continuous another expansion unit can be connected.
• Do not modify, dismantle, re construction and repair the product. If this product emit smoke or an unusual odour or unusual sound or unusual
operation, immediately switch OFF the power to the product. If the product is continued in operation under such state, this shall result in fire & CPU can write channel configuration and data to expansion unit buffer memory by The figure below shows expansion unit interfaced to a base unit.
Module access
damage the product. Contact the nearest authorized Sales / Repair agency of this product. executing function IM_Write
• The unit supply is 24 VDC as supplied by base unit. Utmost precaution is required to be taken to avoid connection of AC mains to the supply I/O memory consumption 16 input points + 16 output points
or any of the DC input or Output terminals. Connecting mains to supply may damage the unit permanently. The Relay wiring, if on AC, should
be effectively isolated from DC wiring physically. Operating temperature 0 to 55 °C ambient
• This product does not contain any intentionally added mercury or cadmium. In case this product is required to be disposed off it should be I/O connections 10 pin removable terminal block
done treating it as 'Industrial Waste' and disposed off adhering to all relevant local and national laws of the concerned country.
EMC is applicable as per base unit. *Overall accuracy includes offset, gain error and non linearity and repeatability.

1 OVERVIEW
This is Nexgenie series expansion module. It provides 2 non isolated channels and 12 bit resolution DAC, is used to convert 12 bits digital 3 LED INDICATIONS
value into four types of analog outputs : 0 to 10 VDC, -10 to +10 VDC and 0/4 to 20 mA. This is R-2R ladder type D/A conversion. The
individual channel can be configured for specific type of output range. LED Colour Status Significance

Output Type Data Resolution ON Expansion module is powered ON


Interface cable with
0 to 10 VDC 2.44 mV Expansion module is not powered ON
Socket on right polarized plug
-10 to +10 VDC 4.88 mV Base unit is not powered ON side of base unit
Base unit Expansion unit
4 – 20 mA 3.91 µA P Green Expansion module is not interfaced to base unit/ previous expansion module
OFF
0 – 20 mA 4.88 µA Expansion cable fault
Follow the steps below to connect expansion unit to base unit or to another expansion unit.
Expansion hardware fault
1. Remove terminator plug of the base or previous expansion unit.
Highlights of module Base unit power supply fuse is blown OFF 2. Pull the DIN clip of expansionunit downwards till it clicks.
• Analog output type is selected by software configuration for individual channel.
Communication with base unit is healthy 3. Hook expansion unit on the rail and push down on the rail.
• CPU can write channel configuration and data by executing function IM_Write in CoDeSys
OFF Expansion module is not interfaced to base unit 4. Insert interface cable plug into the socket of the earlier unit till it fits snugly at the end of the cable.
application.
5. Slide the expansion unit towards the earlier one.
This analog output module gives output (i.e. voltage / current) equivalent to channel data. Expansion module is not powered ON
6. Push the DIN clip upward till it clicks.
The parameters transferred to the module for processing are; E Yellow No communication with base unit due to 7. The unit will clamp on the rail.
• Channel output type configuration write – CPU is put in STOP mode
ON – Expansion cable fault 8. Repeat this process for other expansion units.
• Channel data write
– Expansion module hardware fault. 9. Ensure that the terminator plug is in place on the last expansion unit.
The module provides diagnostic information for each channel. It includes; – Base unit hardware fault
• Open circuit detection for current output type. In case of 0 to 20 mA output type, open circuit Expansion unit connection in power on condition is not permitted.
is detected when non-zero channel data value is written ON Channel 0/1 healthy
This is an intelligent module with on-board processor and memory. The data transfer between Channel 0/1 not generating output due to :
CPU and analog output module takes place by executing 'IM_Write' function in the application
program. The module status is available in input image bits.
– Invalid data
– CPU in STOP mode 5 WIRING DETAILS
Fig. 1 : Front view OFF
0/1 Green – CPU missing Module provides 10-pin removable terminal block for analog output. The figure below shows channel 0 configured for voltage output and
– Onboard analog PSU section fault channel 1 for current output.
– DAC temperature excessively high
NOMENCLATURE Channel 0/1 faulty due to open circuit for current output Shielded twisted cable
Blinking + +
(Open cuircuit is detected for 0 to 20 mA, when non-zero data value is written) Voltage
Vo0 Load output


Status LEDS 4 INSTALLATION
DIMENSIONAL DETAILS
The figure below shows expansion unit views with dimensions along with standard TS 35 DIN rail. All dimensions are in mm. +
Flap with Label Current
Input Connector
58 65 Io0  output

1 mm

Connection Cable
35 mm

Fig. 2 : Connection details


97

DIN Clip
Voltage output is available between terminals 01 and 03 for channel 0 and between terminals 05 and 07 for channel 1.
7.5 mm Current output is available between terminals 02 and 03 for channel 0 and between terminals 06 and 07 for channel 1.
DIN rail

It is recommended to use shielded twisted pair cable to connect analog output signal from module to field device.
Left view Front view Connect cable shield at module end and at device end to proper earth directly
!
Example 2 [User defined configuration with 4 - 20 mA output type]
6 MODULE MEMORY MAPPING 7 PROGRAMMING
This programming example explains how to configure analog output channels for 4 to 20 mA output type. It is assumed that module is
Programmer writes module configuration by writing configuration information to specific module memory location (i.e. MMB 5220) by PLC application program is developed using programming software CoDeSys. configured in slot 2.
executing function IM_Write. Once configuration is over, programmer can write channel data to respective module memory word (MMW) By default, both channels are configured for 0 to 10 VDC output type. The POU named as “Expansion_2Ch_AO_Handling_4to20mA” need to be called in PLC_PRG.
by executing function IM_Write.
Programmer can write channel data (0 to 4095 for 0 to 10 VDC and current type output, -2048 to 2047 for -10 to +10 VDC type output) 0001 (*In this program block, configures analog channel outputs to 4 to 20 mA output type and writes data to output channel*)
Channel Configuration Byte to respective MMW by execution of IM_Write function in application program. 0002 PROGRAM Expansion_2Ch_AO_Handling_4to20mA
Channel Configuration MMB 5220 Module generates equivalent output signal at the channel. 0003 VAR
0004 SlotNum:BYTE:=2; (*To be intialized to slot number from 1 to 4 in which expansion module is fixed*)
Channel Data Word 0005 PSU_Fault AT %IX6.6: BOOL; (*TRUE if onboard analog section power supply is faulty*)
This section discuss actual application programs to handle analog output channels 0006 DAC_OverTemperature AT %IX6.7: BOOL; (*TRUE in case of DAC over temperature*)
Channel0 Data MMW 6100
Example 1 and 2 below handles single NE02AX module. 0007 Module_Ok: BOOL; (Becomes TRUE if expansion module is healthy*)
Channel1 Data MMW 6102 0008 Ch_config:BYTE:=16#OF; (*Here, both the channels are configured for 4 to 20 mA current output type
To handle more than 1 module,
0009 16#00 for 0 to 10 Vdc, 16#05 for -10 to +10 Vdc,
CHANNEL CONFIGURATION - Programmer has to create copy of respective program block (PRG type of POU)
0010 16#0A for 0 to 20 mA, 16#OF for 4 to mA*)
Right click on POU name in POU tab and Copy Object with New POU name. 0011 ConfigWrDn: BOOL; (*Becomes TRUE, if channel configuration is written successfully*)
Programmer configures individual channel output type by executing function IM_Write at rising edge of module detection bit (in system
- Initialize variable Slot_Num to slot number in which module is fixed. 0012 Ch_data: ARRAY [0..1] OF INT; (*Ch_data[0] and Ch_data[1] holds data for channel 0 and 1 respectively*)
variable _W_REG_STATUS). Once configuration is written successfully, channel data can be written to module memory to generate
0013 DataWrDn: BOOL; (*Become TRUE, if channel data is written sucessfully*)
equivalent analog output signal. - Initialize variable Ch_config as per required analog output type.
0014 END_VAR
By default, both the output channels are configured for 0 to 10 VDC output type, even if programmer does not configure module using - If required, rename local variables in the POU (e.g. Ch_config, Ch_data) for better understanding. But it is not mandatory.
function IM_Write. Details of channel configuration byte MMB 5220 is as shown below. - Call respective POU in PLC_PRG. 0001
_W_REG_STATUS.2 indicates that expansion unit in slot2 is detected.
So for every expansion module, programmer has to add and call one program block.
Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0
MMB 5220 Reserved Ch1 Ch0
Example1 [Default configuration with 0 - 10 Vdc output type] _W_REG_STATUS.2 PSU_Fault DAC_OverTemperature Module_Ok
0 to 10 VDC 0 0
Programming example1 below explains analog output channel handling for default analog output type i.e. 0 to 10 VDC. It is assumed
-10 to +10 VDC 0 1 that the module is configured in slot1.
Ch0 0002
0 to 20 mA 1 0 The POU named as “Expansion_2Ch_AO_Handling_DefaultConfig” need to be called in PLC_PRG. If expansion unit is not healthy, ConfigWrDn is reseted so that
when expansion unit becomes healthy again, then required configuration is written
4 to 20 mA 1 1 0001 (*In this program block writes data to analog output channels of type 0 to 10 Vdc. By default both channels are configured to 0 to 10
0002 Vdc output type*) Module_Ok ConfigWrDn
0 to 10 VDC 0 0 0003 PROGRAM Expansion_2Ch_AO_Handling_DefaultConfig R
-10 to +10 VDC 0 1 0004 VAR
0005 SlotNum:BYTE:=1; (*To be intialized to slot no. 1 to 4 in which expansion module is fixed*) 0003
Ch1 Function IM_Write writes channel configuration stored at Ch_config to module buffer memory address 5220
0 to 20 mA 1 0 0006 PSU_Fault AT %IX4.6: BOOL; (*TRUE if onboard analog section power supply is faultty*) Successful execution returns ConfigWrDn as TRUE.
0007 DAC_OverTemperature AT %IX4.7: BOOL; (*TRUE in case of DAC over temperature*)
4 to 20 mA 1 1 0008 Ch_data: ARRAY [0..1] OF INT; (*Ch_data[0] and Ch_data[1] holds data for channel 0 and 1 respectively*)
Module_Ok ConfigWrDn IM_Write
EN
0009 DataWrDn: BOOL; (*Becomes TRUE, if channel data is written sucessfully*)
Slot_Num Slot S ConfigWrDn
CHANNEL DATA 0010 END_VAR ADR(Ch_config) Data_Adr
0011 5220 MMW
Programmer can write channel data to respective module memory word by executing function IM_Write. The table below shows module 1 Len
memory words for channel 0 and 1.
0001
_W_REG_STATUS.1 indicates that expansion module in slot1 is detected. 0004
Module Data Function IM_Write writes channel data (Ch_data[0] and Ch_data[1]) to module buffer memory address 6100 and 6102 respectively.
Function IM_Write writes channel data (Ch_data[0] and Ch_data[1]) to module buffer memory address 6100 and 6102 respectively.
Successful execution returns DataWrDn as TRUE.
MMW 6100 Channel 0 data Successful execution returns DataWrDn as TRUE.
ConfigWrDn IM_Write
MMW 6102 Channel 1 data _W_REG_STATUS.1 PSU_Fault DAC_OverTemperature IM_Write EN
EN Slot_Num Slot DataWrDn
SlotNum Slot DataWrDn ADR(Ch_data[0]) Data_Adr
Programmer writes channel data to respective buffer memory address (6100 for channel0 and 6102 for channel1) and proportional 6100 MMW
ADR(Ch_data[0])) Data_Adr
voltage and current output is generated at output terminal 6100 MMW 4 Len
Channel generates zero output irrespective of channel data; 4 Len

• If channel data is out of range [not within 0 to 4095 for 0 to 10 VDC and current type output and not within -2048 to 2047 for -10 to Note : CoDeSys program files are available alongwith this manual.
+10 VDC type output]
• Base unit supply is below specified.
• If PLC is in STOP mode or base unit is faulty.

IO MEMORY
Expansion module consumes 2 bytes of input memory and 2 bytes of output memory. I/O memory is fixed slot wise. Significance of I/O
bits as shown in the table below.
CPU writes user commands to module in output scan.

Ch0 fault due to open circuit for


TRUE
%IXn.0 current output
FALSE Ch0 healthy
Ch1 fault due to open circuit for
TRUE
%IXn.1 current output
FALSE Ch1 healthy
TRUE Analog section PSU fault
%IXn.6
FALSE Analog section PSU OK
TRUE DAC temperature excessively high
%IXn.7
FALSE DAC temperature within limit
%IXn.2 to %IXn.5 and
– Reserved
%IXn+1.0 to %IXn+1.7
%QXn.0 to %QXn+1.7** – Reserved

NEXGENIE PLC I/O Module


2 Channel, Analog (V/I) Output Module (NE02AX)
Document No.: PD-2002-131 A U T O M AT I O N P E O P L E
Published September, 2010
MESSUNG SYSTEMS
EL-2, J- Block MIDC, Bhosari,
Pune - 411026.(INDIA)
Tel. : (+91)-20-2710 2000
Fax : (+91)-20-2710 2100
Email : marketing@ms.messung.com
PRINTED IN INDIA Web : www.messungautomation.com

You might also like