Version 6.1 ICONICS World Wide Sales Conference 1998
OPC-Based Open Control for NT / 2000 Fully Compliant IEC 1131 Configurator All 5 IEC 1131 standard languages Supported: SFC, FBD, LD, IL, and ST Mix IEC 1131 Graphical Languages Application worksheets in any appropriate language! Windows ‘Object & Action’ Editing Object-based editing of POU’s, SFC-steps, IL-instruction Powerful Built-in Runtime Debugger Test your control logic right within the IEC 1131 configurator Online Configuration with Active Process No need to interrupt control to implement new control logic. Fast, Full Multitasking Runtime Engine Sub-millisecond instruction execution under NT®4.0 Open Communications to Field Devices OPC Connectivity and Drivers for Interbus-s, CAN, Profibus, DeviceNet, Fieldbus and much more...
OPC (COM/DCOM) Architecture GraphWorX32 TrendWorX32 AlarmWorX32 OPC Clients DataWorX32 OPC-To-The-Core COM/DCOM Server Servers ControlWorX32 I/O Devices
IEC 1131 & OPC Open Control Device Networks Development Run-Time Server Server ControlWorX32 IEC 1131 ControlWorX32 ControlWorX32 Run-Time NT Kernel Embedded CE Device Networks e.g. Interbus, Profibus, Modbus TCP/IP, DeviceNet, etc... I/O Devices I/O Devices
FEATURES
Development & Configuration Server ControlWorX32 IEC 1131 ControlWorX32 Run-Time I/O Devices
POU Program Organization Unit PROGRAM OB Organization block FUNCTION BLOCK FUNCTION OB Organization block SB Step block DB Data block FB Function block PB Program block
Function POU with arguments without static variables without "memory" Types of POUs PROGRAM FUNCTION BLOCK FUNCTION Program Highest level of POUs; execution is defined by the task it is associated to; anchoring of the peripherals: Declaration of IOs Function POU with arguments without static variables without "memory" Function block POU with arguments and static variables "with persisting memory"
SFC (Sequential Function Charts) FBD (Function Block Diagrams) IEC 1131.3 Languages Use any one or all of the 5 standard languages SFC (Sequential Function Charts) LD (Ladder Diagram) IL (Instruction List) FBD (Function Block Diagrams) ST (Structured Text)
Sequential Function Chart Action name Qualifier Indicator Diagrammatic representation of process state Activity Flow Oriented Sequential Control Step and Transition Code of the action in one of the IEC 1131 languages
Function Block Diagram Graphical Data Flow Oriented Process Diagram like Function Block Function direction of flow
Ladder Diagram LD Graphical Powerflow Discrete control Oriented Familiar Easily maintained coil Power rail contact
Structured Text- ST High level textual language Complex calculations and algorithms Higher level language like
Instruction List Text Based Boolean Language Non-engineering based programming Assembly like
Project Tree Structure All Program Organization Unit s (POU) - program, function block, function - are organized and handled from project tree Description of PLC Runtime System according to IEC 1131-3 Definition of Global variables and IO-configuration independent from POUs All instances within one resource
User defined FunctionBlocks 1. Define FunctionBlock POU in project tree 2. Write FunctionBlock in any IEC programming language 3. Instances of user defined FunctionBlock
User defined data types STRUCT /ARRAY 1. Define required data type in own worksheet of project 2. Use data type in global variable declaration workseet if used for physical I/O 3. Use data type in variable declaration worksheet of POU
Single Editor for all Graphical Languages Mix Ladder Diagram, Function Block Diagram and Sequential Function Chart in a single worksheet.
Benefits of IEC 1131.3 Standard project organization Standard Function Blocks Standard Functions Standard Operators Standard Data Types Standard programming languages
Startup Tools Changes while process is active Breakpoints Forcing Overwriting Single Step Single Cycle Watch List
Runtime debugger Controling the resource Test the project Debugging with - variable status, powerflow, breakpoints, single step
Design your own Page Layout environment items for name, date, title, etc. text for description ControlworX rectangles and lines Project: CONTAIN C:\MWT12\projects\contain Page: 3/10 bitmap for company logo, etc. Author: B. Pelzer Software Date: 08.11.96 Title: Last change: 08.11.96 16.17 MISCH/1-I MISCH/2-I MISCH/3-O MISCH/4-I MISCH/5-O cross reference area for variables used also in other worksheets local or global source area for POU in textual and graphical language cross reference area for variables used also in other worksheets local or global
Project Structure in ControlWorX32 Program Configuration Resource Task Function block Function
Variables
Variables Declaration Maximum_Fuel AT %MW 2 : INT := 150; := value location prefix I - Input Q - Output M - Memory size prefix X - 1 Bit B - 8 Bit W - 16 Bit D - 32 Bit L - 64 Bit
Run-Time Engine Development Server ControlWorX32 IEC 1131 I/O Devices
Automatic Variable List ControlWorX32 GENESIS-32 IEC 1131 CONFIGURATOR OPC SERVER Start/Stop Up/Download Debugging Automatic Variable List REAL-TIME Engine Dual-Ported RAM INTERBUS, PROFIBUS
Run-Time Specs. High performance 66 µs for 1000 BOOL instructions on 150 MHz Pentium 16 µs for 1000 INT or BOOL8 instructions on 150 MHz Pentium 0.5ms/1K bit operation on Windows NT 4.0 Program capacity; configurable, approx. 30,000 IL lines I/O; configurable, 64KB In / 64KB Out PLC Tasks - 32
ControlWorX Multitasking Periodic tasks Event driven tasks Default task- cyclic program execution at low priority Resource Task 1 . . . Task 2 . . . Task 3 Program Input (Read Inputs) Program Input (Read Inputs) Program Input (Read Inputs) Program Program Program A U T O _ M D E C N ACK L R CMD I Q P F B K ( ) S Y 4 START N D O E W C < = z I G H _ A B F L BRICK1 R P 1 BRICK2 2 V S MT R MT > + d NOT d & Blink B l a n k T O N I Q P L K _ M E CONTROL.X R U C A MOTOR J G . X D >=1 Program Output (Write Outputs) Program Output (Write Outputs) Program Output (Write Outputs)
ControlWorX- PLC Multitasking System Puls Fast Task P1 P1 P1 P1 P1 Event Task P2 P2 Task Priority Main Task P3 P4 P3 P4 P4 Default Task P5 P6 P6 P5 P6 CWX Runtime System Tasks 10 20 30 40 50 time [ms]
Windows NT Preemptive Context Switch ControlworX nothing to do - context switch to check ControlworX consumes CPU-power less than 1 cycle time ControlworX - Realtime Windows NT System Puls 1 2 3 4 5 time [ms] ControlworX event during Windows NT context - latency 10µs-1000µs ControlworX consumes CPU-power more than 1 cycle time ControlworX - Realtime Windows NT System Puls 1 2 3 4 5 time [ms]
I/O Devices Development Server ControlWorX32 IEC 1131 ControlWorX32 Run-Time I/O Devices
ControlWorX I/O Drivers InterBus CANopen Profibus DeviceNet SDS LonWorks Asi ControlNet FieldBus Foundation IEC/ISA SP50 FieldBus … more ...
OPC Servers Development Server ControlWorX32 IEC 1131 ControlWorX32 Run-Time I/O Devices
ControlWorX OPC Server Works with GENESIS-32, and all other compliant OPC clients Easily remote using DCOM and tag browser technology Hierarchical name space Supports CALL-R extensions for program start, stop, downloading etc.
Two ways to get to the I/O OPC Server Connects to all other Clients Development Server Server ControlWorX32 IEC 1131 I/O Device Driver runs in Kernel ControlWorX32 ControlWorX32 Run-Time NT Kernel Embedded CE Device Networks e.g. Interbus, Profibus, Modbus TCP/IP, DeviceNet, etc... I/O Devices I/O Devices
All five IEC programming languages Fast multi-tasking runtime engine SUMMARY All five IEC programming languages Fast multi-tasking runtime engine user defined interval and event tasks On-line Changes without stopping the process Full Debug Support On-Line Simulation On-line Help System in multiple languages Connect to devices on Interbus, Profibus, CAN,.. OPC Connectivity