markymark31
Member
Hello all,
Can anyone point me towards some decent tutorials on using "functions" eg FB and FC in Siemens Step 7 please ? I have looked on the Siemens Automation site and whilst there is some stuff there, nothing that I have found has helped so far.
Basically I am looking to massively reduce the code that I currently have for controlling conveyor belts. I may have 5, or 10, or 20, or 50 conveyors to control, each has the same set of control parameters eg run, stop, direction (fwd / rev), and feeds back status information eg running, isolated, tripped that I then show on an HMI.
At the moment each conveyor has its own code and the duplication is huge.
As I understand it I could have one function that could work for all conveyor belts ? saving masses of work ?
I know that the functions can be linked to DB's, can I read information from a DB directly to my HMI to show status etc. or do I have to assign variables as i do now ?
Any help would be appreciated (as always).
Many thanks,
Mark
Can anyone point me towards some decent tutorials on using "functions" eg FB and FC in Siemens Step 7 please ? I have looked on the Siemens Automation site and whilst there is some stuff there, nothing that I have found has helped so far.
Basically I am looking to massively reduce the code that I currently have for controlling conveyor belts. I may have 5, or 10, or 20, or 50 conveyors to control, each has the same set of control parameters eg run, stop, direction (fwd / rev), and feeds back status information eg running, isolated, tripped that I then show on an HMI.
At the moment each conveyor has its own code and the duplication is huge.
As I understand it I could have one function that could work for all conveyor belts ? saving masses of work ?
I know that the functions can be linked to DB's, can I read information from a DB directly to my HMI to show status etc. or do I have to assign variables as i do now ?
Any help would be appreciated (as always).
Many thanks,
Mark