the different controllers the functions input functions function blocks dedicated function blocks...

50

Post on 19-Dec-2015

230 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: The different controllers The Functions Input functions Function blocks Dedicated function blocks Logic functions Output functions Applications Examples
Page 2: The different controllers The Functions Input functions Function blocks Dedicated function blocks Logic functions Output functions Applications Examples

The different controllers

Page 3: The different controllers The Functions Input functions Function blocks Dedicated function blocks Logic functions Output functions Applications Examples

The Functions

• Input functions

• Function blocks

• Dedicated function blocks

• Logic functions

• Output functions

• Applications Examples

Page 4: The different controllers The Functions Input functions Function blocks Dedicated function blocks Logic functions Output functions Applications Examples
Page 5: The different controllers The Functions Input functions Function blocks Dedicated function blocks Logic functions Output functions Applications Examples

Digital input

Contact

Presence detector

Limit switch

Proximity sensor

Illuminated pushbutton

Selector switch

Pushbutton

Normally open relay

Page 6: The different controllers The Functions Input functions Function blocks Dedicated function blocks Logic functions Output functions Applications Examples

Analogue Input:This type of input can take an input voltage of 0 to 10 V corresponding to a value of 0 to 255.

Numeric Input:With an XT20 it is possible to communicate a counter value to the extension.

Numeric & Analogue filtered Inputs:These types of input can be used to suppress interference.

Constant Inputs:Both analogue and digital constants.

Page 7: The different controllers The Functions Input functions Function blocks Dedicated function blocks Logic functions Output functions Applications Examples

This is an internal clock with a period of one second.

Buttons: you can use the buttons on the front panel of the Millenium: A, B, ESC, OK, + and - in your application.

Daylight saving:For “summer time”

Page 8: The different controllers The Functions Input functions Function blocks Dedicated function blocks Logic functions Output functions Applications Examples
Page 9: The different controllers The Functions Input functions Function blocks Dedicated function blocks Logic functions Output functions Applications Examples

The Boolean function takes four inputs. The output reacts according to the truth table described in the parameters.

Page 10: The different controllers The Functions Input functions Function blocks Dedicated function blocks Logic functions Output functions Applications Examples

Rocker switch: generating a pulse on S or R will Set or Reset the output.

The priority defines the output state when both inputs are at 1.

Page 11: The different controllers The Functions Input functions Function blocks Dedicated function blocks Logic functions Output functions Applications Examples

Input

Function A

Function C

Function AC

Time delay:

This is used to apply an ON delay, an OFF delay, or both delays to the output signal in relation to the input signal.

Page 12: The different controllers The Functions Input functions Function blocks Dedicated function blocks Logic functions Output functions Applications Examples

Preset counter: This function is used to count up to a defined value.

Once this value has been reached, the output changes to 1 until reset if the fixed output is selected, or for a certain period if the pulse output is selected.

Page 13: The different controllers The Functions Input functions Function blocks Dedicated function blocks Logic functions Output functions Applications Examples

Zone comparison: Used for applications using analogue data.

Max Limit

Min LimitInput

Output

Run in the zone

Stop in the zone

Page 14: The different controllers The Functions Input functions Function blocks Dedicated function blocks Logic functions Output functions Applications Examples

BW timer:

This generates a cycle duration pulse on a rising or falling edge or on both edges of an input, according to the setting chosen in the parameters.

input

ouput

Page 15: The different controllers The Functions Input functions Function blocks Dedicated function blocks Logic functions Output functions Applications Examples

Hour meter

This function measures the duration of the input state at 1.

After a preset duration, the output changes state. This block can, for example, be used as an alert on a machine for maintenance purposes.

Page 16: The different controllers The Functions Input functions Function blocks Dedicated function blocks Logic functions Output functions Applications Examples

Pulse:

This is used to generate pulses on a rising edge of the input.

Page 17: The different controllers The Functions Input functions Function blocks Dedicated function blocks Logic functions Output functions Applications Examples

Monostable: This block is used to generate 1 pulse on a rising edge of the input.

Page 18: The different controllers The Functions Input functions Function blocks Dedicated function blocks Logic functions Output functions Applications Examples

Schmitt trigger: The output changes state if the input is lower than the minimum value, and the output changes state again if the input is higher than the maximum value.

If the input is between the two, the output remains unchanged.

This function is used to locate a high threshold and low threshold in relation to an analogue variable..

Page 19: The different controllers The Functions Input functions Function blocks Dedicated function blocks Logic functions Output functions Applications Examples

Comparison of 2 values:

This block is used to compare two analogue values using the =, >, <,,, operators.

The digital output is activated if the comparison is true.

Page 20: The different controllers The Functions Input functions Function blocks Dedicated function blocks Logic functions Output functions Applications Examples

Gain: Function which allows the use of a scale factor and is applicable to all analogue data.

Page 21: The different controllers The Functions Input functions Function blocks Dedicated function blocks Logic functions Output functions Applications Examples

Display on the LCD:

This block is used to display text or an integer on the front panel LCD display.

For example, you can display a decimal derived from an integer.

Page 22: The different controllers The Functions Input functions Function blocks Dedicated function blocks Logic functions Output functions Applications Examples

24-hour, 7-day and 365-day timer switch:

This function is used to activate or deactivate the output at a precise moment in the day, week or year.

Page 23: The different controllers The Functions Input functions Function blocks Dedicated function blocks Logic functions Output functions Applications Examples

Bistable:

The principle of this block is very well known, since it involves an impulse relay. Essentially a flip-flop, the initial impulse will set the output to 1, and the ensuing pulse will reset the output to 0.

Multiplexing:

This function multiplexes the integers. It is used to route on the output either the value of the CHANNEL A input when the CONTROL input is set to OFF or the value of the CHANNEL B input when the CONTROL input is set to ON.

Page 24: The different controllers The Functions Input functions Function blocks Dedicated function blocks Logic functions Output functions Applications Examples
Page 25: The different controllers The Functions Input functions Function blocks Dedicated function blocks Logic functions Output functions Applications Examples

Cam timer:

If the FORWARD input changes from OFF to ON, a group of 8 integral cam wheels will move forward one step.

The function presents ON or OFF values (parameter inputs) for the number of the step indicated on the POSITION output (0 to 49) on the 8 outputs (OUTPUT 1 to OUTPUT 8).

Page 26: The different controllers The Functions Input functions Function blocks Dedicated function blocks Logic functions Output functions Applications Examples

Pumps management:

This function is used to set to ON a maximum of four digital outputs which can be activated (OUTPUT 1 ... OUTPUT 4).

In addition, the outputs set to ON are selected so that in the event of prolonged operation, each output will have been set to ON the same number of times.

Page 27: The different controllers The Functions Input functions Function blocks Dedicated function blocks Logic functions Output functions Applications Examples

Archive:

This function is used to record and keep track of a special event ( alarm, counter value, time, over heating…).

Multiplication divisionAddition subtraction:

Used to multiply simple values but also counter values

Up / Down counter:

Counts values up and down, setting the output ON when the preset value is reached. The output goes back OFF if the value on the down-count input causes the counter value to fall under the preset value.

Modif time prog:

It is a user friendly, front panel configuration for time switch display.

Page 28: The different controllers The Functions Input functions Function blocks Dedicated function blocks Logic functions Output functions Applications Examples
Page 29: The different controllers The Functions Input functions Function blocks Dedicated function blocks Logic functions Output functions Applications Examples

Graphcet Functions:

SFC functions are similar to Grafcet language.

The principle is simple, since it involves sequential programming, with steps succeeding one another surrounded by transitions.

When a step is active, wait for the next transition to become active in order to go to the next step.

Page 30: The different controllers The Functions Input functions Function blocks Dedicated function blocks Logic functions Output functions Applications Examples

Initial Step and Resettable initial step:

This function can be used to set up an operating phase or step for a PLC or a device.

This reinitialisation, which has priority over all the input values of an independent SFC chart, forces a status token to its own state and all other functions to their initial states

• The non-connected TRANSITION is maintained in the OFF state: transition blocked

• The non-connected STEP INPUT 1 or STEP INPUT 2 is maintained with no token present in the step input.

• The non-connected REINITIALISATION is maintained in the OFF state: The associated function cannot reinitialise the independent SFC chart with which it is associated.

Page 31: The different controllers The Functions Input functions Function blocks Dedicated function blocks Logic functions Output functions Applications Examples

A OR convergence is used to link an identical operating phase after one or other operating phases (simultaneous or not).

Operating in progress: Step1 of B01 active.

(stable state)

Active step

End of operating phase 1: transition B01 active

(transient state)

Operating phase 3 in progress: Step B03 active

(stable state)

Active step

Status token circulation

Page 32: The different controllers The Functions Input functions Function blocks Dedicated function blocks Logic functions Output functions Applications Examples

The AND convergence function is used to link a single operating phase after simultaneous operating phases.

Operating phase 1 & 2 in progress: Step 1 & 2 of B01 are active simultaneously

(stable state)

End of operating phase 1& 2: Transition B01 active

(transient state)(transient state)

Operating phase 3 in progress: Step B02

(stable state)

(stable state)

Active step

Active step

Active step

Page 33: The different controllers The Functions Input functions Function blocks Dedicated function blocks Logic functions Output functions Applications Examples

OR Divergence is used to link one or two operating phases after an operating phase.

Operating phase 1 in progress: Step B01 active

(stable state)

End of operating phase 1.

Transition 2 of B01 active

(transient state)

Operating phase 3 in progress: Step B00 active

(stable state)

Active

step

ActiveStep

Page 34: The different controllers The Functions Input functions Function blocks Dedicated function blocks Logic functions Output functions Applications Examples

AND Divergence to is used to represent and control simultaneous operating phases.

Operating phase 1 in progress: Step B01 active

(stable state)

End of operating phase 1.

Transition B01 active

(transient state)

Operating phase 2& 3 in progress simultaneously:

Step B00 & B04active (stable state)

Active

step

Active

step

Active

step

Page 35: The different controllers The Functions Input functions Function blocks Dedicated function blocks Logic functions Output functions Applications Examples
Page 36: The different controllers The Functions Input functions Function blocks Dedicated function blocks Logic functions Output functions Applications Examples

This function logically ANDs the connected digital input signals. If at least one INPUT is set to OFF, the OUTPUT is set to OFF. If all the connected INPUTS are set to ON, the OUTPUT is set to ON.

This function logically ORs the connected digital input signals. If at least one INPUT is set to ON, the OUTPUT is set to ON. If all the connected INPUTS are set to OFF, the OUTPUT is set to OFF.

This function logically NEGATIVELY ANDs the connected digital input signals. If at least one INPUT is set to OFF, the OUTPUT is set to ON. If all the connected INPUTS are set to ON, the OUTPUT is set to OFF.

This function logically NEGATIVELY ORs the connected digital input signals.If at least one INPUT is set to ON, the OUTPUT is set to OFF. If all the connected INPUTS are set to OFF, the OUTPUT is set to ON.

Page 37: The different controllers The Functions Input functions Function blocks Dedicated function blocks Logic functions Output functions Applications Examples

This function exclusively logically ORs the connected digital input signals. If both INPUTS are at the same level (both set to ON or both set to OFF), the OUTPUT is set to OFF. If one of the inputs is set to ON and the other is set to OFF, the output is set to ON.

This function logically NOTs the connected digital input signals. If the INPUT signal is set to OFF, the OUTPUT is set to ON. If the INPUT signal is set to ON, the OUTPUT is set to OFF.

Page 38: The different controllers The Functions Input functions Function blocks Dedicated function blocks Logic functions Output functions Applications Examples
Page 39: The different controllers The Functions Input functions Function blocks Dedicated function blocks Logic functions Output functions Applications Examples

Normally open relay

Fan

Lamp

Solid State Relay

Resistor

Heater

Orange light

Red light

Green light

Indicator

Audible signal

Valve

Cylinder

Motor

Digital Outputs

Page 40: The different controllers The Functions Input functions Function blocks Dedicated function blocks Logic functions Output functions Applications Examples

Pulse Width Modification Output

The input (internal controller input) of the PWM output is an integer value. The value of an integer at the output of an FBD function block can be between -32767 and +32767.

The PWM only takes into account values between 0 and 255: this means that all input values less than 0 are reset to 0 and that all values greater than 255 are reset to 255.

This value between 0 and 255 is used in the PWM to vary the cyclic ratio of a digital clock.

For example:with the value 0, the output signal is always at 0 with the value 127, the output signal is at 0 for half the time and at 1 for half the time: the filtered analog output is produced at half the supply voltage of the output unit finally, with the value 255, the output signal is always at 1 and the analog output takes the maximum value of the supply voltage of the unit.

[-32767; 0] 127 200 [255; 32767]

1 1 1

0

Input

Output50% 79% 100%

Page 41: The different controllers The Functions Input functions Function blocks Dedicated function blocks Logic functions Output functions Applications Examples

Num Out

This function is used to output a 16-bit integer (-32768, +32767) from certain connected extensions.

This input can only be placed on INTEGER type output units of the extensions.

This output symbol cannot be placed on the output units of the controller.

Backlighting of the LCD screen on the front panel of the controller.

The screen is not lit when the input is in the OFF state.

In simulation and monitoring modes, when the input is set to ON, the following symbol appears.

Input ON: the LCD screen is back-lit

Back Light

Page 42: The different controllers The Functions Input functions Function blocks Dedicated function blocks Logic functions Output functions Applications Examples
Page 43: The different controllers The Functions Input functions Function blocks Dedicated function blocks Logic functions Output functions Applications Examples

Timer A-C Three timing Functions in one block.

Delay on Make Function AUpon receiving an input signal timing begins.After the set time has elapsed the output is activated. The output remains active untilremoval of the input signal.

Delay on Break Function CUpon receiving the input signal the output isactivated. Timing begins with removal of theinput signal. After the set time has elapsedthe output is de-activated

Combination Delay on Make / Delay on Break Function ACUpon receiving the input signal the delay on make time begins. After the set time has elapsed the output is activated. Upon removal of the input signal, the delay on break time begins. After the settime has elapsed the output is de-activated. Delay on and delay off times are independently adjustable.

Page 44: The different controllers The Functions Input functions Function blocks Dedicated function blocks Logic functions Output functions Applications Examples

Timer BH

Single Shot Function BUpon receiving an input signal the outputis activated and timing begins. After theset time has elapsed the output is de-activated.The input signal has no effect on the timeruntil the output is de-activated

Interval Function HUpon receiving an input signal the output isactivated and timing begins. After the set timehas elapsed the output is de-activated.If the input signal is removed before time-out, timing will reset and the output is de-activated.

Page 45: The different controllers The Functions Input functions Function blocks Dedicated function blocks Logic functions Output functions Applications Examples

Repeat Cycle Timer, Counter, Set Reset

In this example, a momentary push button is pressed to start the cycle. The Timer Li function Block is set to flash the light bulb on for 1second and off for 1 second. The Timer Li function block can also be programmed to repeat this cycle a set number of times. In this example the timer has been programmed to repeat the cycle 10 times. The Set Reset Function Block is used to latch the momentary push button.The Preset Counter is used to count the number of flashes and reset the Set Reset.

Page 46: The different controllers The Functions Input functions Function blocks Dedicated function blocks Logic functions Output functions Applications Examples

Temperature Sensing

In this example, a Crouzet 89750150 temperature sensor is wired to a Millenium analog input.The Gain Function Block scales the 8 bit analog to digital converter to degrees Fahrenheit. Thisparticular sensor measures 14 to 104 degrees. The value of the gain is fed into the compare. TheNum Function Block is used to feed a set value into the Compare Function. In this example, thevalue of num is set to 80. The compare function block is programmed to give an output if thegain value is greater than the num block value. If the temperature goes above 80 degrees theMillenium will turn on a fan.

Page 47: The different controllers The Functions Input functions Function blocks Dedicated function blocks Logic functions Output functions Applications Examples

Boolean - Complex Logic in a single Function

In this example, both of these diagrams perform the same function. The Booleanfunction block is programmed via a truth table. You can set the block to activateit’s output on any combination of the 4 inputs.

=

Page 48: The different controllers The Functions Input functions Function blocks Dedicated function blocks Logic functions Output functions Applications Examples

Multiple Displays

In this example, The ‘A’ key on the front face of the Millenium is used to page through five separate displays.At start-up the current count of the counter is 0, the first compare is set to be active when the counter is at 0.When the A button is pressed the counter increments. The value of the counter is now 1 and the second compareis programmed to be active for this counter value. The counter’s set point is programmed for the number of displays in the sequence (5 in this example). The counter is also programmed to be in repeat mode, so the counter resets at 5 and the first display is then active again.

Page 49: The different controllers The Functions Input functions Function blocks Dedicated function blocks Logic functions Output functions Applications Examples

Addition/Subtraction Function Block

In this example, The Addition/Subtraction block is used to add(top example) or subtract(bottom example) two analog values. Input 6 and 7 are programmed to be analog inputs. The two gain function blocks scale the numberto a meaningful value. The two gain blocks feed the add or subtract inputs on the add/subtract function block. Theresult of the math is displayed on the LCD and is also fed to the compare. The counter preset value is used to feedthe compare a user adjustable value. The second display allows modification of the counter preset.

Page 50: The different controllers The Functions Input functions Function blocks Dedicated function blocks Logic functions Output functions Applications Examples

Rate Meter / Tachometer

In this example, a proximity sensor is used to determine rpm of a rotating object. Rpm is displayed on the LCD,and compared against a fixed value. The prox is wired to a Boolean block. The Boolean block only gives an output if the prox is on and the Timer B06 is NOT on. The counter counts the pulses of the prox for one second.The value of the counter is then multiplied to determine rpm. The archive block is used to store that value anddisplay it on the LCD. The archive block is updated once every 1.2 seconds. The Time B06 controls theoperation. The timer has 1 second off time and a .2 second on time. The off time is used to count the pulses.The on time triggers the archive to latch in the rpm, and start the delay timer. The timer delays .2 seconds then resets the counter for the next sample. The compare function turns on an output when a certain rpm is reached, this value is programmed into the NUM block B11