Function Block Intro
-
Upload
hashemalihashem -
Category
Documents
-
view
12 -
download
0
description
Transcript of Function Block Intro
![Page 1: Function Block Intro](https://reader030.fdocuments.in/reader030/viewer/2022020222/5695d0f41a28ab9b02948fb8/html5/thumbnails/1.jpg)
Introduction to ControlLogix Function Block
![Page 2: Function Block Intro](https://reader030.fdocuments.in/reader030/viewer/2022020222/5695d0f41a28ab9b02948fb8/html5/thumbnails/2.jpg)
Function Block Programming
• Relatively new PLC language• ControlLogix only Allen-Bradley PLC family to
support function block• From IEC 1131-3 specifications
![Page 3: Function Block Intro](https://reader030.fdocuments.in/reader030/viewer/2022020222/5695d0f41a28ab9b02948fb8/html5/thumbnails/3.jpg)
Uses of Function Block
• Process control such as PID• Drive systems
![Page 4: Function Block Intro](https://reader030.fdocuments.in/reader030/viewer/2022020222/5695d0f41a28ab9b02948fb8/html5/thumbnails/4.jpg)
Why Function Block?
• New instructions• Advanced function block instructions have
instructions that would take many ladder rungs to create equivalent logic.
• Function block has user-defined blocks.
![Page 5: Function Block Intro](https://reader030.fdocuments.in/reader030/viewer/2022020222/5695d0f41a28ab9b02948fb8/html5/thumbnails/5.jpg)
• Not all relay ladder logic instructions are available in function block.
• A ControlLogix routine must be 100% the same programming language.
![Page 6: Function Block Intro](https://reader030.fdocuments.in/reader030/viewer/2022020222/5695d0f41a28ab9b02948fb8/html5/thumbnails/6.jpg)
Function Block Components
• Function block routine• Function blocks for instructions• Input and output references• Wire connectors• Dotted wire for bit data• Solid line for value data
![Page 7: Function Block Intro](https://reader030.fdocuments.in/reader030/viewer/2022020222/5695d0f41a28ab9b02948fb8/html5/thumbnails/7.jpg)
Create a New Function Block Routine
Routine name
Description if desired
Select routine type
![Page 8: Function Block Intro](https://reader030.fdocuments.in/reader030/viewer/2022020222/5695d0f41a28ab9b02948fb8/html5/thumbnails/8.jpg)
Function Block Routine
Continuous Task
Main Ladder Routine
Function Block Routine
![Page 9: Function Block Intro](https://reader030.fdocuments.in/reader030/viewer/2022020222/5695d0f41a28ab9b02948fb8/html5/thumbnails/9.jpg)
Function Block Sheet
Sheet number
Coordinates Grid
Delete sheet
New sheet
Navigate between sheets
Show / hide gridSheet Name
![Page 10: Function Block Intro](https://reader030.fdocuments.in/reader030/viewer/2022020222/5695d0f41a28ab9b02948fb8/html5/thumbnails/10.jpg)
Language Element Toolbar
Input reference
Output reference
Input wire connector
Output wire connector
![Page 11: Function Block Intro](https://reader030.fdocuments.in/reader030/viewer/2022020222/5695d0f41a28ab9b02948fb8/html5/thumbnails/11.jpg)
Input Reference for Bit
Dotted lines identify as bit or BOOL data
Bit valueInput Reference
![Page 12: Function Block Intro](https://reader030.fdocuments.in/reader030/viewer/2022020222/5695d0f41a28ab9b02948fb8/html5/thumbnails/12.jpg)
Input Reference for Values
Solid line signifies the tag contains a value
Bit data
Tag value
![Page 13: Function Block Intro](https://reader030.fdocuments.in/reader030/viewer/2022020222/5695d0f41a28ab9b02948fb8/html5/thumbnails/13.jpg)
Output Reference
Output reference to tag
Dotted line signifies bit data
Bit value
![Page 14: Function Block Intro](https://reader030.fdocuments.in/reader030/viewer/2022020222/5695d0f41a28ab9b02948fb8/html5/thumbnails/14.jpg)
Wire Connectors (1 of 3)
• Used to move function block diagram wire from one sheet to another
• Output from one sheet is an input to the next sheet
![Page 15: Function Block Intro](https://reader030.fdocuments.in/reader030/viewer/2022020222/5695d0f41a28ab9b02948fb8/html5/thumbnails/15.jpg)
Wire Connectors (2 of 3)
Sheet One
Sheet Two
Output wire connector
Input wireconnector
Coordinates
![Page 16: Function Block Intro](https://reader030.fdocuments.in/reader030/viewer/2022020222/5695d0f41a28ab9b02948fb8/html5/thumbnails/16.jpg)
Wire Connectors (3 of 3)
• Coordinates refer ahead to the input wire connector on the next sheet or back to the output wire connector on the previous sheet.
• 2A1 refers to sheet 2 coordinates A1.• 1C2 refers to sheet 1 coordinates C2.
![Page 17: Function Block Intro](https://reader030.fdocuments.in/reader030/viewer/2022020222/5695d0f41a28ab9b02948fb8/html5/thumbnails/17.jpg)
Language Element ToolbarBoolean AND
Boolean OR
Boolean Excusive OR
Boolean NOT
Up / Down counter
Timer on-delay with reset
![Page 18: Function Block Intro](https://reader030.fdocuments.in/reader030/viewer/2022020222/5695d0f41a28ab9b02948fb8/html5/thumbnails/18.jpg)
Boolean AND
![Page 19: Function Block Intro](https://reader030.fdocuments.in/reader030/viewer/2022020222/5695d0f41a28ab9b02948fb8/html5/thumbnails/19.jpg)
Relay Ladder AND Logic
![Page 20: Function Block Intro](https://reader030.fdocuments.in/reader030/viewer/2022020222/5695d0f41a28ab9b02948fb8/html5/thumbnails/20.jpg)
Boolean OR
![Page 21: Function Block Intro](https://reader030.fdocuments.in/reader030/viewer/2022020222/5695d0f41a28ab9b02948fb8/html5/thumbnails/21.jpg)
Relay Ladder OR Logic
![Page 22: Function Block Intro](https://reader030.fdocuments.in/reader030/viewer/2022020222/5695d0f41a28ab9b02948fb8/html5/thumbnails/22.jpg)
Boolean Exclusive OR
![Page 23: Function Block Intro](https://reader030.fdocuments.in/reader030/viewer/2022020222/5695d0f41a28ab9b02948fb8/html5/thumbnails/23.jpg)
Relay Ladder Logic Excusive OR
![Page 24: Function Block Intro](https://reader030.fdocuments.in/reader030/viewer/2022020222/5695d0f41a28ab9b02948fb8/html5/thumbnails/24.jpg)
Boolean Not
![Page 25: Function Block Intro](https://reader030.fdocuments.in/reader030/viewer/2022020222/5695d0f41a28ab9b02948fb8/html5/thumbnails/25.jpg)
Relay Ladder NOT Logic
![Page 26: Function Block Intro](https://reader030.fdocuments.in/reader030/viewer/2022020222/5695d0f41a28ab9b02948fb8/html5/thumbnails/26.jpg)
Adding Address Tag
![Page 27: Function Block Intro](https://reader030.fdocuments.in/reader030/viewer/2022020222/5695d0f41a28ab9b02948fb8/html5/thumbnails/27.jpg)
Drag Wire To Target
Drag wire to target. When target changes drop wire.
![Page 28: Function Block Intro](https://reader030.fdocuments.in/reader030/viewer/2022020222/5695d0f41a28ab9b02948fb8/html5/thumbnails/28.jpg)
Function Block Properties
Click here to go to properties.
![Page 29: Function Block Intro](https://reader030.fdocuments.in/reader030/viewer/2022020222/5695d0f41a28ab9b02948fb8/html5/thumbnails/29.jpg)
BAND Properties Box
Parameters visible?
Monitor values
Execution order