ControlWorX32 Presentation

Download Report

Transcript ControlWorX32 Presentation

Version 6.1
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
Development
Server
ControlWorX32
NT Kernel
ControlWorX32
IEC 1131
Run-Time
Server
ControlWorX32
Embedded CE
Device Networks
I/O Devices
e.g. Interbus, Profibus,
Modbus TCP/IP,
DeviceNet, etc...
I/O Devices
FEATURES
Development & Configuration
Development
ControlWorX32
IEC 1131
Server
ControlWorX32
Run-Time
I/O Devices
Program Organization Unit
POU
OB
Organization
block
DB
Data
block
FB
Function
block
PROGRAM
SB
Step
block
PB
Program
block
FUNCTION
FUNCTION
BLOCK
Types of POUs
Program Highest level of
POUs;
execution is defined
by the task it is
associated to;
anchoring of the
peripherals:
Declaration of IOs
PROGRAM
FUNCTION
Function POU with arguments
without static variables
without "memory"
FUNCTION
BLOCK
Function block POU with arguments and static
variables
"with persisting memory"
SFC (Sequential
Function
Use anyLanguages
one or allCharts)
of the
IEC
1131.3
5 standard languages
LD (Ladder Diagram)
IL (Instruction List)
FBD (Function Block Diagrams)
ST (Structured Text)
Sequential Function Chart
Qualifier
Action
name
Indicator
Code of the action in one
of the IEC 1131 languages
Diagrammatic
representation of
process state
Activity Flow Oriented
Sequential Control
Step and Transition
Function Block Diagram
Graphical
Data Flow Oriented
Process Diagram like
Ladder Diagram LD
coil
Power rail
contact
Graphical
Powerflow
Discrete control
Oriented
Familiar
Easily maintained
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
text
for name, date, title, etc.
for description
ControlworX
bitmap
for company
logo, etc.
Project: CONTAIN
Author: B. Pelzer
Software
Date: 08.11.96
Title:
C:\MWT12\projects\contain
Page:
3/10
Last change: 08.11.96 16.17
rectangles
and lines
MISCH/1-I
MISCH/2-I
MISCH/3-O
MISCH/4-I
MISCH/5-O
cross reference area
source area
cross reference area
for variables used also
in other worksheets
local or global
for POU in textual
and graphical
language
for variables used also
in other worksheets
local or global
Project Structure in ControlWorX32
Configuration
Program
Resource
Task
Function block
Function
Variables
Variables Declaration
Maximum_Fuel
AT
location
prefix
I - Input
Q - Output
M - Memory
%MW 2
:
INT
:= 150;
:= value
size prefix
X - 1 Bit
B - 8 Bit
W - 16 Bit
D - 32 Bit
L - 64 Bit
Run-Time Engine
Development
ControlWorX32
IEC 1131
Server
ControlWorX32
Run-Time
I/O Devices
ControlWorX32
IEC 1131
CONFIGURATOR
Debugg
Start/Stop
ing
Up/Downlo
ad
REALTIME
Engine
Dual-Ported RAM
INTERBUS, PROFIBUS
GENESIS-32
OPC
SERVER
Automatic
Variable
List
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
&
Blink
Blank
TON
IN
Q
PT
TON
IN
Q
PT
AUTO_MODE
AUTO_CMD
CMD
( )
START
AUTO_MODE
ACK
OK_TO_RUN
TRUCK_ON_RAMP
&
JOG_PB
RUN_IN.X
ALRM
( R)
N
VA
WC > = WA+ z
&
CONTROL.X
WEIGH_B
CMD_TMR
CMD
MOTOR
TON
IN
Q
PT ET
>=1
DUMB_BIN.X
DONE
MAN_CMD
WEIGH_A
BLINK_TIME
N
WC < = z
MAN_CMD
KEY4
FDBK
ALRM
(S)
LED
(P)
N
VE
WC > = W A + WB+ z
FILL
N VC
BRICK1
S MT
d
DROP_1
NOT d
BRICK2
d
STOP
DROP_2
R MT
RUNOUT.X
Program Output
(Write Outputs)
Program Output
(Write Outputs)
Program Output
(Write Outputs)
ControlWorX- PLC Multitasking
System Puls
Task Priority
Fast Task
P1
P1
P1
P1
P2
Event Task
Main Task
Default Task
P1
P3
P4
P3 P4
P5 P6
P2
P4
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
ControlWorX32
IEC 1131
Server
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
ControlWorX32
IEC 1131
Server
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
Development
Server
I/O Device
Driver
runs in
Kernel ControlWorX32
NT Kernel
ControlWorX32
IEC 1131
Run-Time
Server
OPC Server
Connects to
all other
Clients
ControlWorX32
Embedded CE
Device Networks
I/O Devices
e.g. Interbus, Profibus,
Modbus TCP/IP,
DeviceNet, etc...
I/O Devices
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