EasyManua.ls Logo

Lenze C520 - Mandatory SlavesOptional Slaves

Lenze C520
102 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
8.1.11.2 Mandatory slaves/Oponal slaves
The concept of the modular machine conguraon is based on the fact that, depending on
the selected conguraon within a project, certain EtherCAT slaves have to exist physically at
the bus (Mandatory Slaves) or do not have to exist (Oponal Slaves). The problem is the clear
idencaon of idencally constructed devices with the EtherCAT standard mechanisms. For
this purpose, the Second Staon Address (alias address) described the ETG is used which is
saved in the EEPROM of the EtherCAT slave.
All EtherCAT slaves must be dened in the PLC applicaon. The order of the denion
determines the EtherCAT address by assigning the addresses connuously from ’1001’. The
address is the biunique idenfying feature of a device in the network.
If, for instance, a slave shall contain the applicaon A or the applicaon B, a device has to be
created in the project for each applicaon. This way, the applicaons are idened by the
dierent EtherCAT addresses. The same applies to the process data mapping, terminal
conguraon etc.
Conguraons serve to indicate whether an EtherCAT slave is mandatory or oponal. The
conguraons are summarized in the "mmc-0-conf.csv" le on the Lenze Controller. More
idenfying features of the slaves are included in the "mmc-0-ident.csv" text le.
4Conguraon les ^ 66
If the device is a Mandatory Slave or an Oponal Slave and whether the slave is available at
the EtherCAT bus, is displayed via the properes "IsMandatory" and "IsPresent" of the
ETCSlave funcon block.
Idener/data type Meaning/possible sengs
IsMandatory (GET) Depending on the currently selected modular machine conguraon, the feature is set or not set for the
EtherCAT slave. If the modular machine conguraon is not used, the value ’TRUE’ is automacally returned.
TRUE: Slave is mandatory
FALSE: Slave is oponal
IsPresent (GET)
TRUE: The slave is currently available at the bus.
FALSE: The slave is currently not available at the bus.
Example
// Mandatory:
xMandatory_94: = c550_HL_SM.IsMandatory;
xMandatory_c550_S: = L_c550_SM.IsMandatory;
xMandatory_c550_D: = L_c550_SM_1.IsMandatory;
// Mandatory:
xMandatory_94: = c550_HL_SM.IsPresent;
xMandatory_c550_S: = L_c550_SM.IsPresent;
xMandatory_c550_D: = L_c550_SM_1.IsPresent;
Conguring the network
EtherCAT
Modular machine conguraon
65

Table of Contents

Other manuals for Lenze C520

Related product manuals