Presymbolization. Schneider Electric PL7 Junior/Pro - Premium PLC Applications - Standard applications
விளம்பரம்
விளம்பரம்
Objects associated with specific applications
2.4
Presymbolization
Presentation
Purpose of this section
What's in this
Section?
This section presents the presymbolization function for the objects of a specific application.
This Section contains the following Maps:
Topic
Presymbolized objects
Automatic symbolization of objects associated with a channel
Page
52
TLX DS 57 PL7 xx
Objects associated with specific applications
Presymbolized objects
Role
Syntax
Certain application specific functions (example: counting, axes request, …) support an automatic symbolization of the objects which are linked to them.
If you give the generic symbol of the module’s %CHxy.i channel, all of the symbols of the objects linked to this channel can then be automatically generated on request.
These objects are symbolized with the following syntax:
PREFIX_USER_SUFFIX_MANUFACTURER
The elements have the following meaning and characteristics:
Element
PREFIX_USER
SUFFIX_MANUFACT
URER
Maximum number of characters
12
20
Description generic symbol given to the channel by the user part of the symbol which corresponds to the bit object or word of the channel given by the system
Example
Note: As well as the symbol, a manufacturer’s comment is automatically generated, this comment recalls succinctly the object’s role.
This example shows a counting module situated in slot 3 of the automatic tray.
If the generic symbol (prefix-user) given to channel 0 is Pieces_count , the following symbols are automatically generated.
Address Type
%CH3.0
CH
%ID3.0
%ID3.0.4
%I3.0
%I3.0.1
DWORD
DWORD
Symbol
Pieces_count_cur-meas
Pieces_count_capt
Comment
Counter current value
Counter captured value
EBOOL Pieces_count_enab_activ Counter enable active
EBOOL Pieces_count_pres_done Preset done
TLX DS 57 PL7 xx
53
Objects associated with specific applications
Automatic symbolization of objects associated with a channel
Introduction
Conditions required
Procedure
The manufacturer's presymbolization (manufacturer's suffix) assigned to language objects is specific to each application. The detailed list of these suffixes is contained in the documentation relating to the specific application concerned.
l l l l l l l
Automatic symbolization implies that: l l the module has been declared in the PL7 configuration in advance.
the application-specific module accepts this function. The specific applications concerned are: analog, counting, axes control, step by step control, weighing, process control, communication (requires an in-rack interface card).
The table below shows the procedure for the automatic symbolization of objects associated with a channel.
Step
1
2
3
4
5
Action
Access the variable editor.
Access to I/O type variables.
Note: The channels whose objects can be symbolized have a letter P on the button to the left of the%CH address.
Double-click on the P button for the channel to be symbolized.
Enter the user prefix.
Note: If a symbol is already defined for the channel, the prefix proposed is the retrieved symbol truncated to 12 characters.
Confirm with the Presymbolize button.
De-activating automatic symbolization.
Canceling automatic symbolization, for a given logical channel, makes it possible to delete all or part of an object's symbols.
Two options are proposed:
If the option chosen is …
Delete all presymbols
Delete prefixed presymbols then …
No prefix is chosen: all symbols are deleted (including those which have been modified directly using the editor).
Only objects with a prefix identical to that entered are deleted.
54
TLX DS 57 PL7 xx
Application-specific instructions
3
Presentation
Subject of this chapter
What's in this
Chapter?
This chapter presents the application-specific instructions.
This Chapter contains the following Maps:
Topic
Application-specific instructions
Accessing a specific function, method or procedure type instruction
Page
TLX DS 57 PL7 xx
55
Application-specific instructions
Application-specific instructions
Introduction Application-specific instructions (of function, method or procedure type) are programming instructions specific to an application-specific function which supplement the basic and advanced instructions.
They are defined in the documentation of each specific application.
The parameters are always made up of the following PL7 language objects: words, word tables, immediate values.
Note: Function-type instructions require additional application memory space (only when they are actually being used in the program). This memory space requirement is to be taken into consideration for each function, whatever the number of uses and must respect the maximum memory size of the PLC used.
Example of a specific instruction
The SMOVE (method type) function dedicated to movement control modules (TSX
CAY and TSX CFY) enables movements to be made.
l l l
SMOVE %CH103.2 (01,90,01,10000000,200,0)
Each parameter has a particular meaning:
10000000 is the coordinate to be attained in micrometers,
200
...
is the movement speed of the moving part in mm/minute,
56
TLX DS 57 PL7 xx
Application-specific instructions
Accessing a specific function, method or procedure type instruction
Presentation
Calling up a function
Application-specific function entry can be accessed by: l l directly entering the instruction and its parameters in an operate block, by the entry help function accessible through the program editors (LD, IL, ST).
Step
1
2
Action
Access the required editor.
Depending on the editor used, choose one of the following methods to open the function library.
l l l
Press Shift + F8 (LD, IL,ST editors).
Click on the (LD editor) icon.
Select the command Utilities
→
Note: The function library appears.
Enter call for a (IL, ST editors) function.
PL7 : Library functions
EF
Function information Parameters
Family
Characters string
Communication
Call format
Lib.V. App.V
Name
2.00
SMOVE
Interpolation Command 1.0
-
Movement Command 2.00
-
3.07
-
Parameters of the METHOD:
Name Type Kind Comment
Channel MAIN Channel
NRUN WORD
G9 World
IN
IN
Movement number
G9
Detail...
Comment
Automatic movement command
Family
%CH103.2
01
90
?
3
4
5
Display the call
SMOVE %CH103.2 ( 01.90.01.10000000.20000.0 )
OK Cancel
Select the specific application in the Family field.
Select the instruction in the Name field.
Many of the instructions have a customized entry help screen.
Access this screen by clicking on the Details button.
TLX DS 57 PL7 xx
57
Application-specific instructions
Step
6
7
Action
Enter each instruction parameter (each instruction is developed in the relevant application-specific documentation) l in the customized screen or l in the Entry field in the Library Functions screen. To do this, the Parameter item must be selected in the Function Information field.
Click Ok to confirm.
58
TLX DS 57 PL7 xx
Appendices
4
Presentation
Subject of this chapter
What's in this
Chapter?
This chapter introduces several elementary notions that are useful for the installation of application-specific functions.
Some of these notions are taken from the PL7 Installation and Start-up Guide.
This Chapter contains the following Maps:
Topic
Reminders concerning the configuration editor
The PL7 toolbar
The PL7 status bar
How to declare a module in a PLC rack
How to declare a remote module on the FIPIO bus.
Confirming the configuration of a module.
Globally reconfiguring an application.
Application-specific fault processing (in-rack modules) by program
Processing of FIPIO faults
Page
59
TLX DS 57 PL7 xx
Appendices
Reminders concerning the configuration editor
Presentation
Illustration
Accessing the editor
The configuration editor enables the various constitutive elements of the PLC to be declared and configured in a graphical and intuitive manner: l l l rack, power supply, processor, l application-specific modules.
In online mode the configuration editor also performs debug, adjustment and diagnostics functions.
The following screen provides an example of a hardware configuration.
Configuration
TSX 57103 V4.0 ...
XMWI
XTI..
0
0
0
2
6
P
S
Y
0
1
0
5
7
3
T
S
X o o
C o m m
1
D
E
Y
0
8
D
2
2
3
2
D
2
K
D
E
Y
3
D
S
Y
1
6
R
5
4
2
C
C
T
Y
5
6
0
2
1
1
S
C
Y
6
I
S
P
0
0
Y
1
1
The following table shows the different ways of accessing the configuration editor.
From: the menu bar the application browser
Action
Select Tools
→
Configuration.
Double-click on Hardware configuration or select it using the arrow keys and confirm with Enter.
Application Browser
Structure View
STATION
Configuration
Hardware configuration
Software configuration
Program
MAST Task
Events
DFB types
Variables
Animation tables
60
TLX DS 57 PL7 xx
Appendices
The PL7 toolbar
Presentation
Illustration
Elements and functions
The software's basic functions can be accessed quickly via the toolbar, using the mouse.
Access to the different functions is dynamic and varies according to the context.
The PL7 toolbar is displayed as follows:
?
?
This table gives the function of each element in the toolbar:
Element Function
New application
Element Function
Local mode
Open an application Online mode
Save the application
Print all or part of the application
Undo last modifications
Confirm modifications
Go to
Application browser
RUN
PLC changes to RUN
STOP
PLC changes to STOP
Start / Stop the animation
Organize windows so that they overlap
Tile windows horizontally
Cross references
Function library
PLC <-> terminal transfer
Tile windows vertically
?
?
Help
What's this?
Note: All these functions can also be accessed via the menu.
TLX DS 57 PL7 xx
61
Appendices
The PL7 status bar
At a Glance The status bar, situated at the bottom of the screen, shows a range of information associated with operational aspects of the software.
Illustration The PL7 status bar appears thus:
1
Ready
2 3 4
ONLINE STOP U:SYS
5 6
GR7 OK MODIF
7 8
OVR CAPS
Elements and functions
This table describes the different zones that make up the status bar:
4
5
2
3
6
Number Zone
1 Information
Operating mode
PLC state
Function supplies information concerning menu commands, toolbar icons and the different editors when these are selected.
indicates the current operating mode (offline, online).
indicates the PLC state (Run, Stop, faulty, etc.).
Network address gives the network address of the PLC.
Grafcet mode indicates whether Grafcet mode is used in the application.
Modification in progress indicates that the current application has not been saved or is different from the back-up.
7
8
Animation indicator
Keyboard functions indicates that the PLC is in online mode.
indicates the status of the Insert and All Caps keyboard functions.
62
TLX DS 57 PL7 xx
Appendices
How to declare a module in a PLC rack
Procedure
3
4
5
This operation enables the user to make a software declaration of a module in a PLC rack.
The example below concerns a Discrete module; the same procedure is used whatever the type of in-rack module.
Step
1
2
Action
Access the application's hardware configuration screen.
Double-click on the slot in which the module is to be configured.
Result: the Add module screen appears.
Add module
Family:
Analog Module1.5
Communication1.5
Counting1.5
Remote BusX1.0
Movement1.5
Weighing1.5
Simulation1.0
Discrete I/O1.5
Module:
TSX DEY 08D2
TSX DEY 16A2
TSX DEY 16A3
TSX DEY 16A4
TSX DEY 16A5
TSX DEY 16D2
TSX DEY 16D3
TSX DEY 16FK
TSX DEY 32D2K
TSX DEY 32D3K
TSX DEY 64D2K
TSX DMY 28FK
8I 24VDC SINK BORN
16I 24VAC BORN
16I 48VAC BORN
16I 110/120VACBORN
16I 220/240VAC BORN
16I 24VDC SINK BORN
16I 48VDC SINK BORN
16I FAST 24VDC SINK CONN
32I 24VDC SINK CONN
32I 48VDC SINK CONN
64I 24VDC SINK CONN
16I 24VDC.12S 24 VCC
OK
Cancel
Select the specific application (e.g.:Discrete) in the Family field.
Select the module reference in the Module field.
Click on Ok to confirm the selection.
Result: the module is declared in its slot; the slot is shown in gray and contains the module reference.
Configuration
TSX 57452 V5.0 ...
XMWI
XTI..
0
6
0
P
S
Y
0
T
S
X
7
4
2 o p s
L o
F i p o i o o
C o m m
2
1
3
0
8
D
2
E
Y
4
TLX DS 57 PL7 xx
63
Appendices
How to declare a remote module on the FIPIO bus.
Procedure This operation enables the user to make a software declaration of a module connected to the FIPIO bus.
Note: This operation requires a processor with a built-in FIPIO link.
Step
1
2
Action
Access the application's hardware configuration screen.
Double-click on the processor's FIPIO zone.
Result: the FIPIO Configuration screen appears
FIPIO Configuration
TSX 57453 V5.0
Logical address
Bus length:
Communicator
0
1
Base module
15 km Devices configured: 0
Extension module
0 Fipio managerTSX 57453
63 Privileged terminal
3
12
Double-click on one of the available connection points.
Result: the Add/Modify device screen appears.
Add/Modify a Device
Connection point
Connection number
Comment
1
OK
Cancel
Families
ATV-581.0
CCX-171.0
CCX17-321.0
MAGELIS1.0
MOMENTUM1.0
PASSERELLE1.0
SIMULATION1.0
STD_P1.0
TBX1.0
TSX1.0
Module de base
ATV16U09M2/60Hz
ATV16U18M2/50Hz
ATV16U18M2/60Hz
ATV16U18N2/50Hz
ATV16U18N2/60Hz
ATV16U29M2/50Hz
ATV16U29M2/60Hz
ATV16 0.37kw 240 V 50Hz
ATV16 0.5HP 240 V 60Hz
ATV16 0.75kw 240 V 50Hz
ATV16 1.0HP 240 V 60Hz
ATV16 0.75kw 460 V 50Hz
ATV16 1.0HP 460 V 60Hz
ATV16 1.5kw 240 V 50Hz
ATV16 2.0HP 240 V 60Hz
Communicator
TSX FPP 010 PCMCIA Agent Fipio
64
TLX DS 57 PL7 xx
TLX DS 57 PL7 xx
Appendices
7
8
5
6
Step
4
9
Action
Enter the number of the connection point corresponding to the address where the module is to be connected (available addresses run from 1 - 62 and 64 - 127; addresses 0 and 63 are reserved by the system).
By default, the PL7 software proposes the address for the selected connection point.
Enter a comment if necessary.
In the Family field, select the type of device to be connected to the bus. (e.g.: TBX,
Momentum, etc.).
Select the base module.
Select, according to the type of device: l l the base module and/or extension module, the communicator.
Note: l If the reference for the Momentum base module is not already proposed, select reference OTHER FRD.
Click Ok to confirm.
Result: the module is declared.
FIPIO Configuration
TSX 57453 V5.0
Bus length:
0
1
Logical address Communicator Base module
15 km Devices configured: 1
Extension module
0 Fioio manager TSX 57453
1 TBX LEP 030 0 TBX ASS 200 1 TBX AES 400
63 Privileged terminal
65
Appendices
Confirming the configuration of a module.
Introduction
Illustration
When a module is declared, and when the configuration or adjustment parameters are modified, this module's configuration must be confirmed.
The table below shows where the confirmation of a module's configuration is positioned within the various hardware installation phases of an application.
Step
1
2
3
4
5
6
Description
Declaration of a module:
Configuration of module channels.
Adjustment
Confirmation of the configuration of the module.
Declaration and/or parametering of new modules
Global confirmation of the application
Procedure The table below shows the procedure for confirming the configuration of a module.
Step
1
Action
Select Edit
→
Confirm or use the icon located in the toolbar.
66
TLX DS 57 PL7 xx
Appendices
Globally reconfiguring an application.
Introduction An application needs to be globally reconfigured in order for the modifications confirmed for each module to be taken into account. This is generally carried out in local mode,
Note: Global reconfiguration of an application in online mode causes the module to stop.
Illustration
Procedure
The table below shows where the global reconfiguration of an application is positioned within the various hardware installation phases of an application.
Step
1
2
3
4
5
6
Description
Declaration of a module:
Configuration of module channels
Adjustment
Confirmation of the configuration of the module
Declaration and/or parametering of new modules
Global confirmation of the application
The table below shows the procedure for globally reconfiguring a module.
Step
1
2
Action
Select Edit
→
Confirm ... or use the icon located in the toolbar.
Confirm the reconfiguration:
TLX DS 57 PL7 xx
67
Appendices
Application-specific fault processing (in-rack modules) by program
Presentation
Algorithm
Application-specific fault processing can be performed using the debugging and diagnostics screens.
It may however be advantageous to use a program to perform this processing.
The following algorithm is an application example of the detection and management application-specific (in rack) module faults by a program.
Test the %S10 bit
(general input/output default)
No default of input/output %S10=0 ?
Yes
Locate the default on the FIPIO bus via
%S119
No
%S119 = 0 ?
Yes
Locate the rack at default
%S40 to %S47
No
Locate the module at default in the rack
%Ixy.MOD.ERR = 1
Diagnose the default module
READ_STS %CHxy.MOD
%MWxy.MOD.2
Locate the channel at default via
%Ixy.i.ERR = 1
Diagnose the default channel
READ_STS %CHxy.i
%MWxy.i.2
(1) See
Processing of FIPIO faults , p. 69
Locate the default on the FIPIO bus via
%S118 (1)
68
TLX DS 57 PL7 xx
Appendices
Processing of FIPIO faults
Presentation
Algorithm
FIPIO fault processing can be performed using the debug and diagnostics screens.
It may however be advantageous to use a program to perform this processing.
The algorithm shown is an example of an application algorithm for fault detection and management on the FIPIO bus
Test the %S10 bit
(general input/output default)
No default of input/output %S10=0 ?
Yes
Locate the default on the FIPIO bus via
%S118
No
%S118 = 0 ?
Yes
No Test the default on the X bus via
%S119
Locate the default connection
point via
%I\p2c\m.MOD.ERR = 1
Locate the %SW128 to
%SW143 word which is different to 0
Locate the default connection point via the
%SWi:x word bit which is different to 0
The location of the default connection point may be carried out in two distinct ways.
The recommended method is location via the system words
%SW128 to %SW143.
Diagnose the connection point via the function
READ_STS %CH\p.2.c\0.MOD
Locate the channel at default via
%I\p2c\m.v.ERR = 1
Diagnose the channel via the function
READ_STS %CH\p.2.c\m.v.ERR
TLX DS 57 PL7 xx
69
Appendices
70
TLX DS 57 PL7 xx
Discrete specific application
II
Presentation
Subject of this part
What's in this part?
This part presents the Discrete application-specific function on the TSX/PCX57 PLC and describes its installation using PL7 Junior and Pro software.
This Part contains the following Chapters:
Chapter
5
8
9
6
7
Chaptername
General presentation of the discrete application -specific function
Configuration of the discrete specific application
Debugging discrete modules
Bits and words associated with discrete specific applications
Installation of the discrete reflex module
Page
71
TLX DS 57 PL7 xx
Discrete specific application
72
TLX DS 57 PL7 xx
General presentation of the discrete application -specific function
5
Introduction to the Discrete Application
Introduction The discrete application-specific function applies: l l to rack-mounted discrete I/O modules, to discrete I/O modules remoted on the FIPIO bus.
Note: In order to access the latter, the configured processor must have a built-in
FIPIO link.
In order to install the discrete application, its physical context (rack, power supply, processor, modules or hardware, etc.) must be defined and the necessary software installation carried out.
l l
This second aspect will be carried out from the different PL7 editors: either in local mode, or in connected mode; in this case the modification is limited to certain parameters.
73
TLX DS 57 PL7 xx
General presentation
Implementation
Mode
Local
Local or connected
Connected
Local or connected
The table below shows the different installation phases of the discrete applicationspecific function.
Phase Description
Declaration of a module in-rack module (See How to declare a module in a PLC
or remoted on the FIPIO bus
(See How to declare a remote module on the FIPIO
)
Choice: l of geographical position l l number and slot for an in-rack module, connection point for a remote module, l of module type.
Configuration of module channels (See Configuration of discrete parameters,
Input of the configuration parameters.
Entry of initial adjustment parameters (only on TSX DMY 28 FRK).
Adjustment (See Adjusting the configuration parameters of a reflex
Confirmation of configuration parameters
(See Confirming the configuration of a module.,
Confirmation of module level.
Global confirmation of the application (See Globally reconfiguring an
Symbolization
Confirmation of application level.
Programming
Transfer
Debugging
Documentation
Symbolization of variables associated with the application-specific function.
Programming of functions to be performed by the application using: l l bit and word objects associated with the module, specific application instructions.
Transfer of the application to the PLC.
Debugging the application with the help of: l l debugging help screens enabling the user to control I/Os, diagnostic screens allowing identification of errors.
Printing the different information relating to the application.
74
TLX DS 57 PL7 xx
General presentation
Note: The order shown above is given as an indication only; the PL7 software allows the editors to be used interactively in the order required (however, the data or program editor cannot be used unless the I/O modules have been configured first).
TLX DS 57 PL7 xx
75
General presentation
76
TLX DS 57 PL7 xx
Configuration of the discrete specific application
6
Presentation
Subject of this chapter
What's in this
Chapter?
This chapter describes the Configuration aspect of the installation of the discrete specific application.
This Chapter contains the following Sections:
Section
6.1
6.2
6.3
6.4
Topic
Configuring a discrete module: General
Discrete input channel parameters
Discrete output channel parameters
Configuration of discrete parameters
Page
77
TLX DS 57 PL7 xx
பதிவிறக்கு
விளம்பரம்