Multiple SFB in SCL

svoicum

Member
Join Date
Sep 2006
Location
Cluj
Posts
43
Hello ALL,

I wonder if there is any solution for creating an SCL FB in which I can declare SFB timers as array.

By this, I mean and wish to have just one DB UDT with all the IEC timers that I needed in the program.

Calling ex. Motors FC (in which motors are as array), the Motor[‘n’] will call and use timer FB TON[‘n’].

Thank you All,
Voicu
 
SFB (or FB) declarations cannot form part of an array. What you can do is declare an area in your UDT that mimics the interface area of an SFB and then set up DI and AR2 according to the position in the array and call the SFB indirectly.
 
I realised now, testing, that it can't be defined as an array. Could you tell me or post an example of what you said with DI and AR2?
thx
 

Similar Topics

This is the first time I am working with Simatic Manager Step7 as I started my siemens journey with TIA which is pretty easy and do a lot of stuff...
Replies
3
Views
144
Compactlogix controller, program has 28 conveyors that use TON's to start the conveyors. The TT sounds a warning horn during start and the DN...
Replies
10
Views
486
I have 9 field devices, three METSEPM5110 power meters and six ACE949-2 rs285 interface modules. I want to read this Modbus rtu data through rs485...
Replies
8
Views
315
I'm trying to use DTM browser to make make modbus poll from RTAC. I'm able to get the points in first poll object. But not able to get anything in...
Replies
1
Views
123
Hello, I encountered a problem with the kinetix 6500 drive, error code s22, loss of 3 phase voltage. After disassembling and replacing the thermal...
Replies
2
Views
167
Back
Top Bottom