Per Abrahamsson
Member
Hello!
I intend to use the iec timer SFB4 for alarm blocks. In order not to use up one instance data block for each timer, my intention was to declare the SFB4 as a STAT in the FB from which the SFB instances are called.
However, when I try to declare a STAT of type SFB4, with a data type SFB4, the data type switches from SFB4 to TON and becomes red. This means that the declaration is invalid.
Which error have I made in the declaration? Or is it not possible to declare system function blocks (like SFB4) as multi instances?
The CPU is a S7-314. Step 7 is of version 5.3. Programming is utilized in FBD.
Edit: The block SFB4 appears in Step 7 manager, and I can program it using an instance data block.
Outotec / Per Abrahamsson
I intend to use the iec timer SFB4 for alarm blocks. In order not to use up one instance data block for each timer, my intention was to declare the SFB4 as a STAT in the FB from which the SFB instances are called.
However, when I try to declare a STAT of type SFB4, with a data type SFB4, the data type switches from SFB4 to TON and becomes red. This means that the declaration is invalid.
Which error have I made in the declaration? Or is it not possible to declare system function blocks (like SFB4) as multi instances?
The CPU is a S7-314. Step 7 is of version 5.3. Programming is utilized in FBD.
Edit: The block SFB4 appears in Step 7 manager, and I can program it using an instance data block.
Outotec / Per Abrahamsson
Last edited: