Input DescriptionΒΆ

../_images/b61efe329727a0b60a3313900190f3b2

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.

../_images/c3d8fd335683d75e0a317d31511d92011

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.