Lenze PLC Designer ApplicationTemplate (PLC Designer R3- Uživatelský manuál Strana 123

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 177
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 122
Lenze · ApplicationTemplate · 1.3 EN - 04/2013 123
The L_EATP_ApplicationTemplate library
1_POUs - Program Organization Units
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
11.2.8 L_EATP_ModuleDiag
This FB makes it possible to diagnose a machine module.
The FB always exactly focuses on one individual machine module.
After starting the project, automatically the highest master module is focused.
Inputs
Outputs
Function library: L_EATP_ApplicationTemplate
Runtime software licence: LPC 1x00 MPC 1x00
MPC 2x00
MPC 2x10
MPC 2x20
MPC 2x30
MPC 3x00 ; None
L_EATP_ModuleDiag
BOOL goToMaster moduleName STRING
L_EATP_MM_Address goToSlave absoluteMM_Address STRING
dataConnector L_EATP_DataConnector
statusText STRING
Identifier/data type Information/possible settings
goToMaster
BOOL
In the case of a positive edge, the FB changes to the master of the currently focused
module.
If there is no master on the focused module, the "Current module has no master"
message is visible at the statusText output.
goToSlave
INT
A non-zero input is considered as a module address. According to the module
address, the FB changes to the slave of the machine module currently focused.
If the machine module focused does not feature a slave with a corresponding
module address, the "Current module has no slave with module ID xx" message
is visible at the statusText output.
Identifier/data type Information/possible settings
modulName
STRING
Name of the instance of the currently focused machine module.
absoluteMM_Address
STRING
Absolute module address of the currently focused machine module.
dataConnector
L_EATP_DataConnector
Returns the Data Connector of the module selected
• By this, enables access to the BaseChannel.
statusText
STRING
Status/error message of the diagnostic FB. The following messages are possible:
No root module was found
Root module was entered
Current module has no master
Master module was entered
Current module has no slave with module ID x
Slave module was entered
Zobrazit stránku 122
1 2 ... 118 119 120 121 122 123 124 125 126 127 128 ... 176 177

Komentáře k této Příručce

Žádné komentáře