Sie sind auf Seite 1von 121

CONF700 Software

2004 www.smar.com
Copyright Smar

CONF700 Software

www.smar.com

Network Elements

USED FOR LADDER LOGIC PROGRAM


YOU CAN MAKE ANY BOOLEAN LOGIC WITH THEM
ACCORDING STANDARD IEC-61131-3
3

www.smar.com

Network Elements
NORMALLY OPEN CONTACT
NORMALLY CLOSED CONTACT
POSITIVE TRANSITION-SENSING CONTACT
NEGATIVE TRANSITION-SENSING CONTACT
COIL
NEGATED COIL

www.smar.com

Network Elements
SET (LATCH) COIL
RESET (UNLATCH) COIL
POSITIVE TRANSITION-SENSING COIL
NEGATIVE TRANSITION-SENSING COIL
RETENTIVE (MEMORY) COIL
SET RETENTIVE (MEMORY) COIL
RESET RETENTIVE (MEMORY) COIL
5

www.smar.com

Network Elements
HORIZONTAL CONNECTING LINE
VERTICAL CONNECTING LINE
ELIMINATE VERTICAL CONNECTING LINE FROM CELL
JUMP TO A NETWORK
RETURN FOR LAST JUMP
FUNCTION BLOCKS
USER FUNCTION - BOOLEAN LOGIC
6

www.smar.com

Ladder Logic
BASED ON A POWER BAR
BASED ON SIMPLE ELEMENTS:
NORMALLY OPEN INPUT
NORMALLY CLOSED INPUT

OUTPUT COIL

EACH ELEMENT HAS AN ASSOCIATED VARIABLE

www.smar.com

Ladder Logic

EXAMPLE

PS
120VAC

INPUTS

OUTPUTS
PS
120VAC

www.smar.com

Ladder Logic Power Bar

POWER SOURCE

www.smar.com

Ladder Logic Elements

10

www.smar.com

Ladder Logic Variables

INPUT MODULE
IN1

IN2

OUT1

IN3

IN4

OUT2

0 - NORMAL POSITION
1 - OPPOSITE POSITION

11

IN1

IN2

IN3

IN4

OUTPUT MODULE
0

OUT1

OUT2

www.smar.com

Ladder Logic

INPUT MODULE
IN1

IN2

OUT1

IN3

IN4

OUT2

12

IN1

IN2

IN3

IN4

OUTPUT MODULE
0

OUT1

OUT2

www.smar.com

Ladder Logic

INPUT MODULE
IN1

IN2

OUT1

IN3

IN4

OUT2

13

IN1

IN2

IN3

IN4

OUTPUT MODULE
1

OUT1

OUT2

www.smar.com

Ladder Logic

INPUT MODULE
IN1

IN2

OUT1

IN3

IN4

OUT2

14

IN1

IN2

IN3

IN4

OUTPUT MODULE
1

OUT1

OUT2

www.smar.com

Ladder Logic

INPUT MODULE
IN1

IN2

OUT1

IN3

IN4

OUT2

15

IN1

IN2

IN3

IN4

OUTPUT MODULE
1

OUT1

OUT2

www.smar.com

Ladder Logic

INPUT MODULE
IN1

IN2

OUT1

IN3

IN4

OUT2

16

IN1

IN2

IN3

IN4

OUTPUT MODULE
1

OUT1

OUT2

www.smar.com

Ladder Logic

INPUT MODULE
IN1

IN2

OUT1

IN3

IN4

OUT2

17

IN1

IN2

IN3

IN4

OUTPUT MODULE
1

OUT1

OUT2

www.smar.com

Ladder Logic

INPUT MODULE
IN1

IN2

OUT1

IN3

IN4

OUT2

18

IN1

IN2

IN3

IN4

OUTPUT MODULE
0

OUT1

OUT2

www.smar.com

Ladder Logic

INPUT MODULE
IN1

IN2

OUT1

IN3

IN4

OUT2

19

IN1

IN2

IN3

IN4

OUTPUT MODULE
0

OUT1

OUT2

www.smar.com

Ladder Logic

INPUT MODULE
IN1

IN2

OUT1

IN3

IN4

OUT2

20

IN1

IN2

IN3

IN4

OUTPUT MODULE
1

OUT1

OUT2

www.smar.com

Ladder Logic

INPUT MODULE
IN1

IN2

OUT1

IN3

IN4

OUT2

21

IN1

IN2

IN3

IN4

OUTPUT MODULE
1

OUT1

OUT2

www.smar.com

Ladder Logic

INPUT MODULE
IN1

IN2

OUT1

IN3

IN4

OUT2

22

IN1

IN2

IN3

IN4

OUTPUT MODULE
1

OUT1

OUT2

www.smar.com

Function Block
ADVANCED PROGRAMMING

BASED ON BLOCKS, WHERE EACH BLOCK IS


RESPONSIBLE FOR ONE FUNCTION

EACH BLOCK HAS LINKABLE INPUTS AND OUTPUTS

MORE USED FOR CONFIGURATION OF PROCESS


CONTROL AND ANALOG I/O

23

www.smar.com

Function Block
ANALOG
INPUT MODULE

BLOCK ENABLE

ANA_1

( )

EN

ADD
ANA_1

IN1

ANA_2

IN2

ANA_3

IN3

ANA_2
ANA_3

OUT

OUT1

ANALOG
OUTPUT MODULE
OUT1

ANALOG VALUES

24

www.smar.com

Function Blocks

USED FOR ADVANCED PROGRAMMING


USED TO COMPARE AND MANIPULATE ANALOG DATA
ADDS FLEXIBILITY AND POWER TO THE PLC
OPENS THE PROCESS CONTROL MARKET TO PLCs

25

www.smar.com

Function Blocks
THE INPUTS AND OUTPUTS CAN BE LINKED TO THE
FOLLOWING VARIABLES:
REFERENCE
BOOL
INT
REAL
WORD

DATA TYPE
NUMBER OF BITS EXAMPLE
BOOLEAN
1
1
INTEGER
16
155
REAL NUMBERS
32
200.32
BIT STRING
16
0101100

26

www.smar.com

Function Blocks
THE INPUTS AND OUTPUTS CAN BE CLASSIFIED AS:
ANY, ANY_NUM, ANY_BIT, ANY_REAL OR ANY_INT

ANY
ANY_NUM

ANY_REAL
ANY_INT

ANY_BIT

REAL
INT

BOOL,BYTE

27

www.smar.com

Function Blocks
EXAMPLE- BLOCK CONNECTIONS
BLOCK ENABLE

INPUTS

BOOL

EN

BOOL

TRF

ANY_NUM

SP%

ANY_NUM

PV%

ANY_NUM

FB%

PID

28

ENO

OUT%

BOOL

ANY_NUM

OUTPUTS

www.smar.com

Function Blocks
LISTED BY FUNCTIONAL GROUPS

TIME AND PULSE RELATED FUNCTIONS


DATA MANIPULATION FUNCTIONS
MATH FUNCTIONS
COMPARISON FUNCTIONS
PROCESS CONTROL FUNCTIONS

29

www.smar.com

Function Blocks
TIME AND PULSE RELATED FUNCTIONS:

CTD
CTU
TOF
TON
TP
RTA

PULSE COUNTER DOWN


PULSE COUNTER UP
TIMER OFF-DELAY
TIMER ON-DELAY
TIMER PULSE
REAL TIME CLOCK ALARM

30

www.smar.com

Function Blocks
DATA MANIPULATION FUNCTIONS:
BTB
BTI
ICT
ITB
ITR
MUX
NOT
RCT
RTI
SEL
BWL

BYTE TO BITS CONVERSION


BCD TO INTEGER CONVERSION
INTEGER CONSTANTS
INTEGER TO BCD CONVERSION
INTEGER TO REAL CONVERSION
MULTIPLEXER
BITWISE NOT
REAL CONSTANTS
REAL TO INTEGER CONVERSION
BINARY SELECTION
BITWISE LOGIC
31

www.smar.com

Function Blocks
MATH FUNCTIONS:

ABS
ADD
DIV
MOD
MUL
SQR
SUB

ABSOLUTE VALUE
ADDITION
DIVISION
MODULO
MULTIPLICATION
SQUARE ROOT
SUBTRACTION

32

www.smar.com

Function Blocks
COMPARISON FUNCTIONS:

EQ
GE
GT
LE
LMT
LT
MAX
MIN
NE

EQUALITY
DECREASING MONOTONIC SEQUENCE
DECREASING SEQUENCE
INCREASING MONOTONIC SEQUENCE
LIMITER
INCREASING SEQUENCE
MAXIMUM
MINIMUM
INEQUALITY

33

www.smar.com

Function Blocks
PROCESS CONTROL FUNCTIONS

XLIM
TOT
SMPL
ARAMP
LIN
PID
STP

CROSS LIMIT AND RATE-OF-CHANGE


TOTALIZATION
SAMPLE HOLD WITH UP AND DOWN
AUTOMATIC UP AND DOWN RAMP
LINEARIZATION
PID CONTROLLER
STEP CONTROL

34

www.smar.com

Built in Function Box

There are over 40 Built In Function Blocks, with


configurable parameters and extensible I/Os
35

www.smar.com

Block Example: ADD

With 2 Inputs

With Inputs Extended


to 5

36

www.smar.com

Function Blocks - PID


Parameters configuration

37

www.smar.com

Function Blocks

TIMER

COUNTER

ADDER

38

www.smar.com

User Functions

Then user can also create his own functions using Boolean
logic programming
39

www.smar.com

Registration Page

40

www.smar.com

Documentation Page

CONF700 was specifically designed to automate


and simplify the documentation task to speed up
engineering.
41

www.smar.com

Modules Definition Page

The number of racks and the used modules


are defined here - Hardware Arrangements
42

www.smar.com

Global Variable Table

Easy Identification - This page enable the definition of


user tag, description values and wire color for each
43
point

www.smar.com

Virtual Variable Page

Virtual variables are created here. They are used


as auxiliary variables in the ladder configuration.
44

www.smar.com

Virtual Global Variable Table

User tag and description for each virtual point


45

www.smar.com

Ladder Diagram (Network)


Page

Enter contacts, coils and function blocks to build the control


strategy.
Assign contacts and coils to the physical hardware channels.
46

www.smar.com

Assigning Strategy to I/O


Ladder contacts and coils, and block inputs and
outputs must be assigned to I/O.
I/O may be referenced based on the default or user
tag.

47

www.smar.com

Assigning Strategy to I/O

48

www.smar.com

Troubleshoot On-Line
View executing control strategy
Force points to simulate I/O

49

www.smar.com

Other Tools

Windows based facilities such as copy/paste, move


cells and find, make programming work very much
easier and faster
50

www.smar.com

Other Tools
In Tools user can set Preferences and Communication
Settings options;

51

www.smar.com

Other Tools
Select a correct Directory before the LC700 CPU
communication in order to visualize a correct User Tag
information, previously configured, of course;

52

www.smar.com

Online Edit
In this mode the user can:
- Change logic elements;
- Change blocks parameters;
- Change function blocks;
- Visualize the process after the changes (through
monitoring the logic net);
- Undo changes, if they were not saved in the controller;
- Edit only one logic net by time;

53

www.smar.com

Online Edit
How it works?
During the Online editing, the CPU700 allocates a
separated memory area only for the new changes. That
particular logic network that is being edited will be
running during the whole editing process. In this way the
user can progressively observe the system response for
each of the changes;
Many modifications can be done before the decision to
finally save them in the CPU700;

54

www.smar.com

Online Edit
It will still be possible to cancel all modifications sent to
the CPU700 if they were not saved to the EEPROM at
this time!
To modify a logic element, its corresponding label or a
function block parameter, right click on the cell where
the object is;
Many other modifications can be done in the same logic
network before partially sending to the CPU700 to see
the systems reaction;

55

www.smar.com

Online Edit
After several partial modifications, the user can finally
decide to confirm the new configuration by saving it to
the CPU700 EEPROM;
Remember to save the modifications to the disk;

56

www.smar.com

Online Edit

57

www.smar.com

Online Edit

58

www.smar.com

Online Edit
The Online Editing buttons:
Send all temporary changes to the CPU700.
Temporary changes are indicated by a (tc) mark close
to the object;
Save all previous changes on the CPU700 NVRAM.
Previous changes are represented by a (pc) mark
close to the object;
The logic object has this mark only when the
modification has been sent to the CPU700 but not yet
saved;

59

www.smar.com

Online Edit
Go back to the original or last saved logic network. The
logic network will be replaced by the last one saved in the
CPU700 NVRAM;
Erase all temporary changes from the network. All objects
with the (tc) mark will return to their last saved
configuration;

NOTE:
We recommend a CPU configuration Upload before Online
Editions, in order to assure configuration changes compatibility.

60

www.smar.com

CONF700 V8_54_NEWS

Compatible with all configuration versions (PLC, PL2,


PL4, PL6, PL7), made by CONF700 previous versions.
Extension of the current configuration *.PL8.
It configures only hardware of the CPU's D3 and E3.

61

www.smar.com

CONF700 V8_54_NEWS
The LC700 controller supports two online edition modes:
Online Edit and Full Online Edition.
These two modes are different and competitive, the
option to use one or the other depends on the situation.
- Online Edit
- Full Online Edition

62

www.smar.com

Full Online Edition


In this mode, the user can also:
- Add/Remove Networks;
- Add/Remove Modules;
- Add/Remove RIO Interfaces;
- Add/Remove User Functions;
- Change Module Configurations;
- Move Modules;
- Undo changes that were sent to the controller;
- Visualize the control process after the update (logic net
monitoring);
Consult also the CONF700_V8.54 Configuration
Manual for details.
63

www.smar.com

Full Online Edition


Full Online Edition
The Option "Full Online Edition" allows the user to
modify a configuration while the logical controller
executes the Ladder, without that the process is
interrupted.
It guarantees the continuity without brusque
alterations in the plant.

64

www.smar.com

Full Online Edition

This mode allows the user to perform the existing


alterations in Edit Online mode and also to add and
to erase:
9 Nets;
9 Modules;
9 Virtual I/O Modules;
9 User Functions;
9 RIO Interfaces;
9 Logic Elements.
and also
9 Modify Functional Blocks.

65

www.smar.com

Forms to Update the Configuration


There are two possible options to make the updates in
CPU without stopping the process:
* Update
Mode : Online Online
* Diferencial Download
Mode : Offline Online
(Option: Use base configuration)

66

www.smar.com

Forms to Update the Configuration


ONLINE
Open CONF700 and choose Tools\Online and upload a
LC700 configuration;

67

www.smar.com

Forms to Update the Configuration


ONLINE
Choose Edit
Mode Full Online
Editions;
Proceed general
changes and
UPDATE it to the
LC700 CPU (next
slide);

68

www.smar.com

Forms to Update the Configuration


ONLINE (Update)

69

www.smar.com

SYSTEM TEST
(after update)
After to perform updates, CONF700 enters in
state of test, and the user will be able:
* To confirm the effected alterations
(ACCEPT CHANGES Option)

* To cancel the effected alterations


(REMOVE CHANGES Option)

70

www.smar.com

Forms to Update the Configuration


ONLINE (After Update)
User can change configuration and the changes effect;
User can accept the configuration changes or remove all;

71

www.smar.com

SYSTEM TEST
(after update)
- Confirm (Accept Changes)
In this form, the system starts to effect the control with the
new configuration and the old configuration is discarded.

- Cancel (Remove Changes)


It preserves the current values of the dinamic variables.
In this case, the system returns to execution of the
control with the old configuration and discards the new
configuration.
The existing dinamic variables for both configurations are
updated with the current values.
72

www.smar.com

Differencial Download
Mode: Offline Online
- Offline, active the option "Use base configuration", make
the alterations and later unload the updates for the LC700.
Table of Conditions

The configuration file has two date:


1) Date of Saving(DataSave): date of the last saving.
2) Date of reference (DataRef): date that will be sent to
CPU-700 and also will be reference to make
possible the differential download.
Date of LC700: configuration date in the CPU-700.
Conf700 will match the configuration dates in order
to allow the Dwl Differential!!
73

www.smar.com

Differencial Download

Open a last downloaded LC700


configuration

74

www.smar.com

Differencial Download

Choose Tools\Enable Base


Configuration;
After this, proceed necessary changes
and choose Tools\Online..

75

www.smar.com

Differencial Download

Choose Partial Download

76

www.smar.com

Differencial Download
One more time user can accept or remove changes!!

77

www.smar.com

Edition Interface of Ladder Logic


Edition Work easier.
Tabs: Elements; TAGs; Seek.

78

www.smar.com

Support Multiple Languages


Portuguese; English; Spanish; Chinese.

79

www.smar.com

To Inset Elements or TAGs


Rule: Click to select Elements or TAGs and then
stamp it in the desired position.

80

www.smar.com

Faster Comunication
Monitoring TAGs in Modbus Table
Addressing by View.

81

www.smar.com

Note Icon in the Ladder Logic.

82

www.smar.com

Search / Replace

83

www.smar.com

UNDO Feature
Allows to undo up to 20 changes in the Ladder Logic.
(configurable)
Valid only to Ladder Logic.

84

www.smar.com

Functions with configurable


number of inputs
The functions do not have a fixed number of inputs
Select the amount of inputs that you need to perform the
task, until the specific limit of the block.

85

www.smar.com

Addressing
Modbus

86

www.smar.com

Modbus Register
The Modbus information are stored inside of registers. It has four
"references" (groups):
4xxxx
0xxxx (Output Coils)

Discrete Output
Discrete Virtual Points (memory)

3xxxx
1xxxx
0xxxx

1xxxx (Input Contacts)

Discrete Inputs
Fieldbus, temperature status
3xxxx (Input Registers)

Analog Input
4xxxx (Holding Registers)

Analog Output
Parameters of the function blocks

87

www.smar.com

List of Modbus Registers

CONF700 automatically assigns Modbus registers to the parameters


and generates a complete cross reference list of the LC700.
88

www.smar.com

Communication Tools

Address and comport configuration and Baud Rate


setting at Tools\Communication Settings
89

www.smar.com

Using Multiple Ladder Diagrams


(Networks)
Dividing a large
program into smaller
tasks simplifies the
work.
Execution order can be
configured.
Jumps can be done
between subroutines
based on conditions.
You can create as
many diagrams
(networks) as the CPU
memory can hold.
Values can be used in
any network.

Net 0

Net 1

Net 2

Net 3

Net 4

Net 5

90

www.smar.com

Managing Multiple Diagrams


The diagrams (networks) can be individually named to make
access easier.
The plant may be divided such that one network is equivalent
to the ISA S88 control module, I.e. approximately one loop.

ISA S88.01 Hierarchy


Enterprise
Site

~ group of plants
~ one plant

Area
Process Cell
Unit
Equipment Module
Control Module

~ e.g. tank or reactor


~ e.g. a filter
~ Loop

91

www.smar.com

I/O Details
Optionally configure the user labels (symbolic identifiers) for
the I/O channels. These should preferably follow the tags in
the P&I diagram to make reference easy.
This is also where fail-safe values are configured.

92

www.smar.com

All Information
At Your Fingertips

93

www.smar.com

Check and Download


CONF700 checks the configuration before download to
ensure that it is trouble free and that versions match.
You can also check the configuration any time by clicking on
Balance in the module page.
Errors and warnings are indicated with row and column for
easy referencing.

94

www.smar.com

Upload

CONF700 can also upload an existing


configuration from a LC700.
The configuration may also be uploaded
with all user tags and descriptors.
The configuration may be stored and
edited.

95

www.smar.com

Execution Time

CONF700 validate the configuration and calculates


the execution time in ms (milliseconds).

96

www.smar.com

Memory Requirement

CONF700 calculates the memory requirement for


the configuration and verifies it against the CPU
resources.

97

www.smar.com

Point Count

CONF700 calculates
the analogue and
discrete point count.

98

www.smar.com

Modbus Register Listing

List of Modbus addresses to be used by supervisor


software or other Modbus compatible
communicators
www.smar.com
99

Modbus Listing : MS Access

CONF700 is tightly integrated with MS-Windows


and MS-Office. Export data to MS-Office to use
familiar tools like MS-Access and MS-Excel.
Easy documentation
100

www.smar.com

Modbus Listing : MS-Excel

Great help for documentation and as FAT check list.


101

www.smar.com

Documentation
While you are
configuring, you are
generating all the
documentation at the
same time using the
same tool:
Project summary
Hardware listing
I/O and Memory tag
listing
Network diagram
summary
Ladder diagram
Modbus register listing
etc.
102

www.smar.com

CONF700 Practices

Simple Ladder Application


Function Blocks
PID Control Application
User Function Block and Application
Conveyor Belt Application

103

www.smar.com

Practice - 1
For next two pages create a new configuration following
information below

104

www.smar.com

Practice - 1
Save this configuration as a template for next exercises

105

www.smar.com

Practice - 2 Ladder Logic


Create and test in the Conf700 software the following
relay diagrams :

106

www.smar.com

Practice - 2.1 Ladder Logic

107

www.smar.com

Practice - 3 Ladder Logic


Create and Test the Counter below with PST.CTU.1 = 3
parameter (counter 3 pulses)

108

www.smar.com

Practice - 4 User Function


Create a Logical Function below according to :

109

www.smar.com

Practice - 4.1 User Function and


Ladder Logic
Using the User Function created edit and test aprogram
according ladder below.

110

www.smar.com

Practice - 5 Conveyor Belt


Application
The exercise aim is fill the bottles with chemical product, programming a
count of bottle for each determined task. Following the steps bellow, create
a ladder logic configuration.
1- The conveyor belt moves the bottle until the fill
spout.
2- The bottle is detected throw bottle sensor
switch, stopping the conveyor belt and open the
spout valve filling the bottle.
3- Level fluid is detect throw sensor level switch.
After that level detection system must wait 10
seconds, initiating the cycle again.
4- Lets also to count the number of full bottles,
stopping process after reach bottle planned
quantity.

Bottle Sensor
Level Sensor

CONVEYOR BELT
111

www.smar.com

Practice - 5 Ladder Logic

112

www.smar.com

Practice - 5 Ladder Logic


Ladder User Tag for I/O points

113

www.smar.com

Practice - 5 Ladder Logic


Ladder User Tag for I/O points

114

www.smar.com

Practice - 5 Ladder Logic


Ladder User Tag for Virtual points

115

www.smar.com

Practice - 3 PID Control


In a temperature measurement below we must adjust the steam
input valve, according final product temperature. Create a PID
Control according diagram in the next page.

TT
TIC

TCV
TE

116

www.smar.com

Practice - 3 PID Control

AI

PID

L/R

A/M

CO

117

www.smar.com

Practice - 3 PID Control

Process

Setpoint
(LOCAL)

Variable

PID
Setpoint

TRF=1 OUT = FB
TRF=0 PID

Setpoint (L/R)
Selection

Automatic
Manual
Selection

118

www.smar.com

PID Motor Control Sampling

119

www.smar.com

PID Status Function Block

120

www.smar.com

Technical Support
For questions & technical support
consult us at:

techsupport@smar.com.br

121

www.smar.com

Das könnte Ihnen auch gefallen