H2: Auxiliary function outputs to PLC
8.13 Block-search response
Basic Functions
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
447
8.13.6
Auxiliary function output with a type 5 block search (SERUPRO)
Output behavior
In the case of type 5 block searches (SERUPRO), an auxiliary function can be output to the PLC during the block
search and/or collected on a group-specific basis in the following system variables:
• $AC_AUXFU_PREDEF_INDEX[<n>] (index of a predefined auxiliary function)
• $AC_AUXFU_TYPE[<n>] (type of auxiliary function)
• $AC_AUXFU_STATE[<n>] (output state of the auxiliary function)
• $AC_AUXFU_EXT[<n>] (address extension of the auxiliary function)
• $AC_AUXFU_VALUE[<n>] (value of the auxiliary function)
For a description of the system variables, see "Querying system variables [Page 461]".
Output control
Whether an auxiliary function is output to the PLC during a type 5 block search (SERUPRO) and/or collected on
a group-specific basis in the following system variables can be configured via bits 9 and 10 of the machine data:
• MD22080 $MC_AUXFU_PREDEF_SPEC[<n>]
(output behavior of predefined auxiliary functions)
where <n> = system function index (0 ... 32)
• MD22035 $MC_AUXFU_ASSIGN_SPEC[<n>]
(output behavior of user-defined auxiliary functions)
where <n> = auxiliary function index (0 ... 254)
• MD11110 $MN_AUXFU_GROUP_SPEC[<n>]
(output behavior of the auxiliary functions in a group)
where <n> = group index (0 ... 63)
Bit
Value
Meaning
9
0
No collection during type 5 block searches (SERUPRO)
1
Collection during type 5 block searches (SERUPRO)
10
0
Output during type 5 block searches (SERUPRO)
1
No output during type 5 block searches (SERUPRO)