Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
77 views

ED-2002-099 Mixed Analog Module (2364) User Manual

Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
77 views

ED-2002-099 Mixed Analog Module (2364) User Manual

Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 28

AUTOMATION PEOPLE

Series of PLCs

2 Channel Analog
Voltage/Current Input
+
2 Channel Analog
Voltage Output
(2364)

User Manual
2 Ch Analog Voltage/Current Input + 2 Ch Analog Voltage Output (2364) 2
Contents
1. Overview ....................................................................................................4
2. Specifications ..............................................................................................5
3. Wiring .......................................................................................................... 7
4. Module memory ..........................................................................................8
4.1 Input channel configuration ............................................................8
4.2 Input channel data ........................................................................10
4.3 Output channel configuration ......................................................12
4.4 Output channel data ......................................................................12
4.5 Module status. ..............................................................................13
5. I/O Memory................................................................................................15
6. Configuration ............................................................................................16
7. Programming ............................................................................................18
7.1 Programming analog input ............................................................18
7.2 Programming analog output..........................................................24

2 Ch Analog Voltage/Current Input + 2 Ch Analog Voltage Output (2364) 3


Chapter 1 Overview
This is Nexgen 2000 series of mixed analog module containing 2 channels of
voltage/current input and 2 channels of voltage output. This type of mixed
analog I/O module is used
a. To convert ±10/±5 VDC voltage input and 0/4 to 20 mA current input to 16
bit digital value.
b. To convert 12 bit digital value into an analog output of ±10 V DC voltage
output.
The highlighting features are as below.

• The analog input type is selected as ±10/±5 VDC


2364 voltage input or 0/4 to 20 mA current input by software
configuration and type of sensor connections.
+ V+0
• Analog to digital conversion resolution is 312.5 µV
Vi
Ii
I+0
(±10/+5 VDC) and 1.25 µA (0/4 to 20mA).
- V-0
+ V+1 • The analog output type is bipolar voltage output of ±10
Vi I+1
V DC.
Ii
- V-1 • Analog Output resolution is 5.12mV.
SH
• Analog input and output channels can be configured
independently.
• The module consumes 8 Input points and 8 output points
in CPU I/O memory.
+ V+0
Vo • Data transfer with CPU module is performed via module
- V-0 buffer memory using IM_Read and IM_Write functions in
+ V+1 the application program.
Vo
- V-1

ETH

2 Ch Analog Voltage/Current Input + 2 Ch Analog Voltage Output (2364) 4


Chapter 2 Specifications
Technical specifications are as given in the table below.
Number of Input channels 2 differential, non-Isolated
A/D Conversion type Sigma delta
Analog Input types Input type Output data
Voltage ±10 VDC -32,000 to +32,000
±5 VDC -32,000 to +32,000
Current 0 to 20 mA 0 to +32,000
4 to 20 mA 0 to +32,000
Resolution Input type Effective Resolution
significant bits
±10 VDC 15 bits + Sign 312.5 µV
±5 VDC 14 bits + Sign 312.5 µV
0 to 20 mA 14 bits 1.25 µA
4 to 20 mA 13.7 bits 1.25 µA
Channel updation time 10 ms maximum for two channels.
Accuracy ±0.2% of full scale reading at 25°C
±0.4% of full scale reading at 55°C
Isolation Channel to channel No
Channel to internal 1.5 KV Optical
circuit
Absolute maximum Voltage ±30 VDC (Voltage input channels are
input protected from application of high voltage
up to 220 VAC/ VDC)
Current ±30 mA
Input Impedance Voltage 1 MΩ
Current 250Ω

2 Ch Analog Voltage/Current Input + 2 Ch Analog Voltage Output (2364) 5


Number of output channels 2
D/A conversion type R-2R ladder
Digital input -320000 to 32000 (lower 3 bits are treated as 0)
Analog output (Software configurable) -10 to 10 VDC (-32000 to +32000 digital input)
Resolution 11-bits + sign
5.12 mV for voltage output
Accuracy* ±0.2% of FS (±40 mV) at 25°C
Channel update time 4 ms maximum for two channels
Load Voltage output >5 KΩ
Voltage output short circuit protection Continuous
I/O memory consumption 8 input points + 8 output points
Module access Module memory by executing functions IM_Write , IM_Read.
by CPU Module I/O memory by executing functions Refresh_In, Refresh_Out
Module power supply External 18 to 30 V DC including ripple
60 mA at 24 VDC
Module power supply protection Reverse polarity
Noise Immunity ±2 KV conductive on module power supply
(as per IEC 1000-4-4 standard) ±1 KV capacitive on analog I/O signal
Operating temperature 0 to 55ºC ambient
I/O Connections 10-pin removable terminal blocks (2 no)
*Accuracy includes offset, gain error and non linearity and repeatability.

2 Ch Analog Voltage/Current Input + 2 Ch Analog Voltage Output (2364) 6


Chapter 3 Wiring
The front side of module is provided with two 10-pin removable terminal blocks
for wiring of field inputs and outputs. The figure below shows connections of
voltage input and current input.
Shielded twisted cable Voltage input
+ V+n
Voltage I+n
Source
– V-n

Shielded twisted cable Current input V+n


I+n
Current
Source V-n

Figure 1: Analog input connections

Voltage input is connected between terminals 'V+n' and 'V-n', where n is channel
no. as 0 to 1.
Current input is connected between terminal 'I+n' and 'V-n', where n is channel
no. as 0 to 1. For current input, it is necessary to connect 'V+n' and 'I+n'
terminals to each other.
It is recommended to connect SH terminals directly to good quality earth in the
control panel avoiding any ground loop.
The figure below shows connections of delivering voltage output.
Shielded twisted cable Voltage output
+ V+n
Load >
5KΩ
– V-n

Figure 2 : Analog Voltage Output Connections


Voltage output is available between terminals 'V+n' and 'V-n', Where n is channel
no as 0 to 1. Module requires external supply of 24 VDC.Connect 24 VDC
module supply between terminals 'V1' and 'G1'. Connect terminal 'ETH' directly to
good quality earth in the control panel avoiding any ground loop.
2 Ch Analog Voltage/Current Input + 2 Ch Analog Voltage Output (2364) 7
Chapter 4 Module memory
4.1 Input channel configuration
Each analog input channel can be individually configured using two
configuration words (Word1 and Word2). This is dynamic configuration. The
Module Memory address of these configuration words are pre-allotted in the
range MMW5200-MMW5206 sequentially.

Channel Number Configuration word 1 Configuration word 2


Input channel 0 MMW5200 MMW5202
Input channel 1 MMW5204 MMW5206

Details of Configuration Word 1 for each input channel -


Item Description 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
± 10 V 0 0 0 0 0
±5V 0 0 0 0 1
Input 0 to 20mA 0 0 0 1 0
type 4 to 20mA 0 0 0 1 1
Invalid 0 0 1 0 0

Invalid 1 1 1 1 1
--- 0 0 0
Reserved
--- 0 0 0
Open Zero 0 0
Upper scale 0 1
Circuit
Lower scale 1 0
Value Invalid 1 1
Reserved --- 0
Channel Disabled 0
Status Enabled 1
Reserved 0 0 0 0

2 Ch Analog Voltage/Current Input + 2 Ch Analog Voltage Output (2364) 8


Details Configuration Word 2 for each input channel -
Item Description 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 0 0
Averaging 4 0 1
8 1 0
16 1 1
Reserved
Each channel can be configured independently. Individual channel configuration
can be changed during module operation. Configuration words hold following
user selection.

Input type
Channel can be configured as voltage (±10 V / ± 5 V) or current (0 to 20 mA/ 4
to 20 mA) input type. By default, input channel is configured for voltage input
type ± 10 V. Depending on input type, data is available as below.

Input Type Output Data Effective significant bits Resolution


± 10 VDC -32,000 to +32,000 15 bits + Sign 312.5 µV
± 5 VDC -32,000 to +32,000 14 bits + Sign 312.5 µV
0 to 20 mA 0 to +32,000 14 bits 1.25 µA
4 to 20 mA 0 to +32,000 13.7 bits 1.25 µA

If invalid input type configuration programmed, channel shows error.


Open circuit value
This is applicable for 4 - 20 mA current input type only. In case of signal open
circuit, channel data shall be forced to user selected value. i.e. 0 lower scale (0)
or upper scale (32767) value. User can select open circuit value depending upon
application safety.
If invalid Open Circuit Value, channel gets configured for last valid open circuit
value and invalid configuration error is declared for the channel.
For input types other than 4 - 20 mA, open circuit value is ignored.
Input channel status
By default, two channels are enabled. User can enable / disable individual
channel during module operation. Disabling input channel/s reduces channel

2 Ch Analog Voltage/Current Input + 2 Ch Analog Voltage Output (2364) 9


data updation time for enabled channels. Channel updation time is minimum if
only one channel is enabled. Module updation time is maximum if all the two
channels are enabled.
Averaging
The module provides user selectable averaging facility so that stable value is
available for processing and necessary control action. This value specifies no. of
samples to be averaged. User can select 1/4/8/16 samples of immediate data.
Those many samples of immediate data are averaged in each module scan so
that the most recent average data is available. If no. of samples is less than that
of required (as per user selection) then average data is calculated based on
available no. of samples. This avoids misinterpretation of data in case if the
averaging process is just started or no. of averaging samples is changed during
module operation.
Thus combination of filter settings and averaging count can be selected to get
optimum channel update time and stable channel data.

4.2 Input channel data


Channel data can be read using function IM_Read. Module holds channel data

Channel no Data (16 bit)


Input channel 0 MMW1000
Input channel 1 MMW1002

2 Ch Analog Voltage/Current Input + 2 Ch Analog Voltage Output (2364) 10


The figures below show graphs of analog input versus channel data for voltage
input types.
>

>
32767 32767

32000 32000
10.23 V

5.12 V
Channel

Channel
data

data
-10 V -5 V
< > < >
0 10 V 0 5V
Analog Input Analog Input
-10.23 V

-5.12 V

-32000 -32000

-32768 -32768
<

<

Figure 3 : Analog Voltage Input Graphs

The figures below show graphs of analog input versus channel data for current
input types.
>

>

32767 32767

32000 32000
20.47 mA

20.47 mA
Channel

Channel
data

data

> >
0 20 mA 0 4 mA 20 mA
Analog Input Analog Input

Figure 4 : Analog Current Input Graphs

2 Ch Analog Voltage/Current Input + 2 Ch Analog Voltage Output (2364) 11


Channel data updation is stopped
• If channel is disabled.
• In case of invalid configuration.
• Module supply (24 VDC) is absent or below specified lower threshold
(18VDC).
• If PLC is in STOP mode or CPU module is missing.

4.3 Output channel configuration


User writes module configuration by executing function IM_Write at falling edge
of module error bit (in system variable_WRACK_0_REG_STATUS). Once
configuration is written successfully, channel data can be written to module to
generate equivalent analog output signal.

Module memory Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0
MMB 5220
Channel enable-By default two channels
are enabled. (Hence holds value 3 at
power ON) Reserved Ch1 Ch0
Output ch0 enable 1
Output ch0 disable 0
Output ch1 enable 1
Output ch1 disable 0

4.4 Output channel data


Module memory words 6100 and 6102 hold channel 0 data and channel 1 data
respectively. Channel generates output proportional to data value if enabled.

MMW 6100 Output channel 0 data (-32000 to 32000)


MMW 6102 Output channel 1 data (-32000 to 32000)

2 Ch Analog Voltage/Current Input + 2 Ch Analog Voltage Output (2364) 12


The figures show graphs of analog output versus digital input.

10.23 V

10 V

32767
Output
Analog

-32000

0 32000
Digital Input
-32767

Data

-10 V

-10.23 V

Figure 5 : Analog Voltage Output Graph

Channel generates 0 output irrespective of channel data


• If channel is disabled.
• Module supply (24 V DC) is absent or below specified.
• If PLC is in STOP mode or CPU module is missing.

4.5 Module status


Input channel status can be read using function IM_Read. Individual channel
status is available in module memory MMW 100 and MMW 102. (next page)

2 Ch Analog Voltage/Current Input + 2 Ch Analog Voltage Output (2364) 13


Item Description 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
± 10 V 0 0 0 0 0
±5V 0 0 0 0 1
Input 0 to 20mA 0 0 0 1 0
type 4 to 20mA 0 0 0 1 1
Invalid 0 0 1 0 0

Invalid 1 1 1 1 1
--- 0 0 0
Reserved
--- 0 0 0
Open Zero 0 0
Upper scale 0 1
Circuit
Lower scale 1 0
Value Invalid 1 1
Reserved --- 0
Channel Disabled 0
Status Enabled 1
Open Channel OK 0
circuit Open circuit 1
Under No under range 0
range Under range 1
Over No over range 0
range Over range 1

Open circuit is detected only for input type 4 - 20 mA.


For current input range 4 - 20 mA, under range is declared if input signal is less
than 3.5 mA. For 4 to 20 mA type of current input, channel open circuit is
declared if input signal is disconnected or input signal is less than 2.5 mA or
signal polarity is reversed.
Over range is declared if input signal is greater than 10.035 V, 5.018 V, 20.04 mA
for + 10 V, + 5 V and 0/4 to 20 mA ranges respectively.
Under range is declared if input signal is less than -10.035 V, -5.018 V for + 10
V, and + 5 V ranges respectively. For 0 to 20 mA range, under range is declared
if input signal polarity is reversed

2 Ch Analog Voltage/Current Input + 2 Ch Analog Voltage Output (2364) 14


Chapter 5 I/O Memory
Module consumes 8 bits of input image and 8 bits of output image. Module input
image provides status of module which can be monitored visually on centralized
LED display of CPU module. No functionality is provided for output image. The
table below gives significance of input image bits.

Input bit Status Significance


%IXn.0 TRUE Analog input Ch0 enabled and healthy
FALSE Analog input Ch0 disabled
Analog input Ch0 invalid configuration
Analog input Ch0 open circuit
Analog input Ch0 over range
Analog input Ch0 under range
%IXn.1 TRUE Analog input Ch1 enabled and healthy
FALSE Analog input Ch1 disabled
Analog input Ch1 invalid configuration
Analog input Ch1 open circuit
Analog input Ch1 over range
Analog input Ch1 under range
%IXn.2 TRUE Analog output Ch0 enabled
FALSE Analog output Ch0 disabled
%IXn.3 TRUE Analog output Ch1 enabled
FALSE Analog output Ch1 disabled
%IXn.4 Not used
%IXn.5 TRUE Enabled channel/s faulty
FALSE All enabled channels healthy
%IXn.6 TRUE ADC faulty
FALSE ADC healthy
%IXn.7 TRUE Module power supply absent or < specified
FALSE Module power supply is healthy
%QXn.0 to %QXn.7 -- Reserved
Module input image is updated in every input scan and by executing Refresh_In
function in the application program if needed.

2 Ch Analog Voltage/Current Input + 2 Ch Analog Voltage Output (2364) 15


Chapter 6 Configuration
PLC application program is developed using programming software 'CoDeSys'.
In PLC configuration, 2-Ch analog input + 2 Ch analog output module (ordering
code - 2364) is configured as "8 Pt Input + Output Module". This provides
generic configuration.

If user needs specific configuration, module ordering code "2364" should be


programmed as value for "Module_Name" in "Module Parameter" as shown in
next page.

2 Ch Analog Voltage/Current Input + 2 Ch Analog Voltage Output (2364) 16


2 Ch Analog Voltage/Current Input + 2 Ch Analog Voltage Output (2364) 17
Chapter 7 Programming
7.1 Programming analog input
By default, both the analog input channels are enabled and are configured to
accept ±10 VDC.
In this case, user has to read channel data from respective module memory by
executing IM_Read function. So proportional channel data (-32768 to 32767) is
available. Input image provides channel and module status. To get detailed
status, it is necessary to read channel status by executing IM_Read function
Typical application program in ladder (LD) editor considering that module is
configured in I/O slot 0 as mentioned in chapter 6 is as shown below.
This program type POU named AIn_voltage should be called in main program
PLC_PRG.
0001 PROGRAM Aln_voltage
0002 VAR
0003 slot_0ok: BOOL; (*Module in slot 0 detected as per PLC Configuration*)
0004 Module_supply_0k: BOOL; (*TRUE if module 24 VDC supply is present. FALSE if module supply is absent*)
0005 ADC_DK: BOOL;
0006 Analog_Data: ARRAY [0..1]OF INT; (*Holds Input channels data*)
0007 InCh0_DK: BOOL;lnCh1_OK: BOOL; (*Respective channel enabled & healthy*)
0008 DATA_RdDN: BOOL; (*if TRUE, channel data is valid*)
0009 STATUS0_RdDN: BOOL;STATUS1_RdDN: BOOL;
0010 Ch0_Status: WORD;Ch1_Status:WORD; (*Holds individual channel status*)
0011 Ch0_UnderRange:BOOL;Ch1_UnderRange:BOOL;
0012 Ch0_OverRange: BOOL;Ch1_OverRange: BOOL;
0013 END_VAR

0001
System variable_WRACK_0_REG_STATUS.0 provide bitwise slot status.

_WRACK_0_REG_STATUS.0 slot_0ok

0002
Input image bit 7 provides status of module supply

slot_0ok %IX0.7 Module_supply_Ok

0003
Input image bit 6 provides status of ADC circuit.

slot_0ok %IX0.6 ADC_OK

2 Ch Analog Voltage/Current Input + 2 Ch Analog Voltage Output (2364) 18


0004
Input image bit 0 is TRUE if input channel0 is enabled and healthy.

slot_0ok %IX0.0 InCh0_OK

0005
Input image bit 1 is TRUE if input channel1 is enabled and healthy.

slot_0ok %IX0.1 InCh1_OK

0006
Read all channel data module memory starting from MMW 1000 only if module is registered and
there is no ADC fault. Store data in array analog data. Successful execution of IM_Read function
returns TRUE. i.e. Data RdDn becomes TRUE.

slot_0ok ADC_OK Module_supply_OK IM_Read


EN
0 Slot Data_RdDN
1000 MMW
ADR (AnaIog_Data) Data_Adr
4 Len

0007
If channel error is detected via module input image. Read individual channel status.

InCh0_OK IM_Read
EN
0 Slot STATUS0_RdDN
100 MMW
ADR(Ch0_Status) Data_Adr
2 Len

0008
Ch0_Status bit 14 is TRUE if channel0 input signal is under range i.e. below -10.035V in this case.

STATUS0_RdDN Ch0_Status.14 Ch0_UnderRange

0009
Ch0_Status bit 15 is TRUE if channel0 input signal is over range i.e. above +10.035V in this case.

STATUS0_RdDN Ch0_Status.15 Ch0_OverRange

2 Ch Analog Voltage/Current Input + 2 Ch Analog Voltage Output (2364) 19


0010
If channel error is detected via module input image. Read individual channel status.

InCh1_OK IM_Read
EN
0 Slot STATUS1_RdDN
102 MMW
ADR(Ch1_Status) Data_Adr
2 Len

0011
Ch1_Status bit 14 is TRUE if channel1 input signal is under range i.e. below -10.035V in this case.

STATUS1_RdDN Ch1_Status.14 Ch1_UnderRange

0012
Ch1_Status bit 15 is TRUE if channel1 input signal is over range i.e. above +10.035V in this case.

STATUS1_RdDN Ch1_Status.15 Ch1_OverRange

If user need any other input type e.g. 4 to 20 mA, user has to write configuration
by executing function IM_Write. Typical application program example if user
require both channels, channel 0 and channel 1 to accept 4 to 20 mA current
input is as shown below. User has to write channel configuration by executing
function IM_Write. After successful configuration, channel data can be read.
Individual channel status can be read by executing IM_Read function. Input
image provides channel and module status.
This program type POU named AIn_current should be called in main program
PLC_PRG.

2 Ch Analog Voltage/Current Input + 2 Ch Analog Voltage Output (2364) 20


0001 PROGRAM Aln_current
0002 VAR
0003 slot_0ok: BOOL; (*Module in slot 0 detected as per PLC Configuration*)
0004 Module_supply_0k: BOOL; (*TRUE if module 24 VDC supply is present. FALSE if module supply is absent*)
0005 ADC_DK: BOOL;
0006 AI2_Config:ARRAY[0..3]OF WORD:= 16#0803,0,16#0803,0; (*Configuration words are initialized to
0007 configure Ch0 and Ch1 as 4-20 mA input*)
0008 AI2_ConfigDn: BOOL;
0009 Analog_Data: ARRAY [0..1_OF INT; (*Holds input channels data*)
0010 lnCh0_OK: BOOL;lnCh1_OK: BOOL; (*Respective channel enabled & healthy*)
0011 DATA_RdDN: BOOL; (*if TRUE, channel data is valid*)
0012 STATUS0_RdDN: BOOL;STATUS1_RdDN: BOOL;
0013 Ch0_Status:WORD;Ch1_Status:WORD; (*Holds individual channel status*)
0014 Ch0_InvalidConfig: BOOL;Ch1_InvalidConfig: BOOL;
0015 Ch0_OpenCkt: BOOL;Ch1_OpenCkt: BOOL;
0016 Ch0_UnderRange:BOOL;Ch1_UnderRange:BOOL;
0017 Ch0_OverRange: BOOL;Ch1_OverRange: BOOL;
0018 END_VAR

0001
System variable_WRACK_0_REG_STATUS.0 provide bitwise slot status.

_WRACK_0_REG_STATUS.0 slot_0ok

0002
Analog input channel configuration is written once
InCh0 and Inch1 are configured for 4 to 20 mA current input.

slot_0ok IM_Write
EN
0 Slot AI2_ConfigDn
ADR(AI2_Config) MMW
5200- Data_Adr
8 Len

0003
Input image bit 7 provides status of module supply

slot_0ok %IX0.7 Module_supply_Ok

0004
Input image bit 6 provides status of ADC circuit.

slot_0ok %IX0.6 ADC_OK

2 Ch Analog Voltage/Current Input + 2 Ch Analog Voltage Output (2364) 21


0005
Input image bit 0 is TRUE if input channel0 is enabled and healthy.

slot_0ok %IX0.0 InCh0_OK

0006
Input image bit 1 is TRUE if input channel1 is enabled and healthy.

slot_0ok %IX0.1 InCh1_OK

0007
Read all channel data module memory starting from MMW 1000 only if module is registered and there is
no ADC fault. Store data in array analog data. Successful execution of IM_Read function returns TRUE
i.e. Data RdDn becomes TRUE.

slot_0ok ADC_OK Module_supply_OK IM_Read


EN
0 Slot Data_RdDN
1000 MMW
ADR (AnaIog_Data) Data_Adr
4 Len

0008
If channel error is detected via module input image. Read individual channel status.

InCh0_OK IM_Read
EN
0 Slot STATUS0_RdDN
100 MMW
ADR(Ch0_Status) Data_Adr
2 Len

0009
Ch0_Status bit12 is TRUE if channel0 configuration is invalid.

STATUS0_RdDN Ch0_Status.12 Ch0_InvalidConfig

0010
Ch0_Status bit13 is TRUE if channel0 input signal is open or signal is less than 2.5 mA or
signal polarity is reverse.

STATUS0_RdDN Ch0_Status.13 Ch0_OpenCkt

2 Ch Analog Voltage/Current Input + 2 Ch Analog Voltage Output (2364) 22


0011
Ch0_Status bit 14 is TRUE if channel0 input signal is under range i.e. below 3.5 mA in this case.

STATUS0_RdDN Ch0_Status.14 Ch0_UnderRange

0012
Ch0_Status bit 15 is TRUE if channel0 input signal is over range i.e. above 20.04 mA in this case.

STATUS0_RdDN Ch0_Status.15 Ch0_OverRange

0013
If channel error is detected via module input image. Read individual channel status.

InCh1_OK IM_Read
EN
0 Slot STATUS1_RdDN
102 MMW
ADR(Ch1_Status) Data_Adr
2 Len

0014
Ch1_Status bit12 is TRUE if channel1 configuration is invalid.

STATUS1_RdDN Ch1_Status.12 Ch1_InvalidConfig

0015
Ch1_Status bit13 is TRUE if channel0 input signal is open or signal is less than 2.5 mA or
signal polarity is reverse.

STATUS1_RdDN Ch1_Status.13 Ch1_OpenCkt

0016
Ch1_Status bit14 is TRUE if channel1 input signal is under range i.e. below 3.5 mA in this case.

STATUS1_RdDN Ch1_Status.14 Ch1_UnderRange

0017
Ch1_Status bit15 is TRUE if channel1 input signal is over range i.e. above 20.04 mA in this case.

STATUS1_RdDN Ch1_Status.15 Ch1_OverRange

2 Ch Analog Voltage/Current Input + 2 Ch Analog Voltage Output (2364) 23


7.2 Programming analog output
By default, both analog output channels are enabled and are configured to
generate analog output ±10 VDC.
In this case, user has to write channel data to respective module memory by
executing IM_Write function. So voltage output proportional to channel data is
generated. Input image provides module status.
This program type POU named AOut should be called in main program
PLC_PRG.
0001 PROGRAM AOut
0002 VAR
0003 ModuleSupply_OK: BOOL; (*Module in slot 0 detected as per PLC Configuration*)
0004 OutCh0_OK: BOOL;OutCh1_OK: BOOL; (*Respective channel enabled & healthy*)
0005 A01_Data:INT; (*Holds output channel0 data*)
0006 A02_Data:INT; (*Holds output channel1 data*)
0007 Wr_Done1:BOOL;
0008 Wr_Done2: BOOL;
0009 END_VAR

0001
Input image bit7 provides status of module supply

%IX0.7 ModuleSupply_OK

0002
Input image bit2 is TRUE if output channel0 is enabled and healthy.

%IX0.2 OutCh0_OK

0003
Input image bit 3 is TRUE if output channel1 is enabled and healthy.

%IX0.3 OutCh1_OK

0004
Output Channel0 data (-32000 to 32000) is written to module memory 6100 to generate proportional
±10 V output. Successful execution of function IM_Write returns TRUE. (Wr_Done1 becomes TRUE).

OutCh0_OK IM_Write
EN
0 Slot Wr_Done1
ADR(A01_Data) Data_Adr
6100 MMW
2 Len

2 Ch Analog Voltage/Current Input + 2 Ch Analog Voltage Output (2364) 24


0005
Output Channel1 data (-32000 to 32000) is is written to module memory 6102 to generate proportional
±10 V output. Successful execution of function IM_Write returns TRUE. (Wr_Done2 becomes TRUE).

OutCh1_OK IM_Write
EN
0 Slot Wr_Done2
ADR(A02_Data) Data_Adr
6102 MMW
2 Len

2 Ch Analog Voltage/Current Input + 2 Ch Analog Voltage Output (2364) 25


NOTES

2 Ch Analog Voltage/Current Input + 2 Ch Analog Voltage Output (2364) 26


2 Ch Analog Voltage/Current Input + 2 Ch Analog Voltage Output (2364) 27
Revisions :
Edition Date Version Description
June, 2007 1.0 User Manual
2 Ch Analog Voltage / Current Input
+ 2 Ch Analog Voltage Output (2364)

Copyright © Messung Systems India 2004 All rights reserved


The reproduction or transmission of this document or its contents in full or part is not
permitted without express written authority. Offenders will be liable for damages. All rights,
including rights created by patent grant or registration of a utility model or design, trademark
are reserved.

NEXGEN-2000 PLC Series


2 Ch Analog Voltage / Current Input
+ 2 Ch Analog Voltage Output (2364) AUTOMATION PEOPLE
Document No.: PD-2002-099
Published June, 2007
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