5 communication between the machine modules, Communication between the machine modules, What is the applicationtemplate – Lenze PLC Designer ApplicationTemplate (PLC Designer R3-x) User Manual
Page 20

What is the ApplicationTemplate?
Elements of the ApplicationTemplate
20
Lenze · ApplicationTemplate · 1.3 EN - 04/2013
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
4.3.5
Communication between the machine modules
The machine modules (MM_xxx) communicate with each other via the MM_Machine machine
control module by means of the BaseChannel communication channel and the AppChannelData
structure.
• The communication channels provide for a bidirectional data exchange.
• The BaseChannel is defined as a structure in the ApplicationTemplate.
One or several slave modules are always exactly connected to one higher-level master module.
However, the master only always communicates with one slave module. Slave modules cannot
communicate directly with each other, but only via the higher-level master module.
The higher-level machine module (master) communicates with the lower-level machine modules
(slaves) via data channels (channels). During the initialisation, the ApplicationTemplate generates
a BaseChannel and an AppChannelData(ACD) structure.
[4-5]
Exchange of information between the machine modules (L_ApplicationTemplateCounter)
BaseChannel: exchange of control and status data (Control/Status basic data)
The BaseChannel...
• ...contains the control / status information of the state machine.
• ...contains the error handling.
The ACD structure...
• ...serves to exchange application process data between machine modules.
• ...is a data structure for the definition of own process data.
• ...must always be derived from the