The reproduction, distribution and utilisation of this docu
ment as
well as the communication of its contents to others
without explicit authorisation is prohibited. Offenders will
be held liable for the payment of damages. All rights re
served in the event of the grant of a patent, utility module
or design.
Festo P.BE−CPX−CEC−EN en 1004a
I
Contents and general instructions
CANopen®, CoDeSys®, MODBUS® and TORX® are registered trade names of the respective
trademark holders in certain countries.
This product uses open−source software which is subject to the "GNU General Public License,
Version 2". The licensing conditions of the GPL are located either in the product’s engineering
tool or at the following addresses:
http://<IP address of the device>/product−information.html
http://www.gnu.org/copyleft/gpl.html
The type CPX−CEC/CPX−CEC−... CoDeSys controller docum
ented in this manual is intended exclusively for use in Festo
CPX terminals for installation in a machine or an automation
control system.
In combination with a CPX terminal, the CPX−CEC/CPX−CEC−...
is used for
controlling pneumatic and electric actuators (valves, out
put modules and motor controllers via CANopen)
interrogating
electric sensor signals through the input
modules
communication via Ethernet.
The CPX terminal with the CPX−CEC/CPX−CEC−... may only be
used as follows:
as designated in industrial applications
without any modifications by the user. Only the conver
sions or modifications described in the documentation
supplied with the product are permitted
The limit values specified for pressures, temperatures, electri
cal data, torques etc. should be observed.
Please comply with the regulations of the workers’ com
pensation insurance association, the German Technical Con
trol Board (TÜV) and the electrical requirements of the VDE or
the corresponding national and
local safety regulations.
Festo P.BE−CPX−CEC−EN en 1004a
V
Contents and general instructions
Safety instructions
Protection against dangerous movements
Warning
High acceleration forces at the connected actuators! Unde
sired movements can cause collisions and severe injuries.
Dangerous movements can occur through faulty control
ling of connected actuators, e.g. via:
unsafe or faulty circuitry or cabling,
faulty operation of the components,
errors in the measured value and signal generators,
defects or non−EMC−compliant components,
errors in
programming errors in user programs and projects.
Simply switching off the compressed air supply or load
voltage is not suitable for locking procedures. In the event
of a fault, this could lead to unintentional movement of the
drive.
· Before doing mounting, installation and service work,
· Make sure that no persons are in the operating range of
· Do not switch on the compressed air supply until the
the higher−order control system,
bring the system into a safe condition (e.g. by bringing
the drive into a safe position and deactivating the
controller).
Always make sure that the compressed air supply and
power supply are switched off and locked when working
in the machine area.
the drives or any other connected actuators.
system is correctly installed and parameterised.
VI
Festo P.BE−CPX−CEC−EN en 1004a
Contents and general instructions
· Brakes controlled by the drive controller are alone not
· Additional measures are required for use in safety−re
Protection from pressurised tubing
suitable to ensure personal protection!
Secure vertical axes from falling or sliding down when
the compressed air and load voltages are switched off,
as follows:
mechanical locking of the vertical axis,
external braking/safety catch/clamping device or
sufficient counterbalance of the axis.
lated applications; in Europe, for example, the standards
listed under the EC Machinery Directive must be ob
served. Without additional measures in accordance with
statutory minimum requirements, the product is not
suitable for use in safety−related sections of control
systems.
Festo P.BE−CPX−CEC−EN en 1004a
Caution
Danger of injury through inappropriate handling of pres
surised tubing!
Undesired movements of the connected actuators and
uncontrolled movements of loose tubing can cause injury
to human beings or damage to property.
· Do not connect, disconnect or open pressurised tubing.
· The tubing must always be vented before removal
(release compressed air).
· Use suitable protective equipment (e.g. safety goggles,
safety shoes, etc.).
VII
Contents and general instructions
Target group
This manual is intended exclusively for technicians trained in
control and automation technology, who have experience in
installing, commissioning, programming and diagnosing
positioning systems.
Service
Please consult your local Festo Service if you have any techni
cal problems.
VIII
Festo P.BE−CPX−CEC−EN en 1004a
Contents and general instructions
Important user instructions
Danger categories
This manual contains instructions on the possible dangers
which can occur if the product is not used correctly. These
instructions are marked (Warning, Caution, etc.), printed on a
shaded background and marked additionally with a
pictogram.
A distinction is made between the following danger warnings:
Warning
... means that failure to observe this instruction may result
in serious personal injury or property damage.
Caution
... means that failure to observe this instruction may result
in personal injury or property damage.
Festo P.BE−CPX−CEC−EN en 1004a
Note
... means that failure to observe this instruction may result
in damage to property.
The following pictogram marks passages in the text which
describe activities with electrostatically sensitive
components:
Electrostatically sensitive devices: Improper handling can
result in damage to components.
IX
Contents and general instructions
Identifying special information
The following pictograms mark passages in the text which
contain special information.
Pictograms
Information:
Recommendations, tips and cross−references to other in
formation sources.
Accessories:
Information on necessary or useful accessories for the Festo
product.
Environment:
Information on the environmentally friendly use of Festo
products.
Text markings
· The bullet indicates activities which may be carried out in
any order.
1. Numerals denote activities which must be carried out in
the numerical order specified.
Hyphens designate general lists.
Brackets designate menu entries.
Example: [Scan module configuration].
Arrow brackets mark placeholders for designations. Example:
"Status of <Your Connection>".
Quotation marks designate names of windows, dialogues
and
buttons. Example: "Control configuration".
X
Festo P.BE−CPX−CEC−EN en 1004a
Contents and general instructions
Notes on the use of this manual
This manual refers to the following firmware and software
versions:
CoDeSys controller CPX−CEC−C1 from Rev 01
CoDeSys controller CPX−CEC and CPX−CEC−M1 from
Rev 05
Programming environment CoDeSys provided by Festo
from Version 2.3
This manual contains information on the function, fitting,
installation and commissioning of the CoDeSys controller.
Further information on the device
following documentation:
Type
Short
manual
Online helpOnline.Help for the
TitleDescription
"CoDeSys controller"
type P.BE−K−CPX−CEC
CoDeSys controller
CPX−CEC−...
Connection and display elements, mounting,
installation and technical data
Configuration, commissioning, operation and
error diagnosis
Tab.0/1:Additional documentation on the device
General basic information on the mode of operation, on fit
ting, installing and commissioning CPX terminals can be
found in the CPX system manual, type P.BE−CPX−SYS−...
Observe also the user documentation of the components
used in the CPX terminal.
can be found in the
Festo P.BE−CPX−CEC−EN en 1004a
XI
Contents and general instructions
The following product−specific terms and abbreviations are
used in this manual:
Term/abbreviation
0 signal0 V applied at input, or output supplies 0 V
1 signal24 V applied at input, or output supplies 24 V
0x01 (A0h)Hexadecimal numbers are marked by a prefixed "0x" or by a subscript
CANopenFieldbus protocol based on CAN, which is standardised as a European
CoDeSys provided by Festo
(= CoDeSys pbF)
CPX terminalComplete system consisting of CPX modules with or without
CPX modulesCommon term for the various modules which can be integrated in a CPX
DHCP (Dynamic Host
Configuration Protocol)
DIL switchDual−in−line switches consist of several switch elements with which
I/O modulesCollective term for the CPX modules which provide digital inputs and
I/OsDigital inputs and outputs
Meaning
"h"
standard
CoDeSys = Controller Development System
CoDeSys provided by Festo permits configuration, commissioning and
programming of various components and devices by Festo. In this
documentation, called "CoDeSys pbF" for short
pneumatics
terminal
Dynamic protocol for automatic assignment of IP addresses
settings can be made
outputs
EasyIPProtocol for fast exchange of operands between Festo controllers
EDS fileElectronic data sheet, which describes the function and characteristics
EthernetPhysical protocol and network for connecting various devices
Fieldbus nodeProvides the connection to specific fieldbuses. Transmits control
XII
of a CANopen device in standardised form (e.g. number of I/Os,
number of diagnosis bytes, etc.).
signals to the connected modules and monitors their ability to function
Festo P.BE−CPX−CEC−EN en 1004a
Contents and general instructions
Term/abbreviationMeaning
FHPP (Festo Handling and
Positioning Profile)
FTP (File Transfer Protocol) Protocol for file transfer via TCP/IP
Handheld type CPX−MMIHandheld terminal for commissioning and service purposes
HTTP (Hyper Text Transfer
Protocol)
IP (Internet Protocol)Protocol for addressing and delivering data
Login/LogoutProgramming system is logged out/logged out
MAC address (Media
Access Control address)
Modbus/TCPCommunication standard via TCP/IP in automation technology
Node IDProvides unique identification of a bus slave on the CANopen fieldbus
OLEObject Linking and Embedding
OPCOLE for Process Control; standardised software interface that permits
PLC/IPCProgrammable logic controller/industrial PC
Pneumatic interfaceInterface between the modular electric peripherals and the pneumatics
SoftMotionMotion functionality integrated in the CoDeSys pbF programming and
Uniform fieldbus data profile for positioning controllers from Festo
Protocol for data transfer via TCP/IP
Fixed assigned address for Ethernet device
access to process data
run−time system. The following motion control models are offered as
modules:
Single/multi−axis positioning movements with PLCopen Motion
modules
2.5D CNC control
TCP/IPCombination of the protocols TCP and IP, the most−widely used protocol
TFTP (Trivial File Transfer
Protocol)
TSP
(Target Support Package)
Festo P.BE−CPX−CEC−EN en 1004a
in communication via Ethernet
Protocol for file transfer via TCP/IP
A target support package combines all configuration and expansion
files that are needed to make a specific controller (target) usable for
the programming environment (CoDeSys provided by Festo)
XIII
Contents and general instructions
Term/abbreviationMeaning
UDP (User Datagram
Protocol)
User dataTelegram data without protocol frame data. The length of the user data
wwwWorld Wide Web
A minimal, connectionless network protocol that has a lower protocol
overhead compared to TCP. This has the advantage of a faster
exchange of data. Due to the lack of a reply, the correct transmission
must be ensured, e.g.by means of a user program
is defined in the configuration of the fieldbus slave
1.4The CoDeSys provided by Festo programming environment
Use CoDeSys provided by Festo to commission and program
the CoDeSys controller. CoDeSys provided by Festo offers a
convenient user interface with the following functions:
Configuration and parameterisation of the CPX−CEC/
CPX−CEC−... with control configuration
Programming as per IEC 61131−3
Integrated module libraries
Library administrator to integrate additional libraries
Simulation mode, permits testing of projects
on the PC,
without PLC
Visualisation with the integrated visualisation editor
Documentation with the integrated project
documentation
Debugging functions: testing program sequence,
observing and changing variables, error search
CPX−CEC−M1: SoftMotion programming editors are
integrated.
To be able to use a controller (target) under CoDeSys
provided by Festo, a so−called Target Support Package is
needed for
the corresponding target. This permits access to
the system functions of the target and contains
corresponding information in the form of online help. The
Target Support Package makes CoDeSys functions usable for
the respective device or limits them, if necessary.
With the Target Support Package, CoDeSys can support all
these characteristics and functions of
these devices.
And so CoDeSys provided by Festo contains many functions
that are available only on certain devices.
Festo P.BE−CPX−CEC−EN en 1004a
1−9
1. System summary
CoDeSys provided by Festo is supplied with the Target
Support Package for the CoDeSys controller. It also contains
additional functions that are specially adapted to the
CoDeSys controller.
Information about which functions of CoDeSys provided by
Festo are supported by the CoDeSys controller and which
additional functions are available can be found in the
online
help (key word"Functional Overview").
1−10
Festo P.BE−CPX−CEC−EN en 1004a
1. System summary
1.4.1Programming languages
CoDeSys provided by Festo offers five of the programming
languages standardised in IEC 61131−3, see Tab.1/3. Each of
these programming languages has certain characteristics
that are especially suited for solving specific tasks.
Programming
TypeDescription
languages
Statement list (STL)
Structured text (ST)Structured text comes closest to the programming
Sequential function chart
(SFC)
Function diagram (FUN)
or
Free−graphic function
diagram (CFQ)
Ladder diagram (LDR)The ladder diagram was developed from the circuit
Text−based
programming
language
Graphic
programming
languages
The statement list enables the programmer to de
scribe the working steps of controller functions with
simple instructions. The language structure supports
the efficient handling of complex tasks.
languages used for the PC, such as Pascal and C.
It consists of a number of statements that can be
performed conditionally ("IF..THEN..ELSE") or in loops
(WHILE..DO), as in high−level languages.
Enables programming of sequences and so is suited
for structuring and organising projects. With transi
tions and connections, the sequential function chart
describes the time sequence of the various steps
within the program.
The function diagram works with a list of networks,
whereby each network contains a structure that de
picts a logical or arithmetic expression, calls up a
function module, a jump or a return instruction.
In addition, based on the function diagram, there is
the free−graphic function diagram (CFC), in which the
elements are
directly added.
diagram. The diagram of a LDR program is therefore
similar to the diagram of a circuit diagram in relation
to the diagram of logical links.
freely placed and feedback can be
Ta b.1/3:Programming languages of CoDeSys provided by Festo
Festo P.BE−CPX−CEC−EN en 1004a
1−11
Loading...
+ 60 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.