Doc. Name: PRODUCT REQUIREMENT SPECIFICATION for CONTROL SYSTEM CONFIGURATOR PROJECT: ASTeC – Systems - CONTROL SYSTEM CONFIGURATOR PRODUCT: Systems – Flexible Open SCADA Doc No.: DRS CI 162 4301 Control Status: Controlled Mastercopy if read from cvs Copy No: Approved by Issuing Authority Name: Designatio n: Project Leader Designation Group Head (If the approving authority is not Group Head, then the designated approving authority shall be specified in the quality plan for the project.) Address: (Section and Group) Date: 15/02/08 For any clarifications/ corrections/ amendments in this document please contact Issuing Authority Issue History Issue No Effective From Reason for Re-issue Total Doc. Pages Date of Review / Change Report Approved by 1 15/02/08 NA 78 NA Copyright : No part of this document may be reproduced in an y form without the prior permission in writing of issuing authority CENTRE FOR DEVELOPMENT OF ADVANCED COMPUTING Thiruvananthapuram
118
Embed
Product Requirement Specification - ASTeC€¦ · Web viewdoc. name: product requirement specification. for
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Doc. Name: PRODUCT REQUIREMENT SPECIFICATION
forCONTROL SYSTEM CONFIGURATOR
PROJECT: ASTeC – Systems - CONTROL SYSTEM CONFIGURATOR
PRODUCT: Systems – Flexible Open SCADADoc No.: DRS CI 162 4301Control Status: Controlled Mastercopy if read from cvs Copy No:
Approved by Issuing AuthorityName: Designation: Project LeaderDesignation Group Head
(If the approving authority is not Group Head, then the designated approving authority shall be specified in the quality plan for the project.)
Address:(Section and Group)
Date: 15/02/08For any clarifications/ corrections/ amendments in this document please contact Issuing Authority
Issue History
Issue No Effective From Reason for Re-issue
Total Doc.
Pages
Date of Review / Change Report
Approved by
1 15/02/08 NA 78 NA
Copyright : No part of this document may be reproduced in an y form without the prior permission in writing of issuing authority
CENTRE FOR DEVELOPMENT OF ADVANCED COMPUTINGThiruvananthapuram
Table of contents
SL. No Contents Page No.
1. Introduction 11.1 Name of the Product 11.2 Product Mnemonic 11.3 Abbreviations 1
1.4 Reference 12. General Description 2
2.1 Product Perspective 3 2.2 Product Functions 3 2.3 Product Specification 3 3. Specific Requirements 4 3.1 Configuration 4 3.1.1 Configuration of Control System / Hardware 4 3.1.1.1 Configuration of General Purpose Controllers 5 3.1.1.1.1 Configuration of I/O cards 5 3.1.1.2 Configuration of Single Board Controller 6 3.1.1.3 Configuration of Low Power Controller 7 3.1.1.4 Configuration of Multiple Controller 8 3.1.2 Configuration of Control Schemes 8 3.1.2.1 Control Strategy using Functional Block Logic 8 3.1.3 Configuration of network and communication protocol 11 3.2 Download configuration 12 3.3 Upload configuration 12 3.5 Import/Export Utility 12 4. List of Annexure 13
Annexure A - IEC 61131-3: A Standard Programming Resource 14Annexure B - List of blocks with details 24Annexure C - Modbus TCP and DNP3 75
Doc. Name : Product Requirement Specification for Control System Configurator
Doc. No. DRS CI 162 4301 Doc Issue No:01
1. Introduction
1.1. Name of the Product: CONTROL SYSTEM CONFIGURATOR
Doc. Name: Product Requirement Specification for Control System Configurator1Doc. No. DRS CI 162 4301 Doc Issue No: 01 Page No: 36
P06: Proportional Gain Kp
P07: Integral Time Ti
P08: Derivative Time Td
P09: Output Hi Limit (%)
P10: Output Lo Limit (%)
P11: Deviation Limit (%)
P12: Master PID (1=Y, 0=N)
P13: Deviation Alarm (1=Y, 0=N)
P14: Output Limit Alarm (1=Y, 0=N)
P15: Valve Direction (1=DIR, 0=REV)
P16: Output Ramp Rate (%)
ADSB - ADDITION SUBTRACTION BLOCK
This block computes the arithmetic sum or difference of two or more analog signals. The
maximum number of inputs is limited to 4. Zero value(0) will be assumed for the
unconnected analog inputs in the computation.
Inputs
A1 = Analog input1
A2 = Analog input2
A3 = Analog input3
Doc. Name: Product Requirement Specification for Control System Configurator1Doc. No. DRS CI 162 4301 Doc Issue No: 01 Page No: 37
A4 = Analog input4
Output
Y = Processed analog output signal.
Parameters
P01: constant #1 (k1)
P02: constant #1 (k2)
P03: constant #1 (k3)
P04: constant #1 (k4)
P05: Bias Constant, C (%)
P06: -ve Output Value (0=N, 1=Y)
MULD - MULTIPLIER/DIVIDER BLOCK
This block can be used to carry out multiplication or division operation on two analog
signals. The required arithmetic operation can be selected using the block parameter P01.
Unity value (1) will be assumed for the unconnected analog inputs in the computation.
Inputs
A1 = Analog input1
A2 = Analog input2
Doc. Name: Product Requirement Specification for Control System Configurator1Doc. No. DRS CI 162 4301 Doc Issue No: 01 Page No: 38
Output
Y = Processed Analog output
Parameters
P01: Computation Code (0 = MUL, 1= DIV)
P02: Gain Constant: K
P03: Bias Constant: C (%)
SELH - LOW/HIGH SELECTOR BLOCK
Inputs
A1 = Analog Input 1
A2 = Analog Input 2
A3 = Analog Input 3
A4 = Analog Input 4
Output
Y = Processed analog output signal
Parameters
P01: Function Code: CD (0 = LO, 1 = HI)
Doc. Name: Product Requirement Specification for Control System Configurator1Doc. No. DRS CI 162 4301 Doc Issue No: 01 Page No: 39
MPCG - Multi Point Constant Generator
P01 C1 CONSTANT WHEN D1 IS ONP02 C2 CONSTANT WHEN D2 IS ONP03 C3 CONSTANT WHEN D3 IS ONP04 C4 CONSTANT WHEN D4 IS ONP05 C5 CONSTANT WHEN D1,D2,D3,D4 IS OFF
This block is a constant generator equipped with constants at four points. Any of the
constants can be selected by proper combination of the digital signals D1..D4. If select
commands D1..D4 are not connected ,it functions as a single point constant generator and
outputs C5.D1 has highest priority and D4 lowest.
d11=1 if C1!=C2d12=1 if C3!=C4d13=1 if D1,D2,D3 & D4 are not connected
Doc. Name: Product Requirement Specification for Control System Configurator1Doc. No. DRS CI 162 4301 Doc Issue No: 01 Page No: 40
13. HLMT - High/Low block
This block is used to limit the value of an analog signal within the high limit and low limit set by the user. The limits can be set using the block parameters P01 and P02.
Output Y=A if C2 < A< C1 Where A= Input signal =C1 if A>C1 C1 = High limit
=C2 if A< limit C2="Low">
Doc. Name: Product Requirement Specification for Control System Configurator1Doc. No. DRS CI 162 4301 Doc Issue No: 01 Page No: 41
14. GSFG - Gradient Setting Function Generator
P01 CD 0 FOR TIME TO BE TAKEN IN SECS 1 FOR TIME TO BE TAKEN IN MINS 2 FOR TIME TO BE TAKEN IN HRP02 C1 START POINT A1P03 C2 TARGET POINT A2P04 Ti TIME TO BE TAKENP05 ALPHA GRADIENT CONSTANT IF CD/Ti IS CHOSEN, ALPHA IS AUTOMATICALLY FIXED.P06 C2A ALARM OUTPUT ENABLE WHEN SET POINT IS REACHED.
When D1 is ON, output ramps to target point in time Ti specified.(D2 should be OFF)
When D1 is OFF then ramping is stopped. When D2 is ON output is reset to C1.
This is a computing block for generating a function having gradient specified by the
parameters CD and ALPHA. The start point and target point are given by inputs A1 and
A2. If A1&A2 are not connected parameters C1&C2 are taken as start point and target
point respectively.
Doc. Name: Product Requirement Specification for Control System Configurator1Doc. No. DRS CI 162 4301 Doc Issue No: 01 Page No: 42
15. MSFG-Multi Stage Function Generator
P01 CD CODE 0 FOR SEC 1 FOR MINP02 C CONSTANT TAKEN TO BE START POINT IF A1 IS NOT CONNECTEDP03 T1 TIME SETTINGP04 T2 TIME SETTINGP05 T3 TIME SETTINGP06 T4 TIME SETTINGP07 T5 TIME SETTINGP08 T6 TIME SETTINGP09 T7 TIME SETTINGP10 Y1 OUTPUT SETTINGP11 Y2 OUTPUT SETTINGP12 Y3 OUTPUT SETTINGP13 Y4 OUTPUT SETTINGP14 Y5 OUTPUT SETTINGP15 Y6 OUTPUT SETTINGP16 Y7 OUTPUT SETTING
This computing block generates functions with specified parameters when input D1 is '1'.Input A1 is the start point. For time=t1 the output ramps to Y1 and for the next time Y1 to Y2 and so on. If at any time D2 is on, output holds to the previous value.
Doc. Name: Product Requirement Specification for Control System Configurator1Doc. No. DRS CI 162 4301 Doc Issue No: 01 Page No: 43
16. TLDT-Time Lag + Dead Time
P01 T TIME CONSTANT IN SECP02 K GAIN CONSTANTP03 L DEAD TIME
This block computes first order LAG+DEAD time while receiving analog signals A1.
17. DBOG-Dead Band Operator with Gain
P01 C1 DEAD BAND ON +VE SIDEP01 C2 DEAD BAND ON -VE SIDEP03 K1 GAIN WITHIN DEADBANDP04 K2 GAIN OUTSIDE DEADBAND
WHEN INPUT IS WITHIN DEADBAND OUTPUT Y:K1*A1WHEN INPUT IS OUTSIDE DEADBAND OUTPUT Y: K2*(A1-C1)+K1*C1 .....(+VE) K2*(A1+C2)+K1*C2 .....(-VE)
Doc. Name: Product Requirement Specification for Control System Configurator1Doc. No. DRS CI 162 4301 Doc Issue No: 01 Page No: 44
This computing block performs dead band processing while receiving analog signal. It judges
whether input data is inside or outside deadband and provides output with gain specified by a
parameter.
18. LDLG - Lead Lag Block
This block provides lead/lag compensated input.
OutputY=K.1+T1s/1+T2s.A Where A=Input signal'T1=LEAD Time Constant T2= LAG Time Constant and T1/T2< 100
Doc. Name: Product Requirement Specification for Control System Configurator1Doc. No. DRS CI 162 4301 Doc Issue No: 01 Page No: 45
19. OUTP - Output Processsor Block
This block outputs the processed analog value to a physical tag (tag representing a
signal physically connected to the Analog Output module of RTU). It converts the
digitised value of the input signal (0-4000 counts) into the range used by the Analog
Output module (0-4096 counts).
Output Y=A.4096/4000 Where A=Input signal
This block can also be used to interconnect two or more loops using Loop-back Tag
(LPB Tag). The LPB tag fixed at the output of an OUTP block may be connected as
input to a block in another loop.
Doc. Name: Product Requirement Specification for Control System Configurator1Doc. No. DRS CI 162 4301 Doc Issue No: 01 Page No: 46
20. PLSR - Pulser Block For Batching Operation
P01 WS WEIGHING SCALE IN KGSP02 SP SETPOINT IN KGSP03 HTL HIGH TOLERANCE LIMIT %P04 LTL LOW TOLERANCE LIMIT %P05 SL1 SLOWING PRESET(00-20) IN KGSP06 SL2 SLOWING PRESET(20-40) IN KGSP07 SL3 SLOWING PRESET(40-60) IN KGSP08 SL4 SLOWING PRESET(60-80) IN KGSP09 SL5 SLOWING PRESET(80-100) IN KGSP10 ESL EMPTY SCALE LIMIT IN KGSP11 FC1 FLIGHT CORRECTION (00-20) IN KGSP12 FC2 FLIGHT CORRECTION (20-40) IN KGS
Doc. Name: Product Requirement Specification for Control System Configurator1Doc. No. DRS CI 162 4301 Doc Issue No: 01 Page No: 47
P13 FC3 FLIGHT CORRECTION (40-60) IN KGSP14 FC4 FLIGHT CORRECTION (60-80) IN KGSP15 FC5 FLIGHT CORRECTION (80-100) IN KGSP16 PON PULSE ON TIME IN SECSP17 POFF PULSE OFF TIME IN SECSP18 BTM BATCHING TIME IN SECS
This block is used for batching and weighing operations.It accepts one analog and
an enable command(D3) to manipulate the digital output Y and the four alarms which
indicate the various states of the batching cycle. The second input to the pulser is the
setpoint in percentage and the fourth ouput is the HALT signal. If the second input is
not connected the parameter specified as the setpoint will be taken for the batching
operation. When the HALT signal is on the pulser will stop the batching operations,
and the halted time will not be counted as batch time. Batching resumes when the signal
goes OFF.
21. BTCH-Batching Operation
Doc. Name: Product Requirement Specification for Control System Configurator1Doc. No. DRS CI 162 4301 Doc Issue No: 01 Page No: 48
This block is used for batching and weighing operations. It accepts one analog input and
an enable command(D3) to manipulate the digital outputs Y1,Y2 and the four alarms
which indicate the various states of the Batching cycle. This block is same as the pulser
block except that it has two control outputs namely FAST(Y1) and SLOW (Y2).
The second input to the batcher is the setpoint in percentage and the fourth input is the
HALT signal. If the second input is not connected the parameter specified will be taken for
the batching operation. When the HALT signal is ON the batcher will stop the batching
operations, and the halted time will not be counted as batch time. Batching resumes when
the HALT signal goes OFF.
Doc. Name: Product Requirement Specification for Control System Configurator1Doc. No. DRS CI 162 4301 Doc Issue No: 01 Page No: 49
A batching cycle starts on the high going edge of the enable input.A bin is considered to
be empty if the bin is less than the Empty Scale Limit(ESL).An empty bin is indicated by a
high signal on 'd13' output irrespective of whether the block is enabled or not.
The following functions are performed only when the enable input is high.
If 'A1' goes higher than the HighLimit(HL),Alarm 'd12' is set.
If A1 could not attain the set value(Low limit in this case)during the Maximun Batching
Time(BTM),alarm 'd14' is set.
Successful completion of the Batching operation is indicated by a high state of Alarm
'd15' (Batch Over).
If any of the above mentioned alarms namely d12,d14 or d15 is high,the block output is
permanently disabled for the current batching operation.
In the absence of any alarm condition ,the FAST outputs are activated until the Slowing
Limit(SL) is attained. At this point the FAST output goes OFF and SLOW output
continues till the Flight Corrected Value(FCV) is reached. FCV should be carefully
chosen so that the input reaches the lower tolerance limit after settling. However no
further action is taken if the limits are not attained.
22. SEQ-Sequencer Block
Doc. Name: Product Requirement Specification for Control System Configurator1Doc. No. DRS CI 162 4301 Doc Issue No: 01 Page No: 50
D1 - Input for sequencing.Depending on P2 the sequencing will be done +ve edge -ve edge d11 - Sequence output 1d12 - Sequence output 2d13 - Sequence output 3d14 - Sequence output 4d15 - Sequence output 5d16 - Sequence output 6
This block does the function of sequencing the outputs as per the function of sequencing
the outputs as per the required pattern. The block has one input and six outputs. The
outputs can be sequenced(ie.made '1')one by one according to the parameter entered, on the
+ve/-ve edge of the input. Parameter 02 specifies the required edge for sequencing.
Parameters 03 to 08 are used to specify the outputs to be enabled during sequencing.
Parameter 03 corresponds to output 1 and parameter 08 corresponds to output 6.If the value
of the parameter value is '0' then the output will be skipped during sequencing. When the
mode is manual as set by parameter 01,all he outputs will be set to their respective
parameter value.
Doc. Name: Product Requirement Specification for Control System Configurator1Doc. No. DRS CI 162 4301 Doc Issue No: 01 Page No: 51
23. MLOG-Multiple Operator Logical Operator Block
The MLOG block is similar to the LOGI block, which can be used to perform any
one of the logic functions namely AND, OR NAND and NOR. Depending on the
requirement, the function code can be four digital signal can be connected to the input of
this block.
Inputs:
Doc. Name: Product Requirement Specification for Control System Configurator1Doc. No. DRS CI 162 4301 Doc Issue No: 01 Page No: 52
24. SINT-Sintering Block
P01 MAXIMUM VALUE OF SINT OUTPUTP02 MINIMUM VALUE OF SINT OUTPUTP03 TOTAL NUMBER OF WIND BOXESP04 MINIMUM DIFFERENCE BETWEEN TWO TEMPERATURES
Inputs:A1 - INPUT TEMPERATURE FROM LAST WIND BOXA2 - INPUT TEMPERATURE FROM (N-1)th WIND BOXA3 - INPUT TEMPERATURE FROM (N-2)th WIND BOX
OUTPUTS:Y - ACTIVE LENGTH OF SINTERING MACHINE
This block determine the active length of machine within which sintering process is
distribution curve of the last three wind boxes.Let Xm be the active length of the sintering
Doc. Name: Product Requirement Specification for Control System Configurator1Doc. No. DRS CI 162 4301 Doc Issue No: 01 Page No: 53
process.Suppose tn-2,tn-1,tn are the last three wind boxes,then active machine length Xm=tn-2-tn/2 *
(tn-2 * tn-1+tn)+15
25. AINP-Alarm Checking Input Block
26. MMDET-Maximum/Minimum Detector
P01 CD Control Code
Doc. Name: Product Requirement Specification for Control System Configurator1Doc. No. DRS CI 162 4301 Doc Issue No: 01 Page No: 54
P01 = 0 - Detect Maximum = 1 - Detect Minimum = 2 - Sample & Hold
This block is used to detect the maximum or minimum of an input signal. The block
has 3 inputs and one output.These inputs have the following definition.
D1 - Reset - If D1=1 the block is held in reset condition
and the internal variable are initialised.
ie. Y=0 if CD=0 or CD=2
Y=1 if CD=1D2 - Hold - If D2=1 the output of Y is held to its previous value.For normal working D2=0A1 - Analog inputY - Block Output
Y=0 if (D1=1) & CD=0 Y=100 if (D1=1) & CD=1 Y=0 if (D1=1) & CD=2 If D1=0 & D2=0 and CD=0 Y=A1 if A1>Y If D1=0 & D2=0 and CD=1 Y=A1 if A1< pre Y="A1" CD="2" and D2="0" & D1="0" If>
27. NNET-Neutral Net Block
Doc. Name: Product Requirement Specification for Control System Configurator1Doc. No. DRS CI 162 4301 Doc Issue No: 01 Page No: 55
28. LCON-Loop Execution Controller
P01 CD Logic Control ParameterP02 to P20 Loop No.whose execution is to be nabled/disabled
This is a general purpose loop control block which takes two digital inputs and gives a
digital output. The digital output is used to selectively enable or disable the execution of
Doc. Name: Product Requirement Specification for Control System Configurator1Doc. No. DRS CI 162 4301 Doc Issue No: 01 Page No: 56
a set of control loops. Depending on the inputs can be used for controlling the loop
execution. If the logical output Y=1 then all the loops as specified in parameter P02 to P20
will be enabled for execution. If the logical output Y=0,then all the loop specified by
Doc. Name: Product Requirement Specification for Control System Configurator1Doc. No. DRS CI 162 4301 Doc Issue No: 01 Page No: 59
Outputs:
P1,P2,P3 tuning constants for velocity mode PID controller
The RLS block computes the optimum value of the controller constants for a PID controller
based on an estimate of the plant parameters through Recursive Least Squares
(RLS)technique. The outputs P1 ,P2 and P3 can be connected to PID controller which
controls the plant .The plant input and output are connected to the inputs A1 and A2
respectively. When the D1 input goes from LOW to HIGH a fresh estimation cycle starts.
When input D2 is high ,the internal proceeds but the outputs P1,P2 and P3 are held
constants.
32. RND:Random Signal Generator
Parameters:P01:NL,max noise level peak to peak in %P02:C,Bias Constant in %
Inputs:None Outputs:Y : Block Output
This block is used for generating a Random Noise Signal whose amplitude and bias can be set using the block parameters.
33. PEU - Percentage To Engineering Unit
Doc. Name: Product Requirement Specification for Control System Configurator1Doc. No. DRS CI 162 4301 Doc Issue No: 01 Page No: 60
Parameters:
P01:EURH:ENGINEERING UNIT RANGE HIGH
P02:EURL:ENGINEERING UNIT RANGE LOW
P03:PHH:PROCESS HIGH HIGH LIMIT
P04:PH:PROCESS HIGH LIMIT
P05:PL:PROCESS LOW LIMIT
P06:PLL:PROCESS LOW LOW LIMIT
P07:PHHA:PROCESS HIGH HIGH ALARM OUTPUT ENABLE
P08:PHA:PROCESS HIGH ALARM OUTPUT ENABLE
P09:PLA:PROCESS LOW ALARM OUTPUT ENABLE
P10PLLA:PROCESS LOW LOW ALARM OUTPUT ENABLE
P11:HYST:HYSTERESIS CONSTANT
The function performed in this block is percentage to engineering conversion.
When an abnormality is detected in any of the limit checks ,the corresponding alarm is
activated.The alarms may be connected to a physical tag,input of another blck or it can be
left unconnected.
d11-process high high alarm
d12-process high alarm
d13-process low alarm
d14-process low low alarm
Y=(EURH-EURL) * A1 / 100 + EURL
Doc. Name: Product Requirement Specification for Control System Configurator1Doc. No. DRS CI 162 4301 Doc Issue No: 01 Page No: 61
34. EUP:Engineering Unit to Percentage
Parameters:
P01:EURH:ENGINEERING UNIT RANGE HIGH
P02:EURL:ENGINEERING UNIT RANGE LOW
The function performed in this block is engineering unit to percentage conversion.
Y=(A1-EURL)/( EURH-EURL) * 100
35. PRDT-Predictor Block
Parameters:
P01:Tp,Prediction Period in secs
Inputs:
A1:Input Signal
Outputs:
Y:Block output,ie predicted value of the input signal
This block predicts the value of the input signal after a time Tp using the method of
least estimation.
Doc. Name: Product Requirement Specification for Control System Configurator1Doc. No. DRS CI 162 4301 Doc Issue No: 01 Page No: 62
36. PTC - Pressure Temperature Compensator
Parameters:
P01:TRH:TEMPERATURE RANGE HIGH
P02:TRL:TEMPERATURE RANGE LOW
P03:PRH:PRESSURE RANGE HIGH
P04:PRL:PRESSURE RANGE LOW
P05:C1:CONST FOR ABS PRESS CONV
P06:C2:CONST FOR ABS TEMP CONV
P07:DP:DESIGN PRESSURE
P08:EURL:DESIGN TEMPERATURE
Inputs:
A1:FLOW(%)
A2:TEMPERATURE(%)
A3:PRESSURE(%)
These input terminals should be used only for the designated signals.
This block provides presure and temperature compensation.The pressure compensation
factor is calculated using the relation
PCF=(EU(PRESS)+C1)+(DP+C1).
The temperature compensation factor is calculated using the relation
TCF=(DT+C2)/(EU(TEMP)+C2).
The corrected flow is calculated using the relation
Doc. Name: Product Requirement Specification for Control System Configurator1Doc. No. DRS CI 162 4301 Doc Issue No: 01 Page No: 63
Y=SQRT(A1 * PCF * TCF) * 10.
If the pressure or temperature input is left unconnected,then the corresponding
compensation factor is set equal to 1.If the flow input is left unconnected,then A1 is set
equal to 0.
In the equation for calculating the corrected flow,the resulting value is multiplied by
10.This is done to correct the scaling error.
37. PPC-PID To Pulse Converter
Parameters
P01:Sampling rate the at which the PPC algorithm is to be executed.Normally set to 1 for
exceeding the algorithm every cycle.
P02:Percentage PID output change corresponding to one cycle ON pulse. P03:Settling
time,to be used with process having large response time.
Inputs
A1:Analog input,which is normally the output of a controller.
A2:Analog input giving position of the final control element.
Outputs
Y:Digital signal normally used as the pulse to increase the final control element position
d11:Digital signal normally used as the pulse to decrease the final control element
position.
This block is provided for converting the output of a PID controller to digital signal
to operate final control elements which need pulses to increase and decrease the
controlled variable. For example there are valves with actuators which responds to
Doc. Name: Product Requirement Specification for Control System Configurator1Doc. No. DRS CI 162 4301 Doc Issue No: 01 Page No: 64
increase or decrease pulses instead of continuous 4-20ma signal. This block generates
two different signals or output pulses, with the number of pulses and width being
proportional to the PID output. A second input is provided to read the final control
element position, and the PPC block always tries to match both the inputs by adjusting
the output pulses. In case the valve position input is not available from the field, PPC
will generate pulses as per parameter 02,making the final control element position
match with the PID output.
38. CNTR-Counter
Parameters:P01 Maximum Value of the Counter OutputP02 Minimum Value of the Counter OutputP03 Counter Output ValueP04 Counter up for rising(0)/Falling(1) edgeP05 Counter down for rising(0)/Falling(1) edgeP06 Reset ValueP07 Preset ValueP08 Alarm Enable(I/O)P09 High Alarm LimitP10 Low Alarm LimitInputs:D1 Count Up InputD2 Count Down InputD3 Reset Input
Doc. Name: Product Requirement Specification for Control System Configurator1Doc. No. DRS CI 162 4301 Doc Issue No: 01 Page No: 65
Doc. Name: Product Requirement Specification for Control System Configurator1Doc. No. DRS CI 162 4301 Doc Issue No: 01 Page No: 66
Outputs:d11 Seconds Trigger Outputd12 Minutes Trigger Outputd13 Hours Trigger Outputd14 HH:MM:SS TriggerThis block is used to co-relate the logic configured in the loop with real time clock.It can
be used to reset/restart the logic/counters/ integrators configured.
A pulse with the width(for no of cycles)specified at P04 will be generated at d11 when the
'seconds' (SS) in the real time(HH:MM:SS) becomes equal to A1 or P01(if A1 is
unconnected).d12 will be ON for no of cycles specified at P04 when the 'minutes'(MM) in
the real time (HH:MM:SS) becomes equal to A2 or P02(if A2 is not connected).Similarly
d13 will ON for no of cycles specified at P04 when the 'hours'(HH) in the real time
(HH:MM:SS) becomes equal to A3 or P03(if A3 is not connected).
The fourth output,d14,will be ON for no of cyckes specified at P04 when all the three ,ie
seconds(SS),minutes(MM) and hours(HH) matches with A1/P01.A2/P02 and A3/P03
respectively.One typical application for this output is the initialization of the counters and
integrators at the beginning of the shift or day
40. MAVG-Moving/Fixed Average
This block computes the average of the incoming signal continuously or for a fixed
Doc. Name: Product Requirement Specification for Control System Configurator1Doc. No. DRS CI 162 4301 Doc Issue No: 01 Page No: 67
number of latest samples. f the parameter 1(P01) is zero, hen the block continuously
updates the average computed with every new samples read. n this case, input 1 can be
used to initialise or reset the output to the specified
In parameter 3(P03).If the parameter 1(P01) is specified as 1, then the block computes the
average of the last few (Parameter 2) inputs. When a new value is read into this queue of
few last samples, the oldest will be ignored.
Input 1 is a digital signal ,which initialise/reset signal for the block.
Input 2 is an analog signal, for which the averaging computation has to be done.
Output, is an analog signal, which is the average or moving of the input signal.
Parameter 1(P01):Set to '0' for continuous averaging and '1' to moving average.
Parameter 1(P02):No of samples to be used for moving average computation.
Parameter 1(P03):Reset/Initialise value.
Parameter 1(P04):Enable/Disable flag.
41. PARA-Parameter Setter
This block is used automatically set the parameters of other blocks to any desired
value. This block gets actuated with a rising edge in the first signal. For example, this
block can be used to automatically change the mode of the controller(which is a
parameter of the PID block) or alarm limit of an incoming signal etc. conditionally. Once
Doc. Name: Product Requirement Specification for Control System Configurator1Doc. No. DRS CI 162 4301 Doc Issue No: 01 Page No: 68
when this block gets actuated, it can be set a maximum of three parameter in other blocks
which may be in different loops. The value to which the parameters has to be set be
decided by parameters P10,P11, and P12 or the input signals 2,3 and 4.
Input 1,is a digital signal ,which is the 'condition' by which the block is getting actuated.
i.e.a rising edge of this input will set the three parameter specified by the parameters P01
to P09 to the values specified in P10 to P12.
Input 2,Input 3 and Input4 are the three incoming values, if connected, to which the
parameters has to be set when the block gets actuated.
There is no Output signal for this block.It only executes the parameter setting job during
the execution cycle in which it detects a rising edge in the input1.
Parameter 1(P01):Loop no of the first parameter to be modified.
Parameter 2(P02):Block no of the first parameter to be modified.
Parameter 3(P03):Parameter no of the first parameter to be modified.
Parameter 4(P04):Loop no of the second parameter to be modified.
Parameter 5(P05):Block no of the secon parameter to be modified.
Parameter 6(P06):Parameter no of the second parameter to be modified.
Parameter 7(P07):Loop no of the third parameter to be modified.
Parameter 8(P08):Block no of the third parameter to be modified.
Parameter 9(P09):Parameter no of the third parameter to be modified.
Parameter 10(P10):Constant 1(To which the first parameter to be changed) .
Parameter 11(P11):Constant 2(To which the second parameter to be changed).
Parameter 12(P12):Constant 3(To which the third parameter to be changed).
Doc. Name: Product Requirement Specification for Control System Configurator1Doc. No. DRS CI 162 4301 Doc Issue No: 01 Page No: 69
42. ABS - Absolute Value Finder
This block gives the absolute value of the input signal, i.e.the output will be equal to the
magnitude of the input signal irrespective of the input signal.
Input1 is an analog signal for which the absolute value has to be found.
Output1 is an analog value equal to the magnitude of the input.
There is no parameters for this block.
43. STL:Statistical Function
This block gives the mean or median of incoming signals. There are four inputs
(maximum) can be connected to this block and it gives the mean or median of the inputs at
the output.
Input1 is an analog signal,one among the signals for which the mean or median of the
Doc. Name: Product Requirement Specification for Control System Configurator1Doc. No. DRS CI 162 4301 Doc Issue No: 01 Page No: 70
inputs has to be found.
Input2 is an analog signal,one among the signals for which the mean or median of the
inputs has to be found.
Input3 is an analog signal,one among the signals for which the mean or median of the
inputs has to be foundd.
Input4 is an analog signal,one among the signals for which the mean or median of the
inputs has to be found.
Output1 is an analog signal,which is the mean or median of the connected inputs.
Parameter 1(P01):Selection between mean(0) or median(1)..
InputsA1:Analog inputs whose log og antilog is to be calculated.
OutputsY:Analog value equal to the log or antilog of the input.
This block computes the log or antilog of the input signal
Doc. Name: Product Requirement Specification for Control System Configurator1Doc. No. DRS CI 162 4301 Doc Issue No: 01 Page No: 71
45. RCL-Rate of Change Limitter
This block limits the rate of change of output irrespective of the fast variations in the input.
The maximum variation permitted in an execution cycle is limited by the parameter P01
specified. There are three inputs provided for this block.
Input 1,is a digital one, which is the enable/disable flag for the rate of change limiting
function. When the first input is 1,the output of the block will same as the second
input,which is the analog signal on which the limiting function is applied.
Input 2,is an analog one, which is the input signal on which the rate of change limiting
function is to be applied.
Input 3,is an analog one, which is an alternative to the parameter P01.ie.if this signal is
connected ,the rate of change limit will be equal to this input instead of the parameter P01.
Output, is an analog signal, which is the second input itself limited to the specified rate of
change limit.
Parameter (P01) limits for rate of change.
Doc. Name: Product Requirement Specification for Control System Configurator1Doc. No. DRS CI 162 4301 Doc Issue No: 01 Page No: 72
46. PLN - Polynomial Line Table For Linearisation
This block provides a look-up table which is mainly used for linearisation of signals from
non-linear transducers such as thermocouple , RTD etc. This provides 9 segment, piece
wise linearisation with ten co-ordinates. Compared to the FUNC block, the flexibility
available with the input co-ordinates makes the linearisation computation very easy. This
block can be used for split ranging of input and output signals, scaling of signals, low
cutting of flow signals, clipping etc.
Input 1, is an analog one, which is the input to be linearised or split.
Output 1 ,is an analog signal, which is the linearised signal.
Parameters:
P01 Input Value(X1)P02 Input Value(X2)P03 Input Value(X3)P04 Input Value(X4)P05 Input Value(X5)P06 Input Value(X6)P07 Input Value(X7)P08 Input Value(X8)P09 Input Value(X9)P10 Input Value(X10)P11 Output corresponding to X1P12 Output corresponding to X2P13 Output corresponding to X3P14 Output corresponding to X4P15 Output corresponding to X5P16 Output corresponding to X6
Doc. Name: Product Requirement Specification for Control System Configurator1Doc. No. DRS CI 162 4301 Doc Issue No: 01 Page No: 73
P17 Output corresponding to X7P18 Output corresponding to X8P19 Output corresponding to X9P20 Output corresponding to X10
47. CMP - Comparator
This block is an analog value comparator.It compares the analog inputs for 'greater
than,,'greater than or equalto','equalto','less than','less than or equal to' and 'not equal to'.
Input 1,is an analog input,which is compared with the second analog input or the second
parameter(P02).
Input 2,is an analog one,which is compared with the first input if connected.
Output 1,is a digital one,will be TRUE(1) or FALSE(0) depending upon the result
comparison.
Parameters:
P01
Logic code which decides the type of comparison.0-greater than1-greater than or equalto2-less than3-less than or equal to4-equal to5-not equal to
P02 Alternative for second input.ie if second input is not connected this parameter will be used for comparison
P03 Hysterisis constant for comparison
Doc. Name: Product Requirement Specification for Control System Configurator1Doc. No. DRS CI 162 4301 Doc Issue No: 01 Page No: 74
Annexure C
Modbus TCP
MODBUS® TCP/IP IS an Internet protocol. The fact that TCP/IP is the transport protocol of the
Internet automatically means that MODBUS® TCP/IP can be used over the Internet! Among other
things it was designed to reach this goal, and as part of this goal the MODBUS® protocol
specification has been submitted to the Internet Engineering Task Force (IETF). In practical terms,
this means that a MODBUS® TCP/IP device installed in Europe can be addressed over the
Internet from the USA from anywhere else in the world.
The implications for a vendor of equipment or an end-user are endless. Performing maintenance and repair on remote devices from the office using a PC and
browser reduce support costs and improve customer service.
Logging onto a plant's control system from home allows the maintenance engineer to
maximize his plant's uptime and reduce the number of times that he is called out from
home.
Managing geographically distributed systems becomes easy using commercially available
internet/intranet technologies.
MODBUS® TCP/IP has became an industry de facto standard because of its openness, simplicity,
low cost development, and minimum hardware required to support it.
At this moment there are more than 200 MODBUS® TCP/IP devices available in the market. It is
used to exchange information between devices, monitor and program them. It is also used to
manage distributed I/Os, being the preferred protocol by the manufacturers of this type of devices.
Combining a versatile, scaleable, and ubiquitous physical network (Ethernet) with a universal
networking standard (TCP/IP) and a vendor-neutral data representation (MODBUS® ) gives a
truly open, accessible network for exchange of process data.
Doc. Name: Product Requirement Specification for Control System Configurator1Doc. No. DRS CI 162 4301 Doc Issue No: 01 Page No: 75
The protocol - Modbus TCPModbus/TCP basically embeds a Modbus frame into a TCP frame in a simple manner. This is a
connection-oriented transaction which means every query expects a response.
This query/response technique fits well with the master/slave nature of Modbus, adding to the
deterministic advantage that Switched Ethernet offers industrial users. The use of OPEN Modbus
within the TCP frame provides a totally scaleable solution from ten nodes to ten thousand nodes
without the risk of compromise that other multicast techniques would give.
Performance from a MODBUS TCP/IP system
The performance basically depends on the network and the hardware. If you are running
MODBUS® TCP/IP over the Internet, you won't get better than typical Internet response times.
However, for communicating for debug and maintenance purposes, this may be perfectly adequate
and save you from having to catch a plane or go to site on a Sunday morning!
For a high-performance Intranet with high-speed Ethernet switches to guarantee performance, the
situation is completely different.
In theory MODBUS® TCP/IP carries data at up to 250/(250+70+70) or about 60% efficiency
when transferring registers in bulk, and since 10 Base T Ethernet carries about 1.25 Mbytes/sec
raw, the theoretical throughput is:
1.25M / 2 * 60% = 360000 registers per second and the 100 Base T speed is 10 x greater.
This assumes that you are using devices that can service Ethernet as fast as bandwidth is available.
Practical tests carried out by Schneider Automation using a MOMENTUMTM Ethernet PLC with
Ethernet I/O demonstrated that up to 4000 I/O bases could be scanned per second, each I/O base
Doc. Name: Product Requirement Specification for Control System Configurator1Doc. No. DRS CI 162 4301 Doc Issue No: 01 Page No: 76
having up to 16 12-bit analog I/O or 32 discrete I/O. Four bases could be updated in one
millisecond. While this is below the theoretical limit calculated above, it must be remembered that
the tested device was running with a lowly 80186 CPU running at 50Mhertz with an effective
computing power of 3 MIPS (compared to the 700 MIPS of a 500MHz Pentium). Also, these
results are nevertheless faster than the proprietary I/O scan methods used to date.
As low-end CPU's get cheaper, Momentum-type devices will chase the theoretical limit, although
they'll never reach it because the limit will be continually pushed further away with 1 Gigabit
Ethernet, 10 Gigabit Ethernet, etc. This is in contrast to other field-buses which are inherently
stuck at one speed.
How can existing MODBUS devices communicate over MODBUS TCP/IP?
MODBUS® TCP/IP is simply MODBUS® protocol with a TCP wrapper. It is therefore extremely
simple for existing MODBUS® devices to communicate over MODBUS® TCP/IP. To do this a
gateway device is required to convert MODBUS protocol to MODBUS TCP/IP.
Doc. Name: Product Requirement Specification for Control System Configurator1Doc. No. DRS CI 162 4301 Doc Issue No: 01 Page No: 77
DNP3
DNP3 (Distributed Network Protocol) is a set of communications protocols used between
components in process automation systems. Its main use is in utilities such as electric and water
companies. Usage in other industries is not common, although technically possible. Specifically, it
was developed to facilitate communications between various types of data acquisition and control
equipment. It plays a crucial role in SCADA systems, where it is used by SCADA Master Stations
(aka Control Centers), Remote Terminal Units (RTUs), and Intelligent Electronic Devices (IEDs).
It is used only for communications between a master station and RTUs or IEDs. ICCP(Inter-
Control Center Communications Protocol) the Inter-Control Centre Protocol, is used for inter-
master station communications.
Doc. Name: Product Requirement Specification for Control System Configurator1Doc. No. DRS CI 162 4301 Doc Issue No: 01 Page No: 78