You are on page 1of 8

Feeding valve controller.

Distribution: (Please advise of requested changes to this distribution.)

KSH:
KSS:
KA :

Release Date 12.01.00 a 1-Sep-00 b c d e


(Release) Dept. Initials Dept. Initials Dept. Initials Dept. Initials Dept. Initials
Entered By HRDE MWU HRDE MWU
Released By HRDE HRDE BBO
Ref: Doc. No:

Total Pages: 8 Page Nr: 1


RD.15.029.b
HRDE
Form No. RD.23.000.a / 12-97 S:\Neuchâtel\HRD\doc\rd\15\RD-15.029-fdvalve.doc
Feeding valve controller.

1. INTRODUCTION.................................................................................................................3

2. HARDWARE........................................................................................................................3
2.1. VALVE FUNCTION. ............................................................................................................... 3
2.2. I/O MAPPING...................................................................................................................... 3

3. SOFTWARE.........................................................................................................................5
3.1. NODE OBJECT. .................................................................................................................... 5
3.2. ACTUATOR OBJECTS. .......................................................................................................... 6
3.3. VARIABLE LIST . .................................................................................................................. 7
3.4. CONFIGURATION.................................................................................................................. 8

Release: a Doc. No.:

RD.15.029.b
HRDE Pg. No: 2 of 8
Feeding valve controller.

1. Introduction.
This document describes a controller for feeding valve based on
Wago Lonworks I/O modules.

2. Hardware

2.1. Valve function.


The interface between the valve and the I/O module looks as follows:
Run command
WAGO module Valve
Open valve command

Close valve command

Feedback run

Limit switch open

Limit switch close

Valve position

2.2. I/O mapping.


The I/O usage on the module will be as follows:
Module type I/O Usage /FeedingValve
Digital output out[0] Run command[0] 11Drive Enable
out[1] Run command[1]
out[2] Open valve[0] pulse DosingValveOpen
out[3] Close valve[0] pulse DosingValveClose
out[4] Open valve[1]
out[5] Close valve[1]
out[6] Run command[2]
out[7] Run command[3]
out[8] Open valve[2]
out[9] Close valve[2]
out[10] Open valve[3]
out[11] Close valve[3]

Release: a Doc. No.:

RD.15.029.b
HRDE Pg. No: 3 of 8
Feeding valve controller.

Module type I/O Usage / Feegingvalve


Digital input in[0] Feedback run[0] 15 fdr.fb
in[1] Limit switch opened[0] 19 fdr.pg.iso
in[2] Limit switch closed[0] 23 fdr.pg.isc
in[3] Feedback run[1]
in[4] Limit switch opened[1]
in[5] Limit switch closed[1]
in[6] Feedback run[2]
in[7] Limit switch opened[2]
in[8] Limit switch closed[2]
in[9] Feedback run[3]
in[10] Limit switch opened[3]
in[11] Limit switch closed[3]
Analog input in[0] Valve position[0] 7 Drive.cmd
in[1] Valve position[1]
in[2] Valve position[2]
in[3] Valve position[3]

Die Fdr.pg.pos kannst Du von der SCM direkt mit dem WAGO I/O (Analog
output )binden.
Beispiel: SCM ADR 1 VAR 82 (AI2) ist gebunden mit Feedig Valve ADR 81 VAR 3
(dann kannnst Du
SCM ADR 1 VAR 82 mit WAGO I/O ADR 101 VAR 40 (AO) binden..Der
Wert der am WAGO AO Modul ausgegeben wird entspricht der fdr.pg.pos in%
0% = 0 mA
50% =10 mA
100%=20 mA

Release: a Doc. No.:

RD.15.029.b
HRDE Pg. No: 4 of 8
Feeding valve controller.

3. Software.
As far as reasonable, the module software will comply with the
Lonmark specification. The module will contain a node object and the
necessary sensor and actuator objects to interface with the physical
I/Os.
The configuration properties of the node will be accessed through
memory read and memory write network management messages. No
file transfer protocol will be available on the I/O node.
The module will be able to support up to four valves.
Some capabilities to handle generic I/Os will be added later if enough
resources are available on the node after the valve control software
has been implemented.

3.1. Node object.


The node object will be as follows:

Node object

nviRequest nvoStatus
nv1 nv2
SNVT_obj_request SNVT_obj_status

nvoFileDirectory
nv3
SNVT_address

nc22 - Max Send Time

See the LonMark Interoperability Guidelines document for an


explanation of the above drawing.

Release: a Doc. No.:

RD.15.029.b
HRDE Pg. No: 5 of 8
Feeding valve controller.

3.2. Actuator objects.


The actuator object is used to control the position of the valve.
Valve control.
The valve control object is as follows:
Actuator object

nviPosition[0—3]
nv7-10
SNVT_lev_percent

nviStart[0—3]
nv11-14 SNVT_lev_disc

nviPositionFb[0—3]
nv3-6
SNVT_lev_percent

nc7 - Default Output[0—3]


nc21 - Max Receive Time[0—3]
nc1 - Actual Position Feedback
Delay [0—3]
ucpt - Hysteresis [0—3]
nc8 - Drive Time[0—3

There will be 4 of those objects on the module.


See the LonMark Interoperability Guidelines document for an
explanation of the above drawing.
When the object receives a non zero value on its nviStart input
variable, it will activate the "Run command" output and generate the
necessary pulses on the "Open valve" or "Close valve" outputs until
the valve moves to the position requested by nviPosition.
If the input network variable isn't updated for more than "Max Receive
Time", the output takes the value defined by "Default Output".
Default values:
• Default Output[0—3]: 0
• Max Receive Time[0—3]: 20s
• Actual position feedback delay[0—3]: 4s
• Hysteresis[0—3]: 0.5%
• DriveTime[0—3]: 200ms

Release: a Doc. No.:

RD.15.029.b
HRDE Pg. No: 6 of 8
Feeding valve controller.

is dependent on the position error and is calculated with the following


rules:
• if error < 0.4%: off _time=6.25s

• if 0.4% < error and error < 50%: off _time=50ms× 50%
error
• if error > 50%: off _time=0

3.3. Variable list.


The network variable available on the module are:
Index Variable SCM Type
0 nviRequest SNVT_obj_request
1 nvoStatus SNVT_obj_status
2 nvoFileDirectory SNVT_address
SCM AI ab AI81 mit 3 3 nvoPositionFb[0] fdr.pg.pos SNVT_lev_percent
4 nvoPositionFb[1] SNVT_lev_percent
5 nvoPositionFb[2] SNVT_lev_percent
6 nvoPositionFb[3] SNVT_lev_percent
SCM AO ab AO74 mit 7 7 nviPosition[0] Drv.cmd SNVT_lev_percent
8 nviPosition[1] SNVT_lev_percent
9 nviPosition[2] SNVT_lev_percent
10 nviPosition[3] SNVT_lev_percent
11 nviStart[0]Drive enable SNNVT_le v_disc
SCM DO ab DO4 mit 11
12 nviStart[1] SNVT_lev_disc
13 nviStart[2] SNVT_lev_disc
14 nviStart[3] SNVT_lev_disc
SCM DI ab DI 4 mit 15 15 nvoStartFb[0]fdr.fb SNVT_lev_disc
16 nvoStartFb[1] SNVT_lev_disc
17 nvoStartFb[2] SNVT_lev_disc
18 nvoStartFb[0] SNVT_lev_disc
SCM DI ab DI4 mit 19 19 nvoLimitSwitchO[0]fdr.pg.iso SNVT_lev_disc
SCM DI ab DI4 mit 20 20 nvoLimitSwitchO[1]fdr.pg.isc SNVT_lev_disc
21 nvoLimitSwitchO[2] SNVT_lev_disc
22 nvoLimitSwitchO[3] SNVT_lev_disc
23 nvoLimitSwitchC[0] SNVT_lev_disc
24 nvoLimitSwitchC[1] SNVT_lev_disc
25 nvoLimitSwitchC[2] SNVT_lev_disc
26 nvoLimitSwitchC[3] SNVT_lev_disc

Release: a Doc. No.:

RD.15.029.b
HRDE Pg. No: 7 of 8
Feeding valve controller.

3.4. Configuration.
The following configuration properties are available on the module.
Object Offset Parameter Type SNVT
node object 0 Max Send Time SCPTmaxSndT SNVT_elapsed_tm
sensor 7 Max Send Time SCPTmaxSndT SNVT_elapsed_tm
actuator 14 Actual Position SCPTactFbDly SNVT_elapsed_tm
Feedback Delay0
actuator 21 Actual Position SCPTactFbDly SNVT_elapsed_tm
Feedback Delay1
actuator 28 Actual Position SCPTactFbDly SNVT_elapsed_tm
Feedback Delay2
actuator 35 Actual Position SCPTactFbDly SNVT_elapsed_tm
Feedback Delay3
actuator 42 Max Receive Time0 SCPTmaxSndT SNVT_elapsed_tm
actuator 49 Max Receive Time1 SCPTmaxSndT SNVT_elapsed_tm
actuator 56 Max Receive Time2 SCPTmaxSndT SNVT_elapsed_tm
actuator 63 Max Receive Time3 SCPTmaxSndT SNVT_elapsed_tm
actuator 70 Default Output0 SCPTdefOutput SNVT_lev_percent
actuator 72 Default Output1 SCPTdefOutput SNVT_lev_percent
actuator 74 Default Output2 SCPTdefOutput SNVT_lev_percent
actuator 76 Default Output3 SCPTdefOutput SNVT_lev_percent
actuator 78 Hysteresis0 SCPTHystLow1 SNVT_lev_percent
actuator 80 Hysteresis1 SCPTHystLow1 SNVT_lev_percent
actuator 82 Hysteresis2 SCPTHystLow1 SNVT_lev_percent
actuator 84 Hysteresis3 SCPTHystLow1 SNVT_lev_percent
actuator 86 Drive Time0 SCPTdriveTime SNVT_elapsed_tm
actuator 93 Drive Time1 SCPTdriveTime SNVT_elapsed_tm
actuator 100 Drive Time2 SCPTdriveTime SNVT_elapsed_tm
actuator 107 Drive Time3 SCPTdriveTime SNVT_elapsed_tm

Release: a Doc. No.:

RD.15.029.b
HRDE Pg. No: 8 of 8

You might also like