Input DescriptionΒΆ
EN (enable)
Data type: BOOL
In order to enable the Function Block processing, input EN has to be continuously set to TRUE. The Function Block is not processed, if input EN = FALSE. When calling the Function Block the first time, the inputs are checked for validity and plausibility. If this is not the case, processing is aborted and corresponding error is displayed at output ERR/ERNO.
INST (instance)
Instance description of the Function Module that should be controlled via this function block. The variable is automatically generated during the configuration with the Automation Builder. Use the operator ADR to get the address of the variable.
Example
CH_CFG (channel configuration)
Data type: DWORD (address of CMS_IO_CFG_FM502_TYPE)
Address where channel configuration data will be read from and written into the function module.