example 1: interior/exterior lighting of a residential...

30
Application Library NTR 757 / E A series of examples using a variety of applications from the most common (commercial sector) to the most advanced (industrial sector).

Upload: others

Post on 17-Mar-2020

14 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Example 1: Interior/exterior lighting of a residential propertycrouzetsales.com/pdf/ntr757-E_Application Library.pdf · BIT MULTIPLEXER ... Logic diagram (EN_1.pm2) Logic diagram

Application Library

NTR 757 / E

A series of examples using a variety of applications from the most common (commercial sector) tothe most advanced (industrial sector).

Page 2: Example 1: Interior/exterior lighting of a residential propertycrouzetsales.com/pdf/ntr757-E_Application Library.pdf · BIT MULTIPLEXER ... Logic diagram (EN_1.pm2) Logic diagram

2

CONTENTS

Example 1: Interior/exterior lighting of a residential property ........................................................................... 3

Example 2: Part conveyor (L cycle)........................................................................................................................ 6

Example 3: Access management, automation of a gate ...................................................................................... 10

Example 4: School bell........................................................................................................................................... 13

Example 5: Temperature control in a room ........................................................................................................ 16

Example 6: Movement of three cylinders (U cycle)............................................................................................. 18

Example 7: Power rise of the heating elements in a boiler ................................................................................. 20

Example 8: Cam timer: Cycle with 4 successive phases (industrial washing machine)................................... 22

Example 9: Managing an emergency set.............................................................................................................. 25

Hints and tips.......................................................................................................................................................... 27

ALTERNATING OPERATION OF TWO OUTPUTS WITH INIT ....................................................................................... 27TIME-DELAYED OPERATION, TWO ALTERNATING OUTPUTS................................................................................... 28NAND WITH 6 INPUTS.......................................................................................................................................... 29BIT MULTIPLEXER................................................................................................................................................. 30

WARNING:

The programs referred to in this document are given as examples only and are in noway the responsibility of Crouzet.

Page 3: Example 1: Interior/exterior lighting of a residential propertycrouzetsales.com/pdf/ntr757-E_Application Library.pdf · BIT MULTIPLEXER ... Logic diagram (EN_1.pm2) Logic diagram

3

Example 1: Interior/exterior lighting of a residential property(File: EN_ 1.pm2 and lighting EN_1A.pm2)

Specification:

An individual wishes to install a system tomanage the lighting of a stairwell and anexterior entrance to the house.Exterior lighting: The circuit is active everyyear from 1st June to 1st October, and at nightdue to the use of a light sensitive switch. Asensor detects any movement and activatesthe exterior lighting within 2 minutes.Interior lighting: Two pushbuttons are fittedfor the stairwell; one in the entrance hall andone at the top of the stairs. Both function inexactly the same way.• Time-delayed lighting (2 minutes) is

activated by briefly pressing one of thebuttons. The timer can be disabled bypressing either of the two buttons a secondtime.

• Permanent lighting is activated bypressing and holding down one of thebuttons for 2 seconds. It is switched off bypressing one of the buttons briefly.

Table of inputs/outputs:

INPUTS OUTPUTS

I1Movementsensor

O1Exteriorlighting

I2Light sensitiveswitch

I3 Pushbutton O2 Interior lightingI4 Pushbutton

Model required:

Millenium II 8 inputs/4 outputs:SA12 R 24 VAC.

Program description:

The device can be programmed on two levels.Level 1: Program in accordance withSpecificationLevel 2: Addition of a human machineinterface: keypad + screen

Pressing A launches the time delay andpressing B stops it.

• Once the program has been started, thedisplay shows:

Exteriorlighting 0000.0

• Activation of the exterior lighting

Exteriorlighting 0013.4 Current time in

seconds

Display of time delays in real time

Application advantages:

A user-friendly interface on the LCD screenat level 2

Page 4: Example 1: Interior/exterior lighting of a residential propertycrouzetsales.com/pdf/ntr757-E_Application Library.pdf · BIT MULTIPLEXER ... Logic diagram (EN_1.pm2) Logic diagram

4

Interior/exterior lighting of a residential propertyLogic diagram (EN_1.pm2)

Logic diagram (EN_1A.pm2)(only the top section of the diagram is shown, the lower section is identical)

Page 5: Example 1: Interior/exterior lighting of a residential propertycrouzetsales.com/pdf/ntr757-E_Application Library.pdf · BIT MULTIPLEXER ... Logic diagram (EN_1.pm2) Logic diagram

5

Interior/exterior lighting of a residential property

The diagram for the interior lighting now uses SFC functionsSequential function chart logic diagram (EN_1B.pm2)

Page 6: Example 1: Interior/exterior lighting of a residential propertycrouzetsales.com/pdf/ntr757-E_Application Library.pdf · BIT MULTIPLEXER ... Logic diagram (EN_1.pm2) Logic diagram

6

Example 2: Part conveyor (L cycle)(File EN_2.pm2)

Specification:

A device comprising two cylinders A and B isused to store and count machined parts (seefigure 2.1).The system is initialised by pressing a button(the cylinder rods are withdrawn completelyand the part counter is reset to zero).CYLINDER A: A sensor detects the presenceof a part on the tray. Each time the sensor isactuated, the rod rises and the counter isenabled. The actuator associated with thiscylinder is a 4.2 monostable valve module;the rod limit switches are I2 (withdrawal) andI3 (extension).CYLINDER B: Once the rod of cylinder A hasextended completely, cylinder B ejects thepart towards a conveyor belt at the end ofwhich the parts are stored. The actuatorassociated with this cylinder is a 4.2 bistablevalve module; the rod limit switches are I4(withdrawal) and I5 (extension).

Table of inputs/outputs:

INPUTS OUTPUTS

I1Detection of apart on the rod

O1 A+

I2Sensor for rod Awithdrawal

O2 B+

I3Sensor for rod Aextension

O3 B-

I4Sensor for rod Bwithdrawal

I5Sensor for rod Bextension

I6 Initialisation

Model required:

Millenium II 8 inputs/4 outputs:SA12 R 24 VAC.SA12 S 24 VDC.

Program description:

Input I6 initialises the system. The LCDdisplay indicates:

Syst.Init.

Parts: 00000

Part counter

During the cycle, the display shows:

Parts: 00124

Application advantages:

The use of supervision mode

Page 7: Example 1: Interior/exterior lighting of a residential propertycrouzetsales.com/pdf/ntr757-E_Application Library.pdf · BIT MULTIPLEXER ... Logic diagram (EN_1.pm2) Logic diagram

7

Figure 2.1: Part conveyor diagram

If scanned, this diagram could be used for supervision mode.Once you have located your file, simply copy the input and output icons from the "Edit" windowand paste them into the "Supervision" window.

Figure 2.2: Supervision mode

Page 8: Example 1: Interior/exterior lighting of a residential propertycrouzetsales.com/pdf/ntr757-E_Application Library.pdf · BIT MULTIPLEXER ... Logic diagram (EN_1.pm2) Logic diagram

8

Part conveyor (L cycle)Logic diagram (EN_2.pm2)

Page 9: Example 1: Interior/exterior lighting of a residential propertycrouzetsales.com/pdf/ntr757-E_Application Library.pdf · BIT MULTIPLEXER ... Logic diagram (EN_1.pm2) Logic diagram

9

Part conveyor (L cycle)Logic diagram (EN_2A.pm2)

Page 10: Example 1: Interior/exterior lighting of a residential propertycrouzetsales.com/pdf/ntr757-E_Application Library.pdf · BIT MULTIPLEXER ... Logic diagram (EN_1.pm2) Logic diagram

10

Example 3: Access management, automation of a gate(File: EN_3.pm2)

Specification:

An individual wishes to control access to hishome using an automatic gate fitted with areversing motor (for opening and closing).Opening: If the gate is closed or partly closed,it can be opened using the remote controlsignal. If the remote control is reactivatedwhilst the gate is opening, the motor will stopor restart.Once the gate has opened fully, there will be adelay of 4 seconds before it can be closedagain.Closing: If movement is detected by thesensor or if the remote control is activatedduring closing, the gate will open fully. Aslong as this sensor is actuated (for example, ifa vehicle stops in the gateway), the gate willremain fully open.

Table of inputs/outputs:

INPUTS OUTPUTSI1 Remote control O1 Open gateI2 Gate closed O2 Close gateI3 Gate open

I4Movementsensor

Model required:

Millenium II 8 inputs/4 outputs:SA12 R 24 VAC.SA12 S 24 VDC.

Program description:

FBD T1 (timer A-C) can be used to switch themotor in the opening direction 0.5 secondsafter closing has been disabled. This preventsthe risk of short circuits and mechanicalshocks.FBD T2 (timer A-C) performs two functionssimultaneously. The on-delay holds the gateopen for 4 seconds before closing can beactivated.The 0.2-second off-delay can be used tocheck the activation conditions of the FBD"AND" output.

Application advantages:

The ability to stop the gate opening or closingusing the remote control signal is an essentialsafety feature of this type of application.

The parallel connection to the motor terminalsenables the addition of an indicator light toindicate gate movement.

A Millenium II device with 8 inputs/4 outputscan be used to activate this indicator severalseconds before the gate is opened or closed.

Page 11: Example 1: Interior/exterior lighting of a residential propertycrouzetsales.com/pdf/ntr757-E_Application Library.pdf · BIT MULTIPLEXER ... Logic diagram (EN_1.pm2) Logic diagram

11

Access management – automation of a gateExample diagram: "Monitoring" mode

Page 12: Example 1: Interior/exterior lighting of a residential propertycrouzetsales.com/pdf/ntr757-E_Application Library.pdf · BIT MULTIPLEXER ... Logic diagram (EN_1.pm2) Logic diagram

12

Access management – automation of a gateLogic diagram (EN_3.pm2)

Page 13: Example 1: Interior/exterior lighting of a residential propertycrouzetsales.com/pdf/ntr757-E_Application Library.pdf · BIT MULTIPLEXER ... Logic diagram (EN_1.pm2) Logic diagram

13

Example 4: School bell(File: EN_4.pm2)

Specification:

A school wishes to manage the daily bellsystem and the alarm system using a singledevice.

The bell sounds from Monday to Friday forone minute except during holidays.

"Alarm" mode is active during holidays, atweekends and at night from Monday toFriday.The alarm is activated for 1 minute by anaudible signal which sounds alternately (2 sON, 1 s OFF) and by an indicator light whichis activated by a movement sensor.It must be possible to reset the alarm to zero.

Table of inputs/outputs:

INPUTS OUTPUTS

I1Alarm:ON/OFF

O1 Bell

I2Movementsensor

O2 Indicator light

I3 Alarm: Reset

Model required:

Millenium II 8 inputs/4 outputs:SA12 R 24 VAC.SA12 S 24 VDC.

Program description:

To program the three clocks, copy or adaptthe parameters in figures 4.1, 4.2 and 4.3.

The Boolean block satisfies the activationconditions of "alarm" mode in accordancewith the following equation:

Input1 2 3 4 Output

Time2 I1 I2 Time30 1 1 1 1

Application advantages:

The Millenium II real-time clock is powerfulenough not only to manage daily timetablesfor bell activation but also to detect allholidays (school holidays, public holidays)using just two function blocks.A simple model with 8 inputs and 4 outputsperforms a multiplicity of functions.

Page 14: Example 1: Interior/exterior lighting of a residential propertycrouzetsales.com/pdf/ntr757-E_Application Library.pdf · BIT MULTIPLEXER ... Logic diagram (EN_1.pm2) Logic diagram

14

Figure 4.1: FBD TIME 1 timetables

Figure 4.2: FBD TIME 2 timetables

Figure 4.3: FBD TIME 3 timetables

Page 15: Example 1: Interior/exterior lighting of a residential propertycrouzetsales.com/pdf/ntr757-E_Application Library.pdf · BIT MULTIPLEXER ... Logic diagram (EN_1.pm2) Logic diagram

15

School bellLogic diagram (EN_4pm2.pm2)

Page 16: Example 1: Interior/exterior lighting of a residential propertycrouzetsales.com/pdf/ntr757-E_Application Library.pdf · BIT MULTIPLEXER ... Logic diagram (EN_1.pm2) Logic diagram

16

Example 5: Temperature control in a room(File: EN_5.pm2)

Specification:

The ambient temperature of a room iscontrolled in heat mode by a heating resistorand a fan and in cool mode by a fan only.A 0 - 10 V signal can be provided by atemperature probe via a converter.

A switch can be used to deactivate control.

On-screen display:

Heat or cool mode is displayed.

The ambient temperature and the setpoint aredisplayed.The control operation is to take account of ahysteresis of +2°C from on to off and –3°Cfrom off to on, controlled by the TRIGGERFBD.

Table of inputs/outputs:

INPUTS OUTPUTSI1 ON/OFF switch O1 Heating resistor

I2 Mode selection O2 Fan

I7 0 – 10 V input

I8 Setpoint

Model required:

Millenium II 8 inputs/4 outputs:

SA12 S 24 VDC.

Program description:

Input I1 =0: Control offExample display:

*********** OFF*********** 0017.2

Control off

Temperature display

Input I1 =1: Control onExample display:

Heat mode

0020.0 0017.2 Setpoint display

Temperature display

Hysteresis

Application advantages:

Use of 0 - 10 V analogue inputs

0

1

- 3 setpoint +2 °C

Page 17: Example 1: Interior/exterior lighting of a residential propertycrouzetsales.com/pdf/ntr757-E_Application Library.pdf · BIT MULTIPLEXER ... Logic diagram (EN_1.pm2) Logic diagram

17

Temperature controlLogic diagram (EN_5.pm2)

Page 18: Example 1: Interior/exterior lighting of a residential propertycrouzetsales.com/pdf/ntr757-E_Application Library.pdf · BIT MULTIPLEXER ... Logic diagram (EN_1.pm2) Logic diagram

Example 6: Movement of three cylinders (U cycle)(File: EN_6.pm2)

Specification:

An industrial machine comprising threecylinders A, B and C which must function asshown in the sequential function chart below:

Condition "m" correspof the ON/OFF buttonextension of cylinder measured by limit swiand (c0, c1) respectivelButton "B" on the Milto withdraw the rods oorder to initialise the syThe Millenium II outputhe actuators of cylinbistable valve modules

Table of inputs/outputs:

INPUTS OUTPUTSI1 ON/OFF O1 Cylinder A: A+

I2 Limit switch a0 O2 Cylinder B: B+

I3 Limit switch a1 O3 Cylinder C: C+

I4 Limit switch b0 O4 Cylinder C: C-

I5 Limit switch b1 O5 Cylinder B: B-

I6 Limit switch c0 O6 Cylinder A: A-

I7 Limit switch c1Cylinder A extension

Cylinder B extension

Model required:

Cylinder C extension

Millenium II 12 inputs/8 outputs:SA20 R 24 VAC.SA20 S 24 VDC.

Program description:

Cylinder C withdrawal

Cylinder B withdrawal

18

onds to the activation. The withdrawal androds A, B and C are

tches (a0, a1), (b0, b1)y.lenium II must be ablef the three cylinders instem.ts will be connected to

ders A, B and C (4/2).

The system can be initialised using the "B"button on the front panel of the Millenium II.

Press B: InitialiseRelease B: Withdraw cylinders

Application advantages:Controlling the withdrawal of the three rodsusing a button on the Millenium II avoids theuse of an additional input which could beused to manage other systems, because this isa 12/8 model.

Cylinder A withdrawal

Page 19: Example 1: Interior/exterior lighting of a residential propertycrouzetsales.com/pdf/ntr757-E_Application Library.pdf · BIT MULTIPLEXER ... Logic diagram (EN_1.pm2) Logic diagram

19

Movement of three cylinders (U cycle)Logic diagram (EN_6.pm2)

Page 20: Example 1: Interior/exterior lighting of a residential propertycrouzetsales.com/pdf/ntr757-E_Application Library.pdf · BIT MULTIPLEXER ... Logic diagram (EN_1.pm2) Logic diagram

20

Example 7: Power rise of the heating elements in a boiler(File: EN_7.pm2)

Specification:

To avoid excessive power consumption whena boiler is switched on, the heating elementsare powered up gradually. When the boiler isswitched off, they are powered downgradually.

The operating principle can be defined asshown in the trend diagram below:

Program description:

In principle, the time delay T is the same forthe activation/deactivation of each heatingelement. However, the program has threeTIMER function blocks. In order toimplement the function in accordance withthe specification, the same time delay valuemust be entered in these three blocks.

An "on" button (ON) activates the firstheating element (S1). After a time delay T,the second element (S2) starts up. After thesame time delay T, the third element (S3)starts up, then the fourth (S4) after T haselapsed again.An "off" button (OFF) deactivates S1. Thethree other elements are then deactivated oneafter the other after a time delay T has elapsedbetween the deactivation of each element.

Table of inputs/outputs:INPUTS OUTPUTS

I1 ON button O1 First heatingelement S1

I2 OFF button O2 Second heatingelement S2

O3 Third heatingelement S3

O4 Fourth heatingelement S4

Model required:Millenium II 8 inputs/4 outputs:

SA12 R 24 VAC.SA12 S 24 VDC.

Therefore, if the user wishes to modify one ofthese values, he must ensure that the newsetting is entered in all three blocks.

ON

OFF

S1

S2

S3

S4t

T

T

T

T

TT

Page 21: Example 1: Interior/exterior lighting of a residential propertycrouzetsales.com/pdf/ntr757-E_Application Library.pdf · BIT MULTIPLEXER ... Logic diagram (EN_1.pm2) Logic diagram

21

Cam timer: Power rise of the heating elements in a boilerLogic diagram (EN_7.pm2)

Page 22: Example 1: Interior/exterior lighting of a residential propertycrouzetsales.com/pdf/ntr757-E_Application Library.pdf · BIT MULTIPLEXER ... Logic diagram (EN_1.pm2) Logic diagram

22

Example 8: Cam timer: Cycle with 4 successive phases (industrial washing machine)

(File: EN_8.pm2 and EN_8A.pm2)

Specification:

An adjustable cam timer is required to controlthe cycles of 4 successive phases in "on"mode. Pressing the button will stop theprocess immediately. The four phases are, forexample: pre-wash, wash, dry, stand-by.The trend diagram below illustrates theoperation of the system.

Program description:

Two programming levels are available.Level 1: The different time delays cannot bemodified using the Millenium.Level 2: The four time delays can be modifiedby the user directly using the buttons on thefront panel of the Millenium II.

An "on" button (ON) starts the cycle. OutputS1 is activated for T1, then output S2 for T2,then output S3 for T3, then output S4 for T4.Pressing the "off" button (OFF) stops thecurrent cycle.

Table of inputs/outputs:

INPUTS OUTPUTSI1 ON button O1 First phase S1

I2 OFF button O2 Second phase S2

O3 Third phase S3

O4 Fourth phase S4

Model required:

Millenium II 8 inputs/4 outputs:SA12 R 24 VAC.SA12 S 24 VDC.

The display shows:

T1= 120.0T2= 60.0T3= 65.0T4= 120.0

The timesdisplayed are inseconds.

The time delays can be modified as follows:➔Press any button on the front panel.➔Use the "5" or "6" buttons to

select the value to be modified.➔Press "OK".➔Use the "+" or "-" buttons to change

the value.➔Confirm your entry by pressing

"OK" or cancel by pressing "ESC" (this willrestore the last value entered).

Application advantages:

Level 2 enables the time delay parameters tobe changed easily using the buttons on thefront panel of the module.

ON

OFF

S1

S2

S3

S4t

T1

T2

T3

T4

T1

Page 23: Example 1: Interior/exterior lighting of a residential propertycrouzetsales.com/pdf/ntr757-E_Application Library.pdf · BIT MULTIPLEXER ... Logic diagram (EN_1.pm2) Logic diagram

23

Cam timer: Cycle with four successive phasesLogic diagram (level 1) (EN_8.pm2)

Page 24: Example 1: Interior/exterior lighting of a residential propertycrouzetsales.com/pdf/ntr757-E_Application Library.pdf · BIT MULTIPLEXER ... Logic diagram (EN_1.pm2) Logic diagram

24

Cam timer: Cycle with four successive phasesLogic diagram (level 2) (EN_8A.pm2)

Page 25: Example 1: Interior/exterior lighting of a residential propertycrouzetsales.com/pdf/ntr757-E_Application Library.pdf · BIT MULTIPLEXER ... Logic diagram (EN_1.pm2) Logic diagram

25

Example 9: Managing an emergency set(File: EN_9.pm2)

Specification:

In the event of a mains power failure, thenumber of starts of a diesel emergency setsupplying a generator is to be controlled fortime T4 (4 seconds). The starts are countedand limited to N=3. Following this, no newstarts can be attempted for time T2 (2seconds) (activated if N is reached).

The signal from a tachometer (functionimplemented by Crouzet Type 4192 multi-function counters) positioned at generatorlevel is used to check that the emergency setis functioning correctly. Each start pulse T1(1 second) activates time delay T4. If theemergency set fails to start once this time haselapsed, a new pulse is sent.

Table of inputs/outputs:

INPUTS OUTPUTS

I1 Mains power O1Authorisation tostart set

I2Tachometer:Rotation OK

O2Indicator light:OK

O3Indicator light:Failed

Model required:

Millenium II 8 inputs/4 outputs:SA12 R 24 VAC.SA12 S 24 VDC.

Program description:

If, during T4, no signals have been detectedfrom the tachometer (I2), a new start isgenerated (O1). If a fourth start is necessary,time delay T2 is activated and O3 lights up.

Whilst the set is functioning correctly O2 is litand the system is initialised if the mainspower returns.

Application advantages:

The "counter" function associated with thetime delay functions makes this applicationeasy to set up using a single automationmodule.

Page 26: Example 1: Interior/exterior lighting of a residential propertycrouzetsales.com/pdf/ntr757-E_Application Library.pdf · BIT MULTIPLEXER ... Logic diagram (EN_1.pm2) Logic diagram

26

Managing an emergency setLogic diagram (EN_9.pm2)

Page 27: Example 1: Interior/exterior lighting of a residential propertycrouzetsales.com/pdf/ntr757-E_Application Library.pdf · BIT MULTIPLEXER ... Logic diagram (EN_1.pm2) Logic diagram

27

Hints and tips

Alternating operation of two outputs with Init(File: EN10.pm2)

➜Inputs : 1 on button (I1); 1 initialise button (I2).➜Outputs : (O1); (O2).➜Operation : No outputs are activated on power-up. Pressing I1 will activate output O1.Pressing I1 again deactivates O1 and activates O2. Pressing I1 a third time restarts the cycle.

➜Diagram : Parameterisation of the PULSE block: "ON to OFF".

I1

I2

O1

O2

time

Page 28: Example 1: Interior/exterior lighting of a residential propertycrouzetsales.com/pdf/ntr757-E_Application Library.pdf · BIT MULTIPLEXER ... Logic diagram (EN_1.pm2) Logic diagram

28

Hints and tips

Time-delayed operation, two alternating outputs(File: EN11.pm2)

➜Inputs : 1 on button (I1); 1 off button (I2).➜Outputs : 2 outputs (O1 and O2).➜Operation : No outputs are activated on power-up. Unlike the previous example, thealternate operation of the outputs is no longer conditioned by activating the input but by a timedelay.Pressing I1 (pulse) activates output O1 for 1 hour. Once this time has elapsed, output O2 controlsthe relay for 2 hours. The cycle is stopped by I2.

➜Diagram

Parameterisation of the PRESET H-METER block: Hour=3; minute=0. This block definesthe total cycle time.

Parameterisation of the NUM: 1 block. This block defines the initial cycle time.

I1

I2

O1

O2

time

1 hour

2 hours

Page 29: Example 1: Interior/exterior lighting of a residential propertycrouzetsales.com/pdf/ntr757-E_Application Library.pdf · BIT MULTIPLEXER ... Logic diagram (EN_1.pm2) Logic diagram

29

Hints and tips

NAND with 6 inputs(File: EN12 .pm2)

Page 30: Example 1: Interior/exterior lighting of a residential propertycrouzetsales.com/pdf/ntr757-E_Application Library.pdf · BIT MULTIPLEXER ... Logic diagram (EN_1.pm2) Logic diagram

30

Hints and tips

Bit multiplexer(File: EN13.pm2)

Creation of a bit multiplexer using the BOOLEAN function

INPUT 1 INPUT 2 INPUT 3 INPUT 4 OUTPUTIN 0 IN 1 No connect DIR Out

0 0 x 0 01 0 x 0 00 1 x 0 11 1 x 0 1.. .. .. ..0 0 x 1 01 0 x 1 10 1 x 1 01 1 x 1 1

I1

I2

Dir

OUT

Crouzet Sales, Gross Automation1725 S. Johnson Rd., New Berlin, WI, 53146, 262-446-0000, Fax 262-446-0300, 877-268-3700

www.grossautomation.com