Integrate a SFC in a Ladder Program

Good morning
I wonder if there is any way to integrate or run a SFC in a program made in ladder.


Specifically, I am developing a program for the control of a furnace, through both physical buttons and a Operator screen , and the main control logic I use is Ladder (easier)
What I would like is to enable / disable a SFC diagram (that controls some parts of the process) through the ladder program
I attached a picture of what I want done in codesys ( a block that enables an SFC program called PRG_AUTO)

thanks in advance

 Screenshot_2.png


Add New Comment


Marcus   

asked 2 months ago
Closed



Best Answer

1

Assuming AC800M ......

You can read/write SequenceName.Disable where SequenceName is the name of the sequence in the bottom code page tab.

You can also access other sequence and step variables in the same way to monitor which steps are active and how long the sequence or step has been running.

Edit: While the AC800M Ladder programming environment is OK, its pretty basic. There are lots of things you cant do very neatly, documenting and commenting is not brilliant and all round its not nearly as good as say the Allen Bradley LD editor. This might be a good opportunity to try programming in FBD as you may be much happier with the final result.

Rob Lyon   

answered 2 months ago


 


By Marcus on 10/9/2017 | Like (0) | Report

Thank you very much for your reply
the ladder editor of freelance 2016 is pretty basic so I will follow your recommendation and I will try it with FBD


Add New Comment


Answers

1

Assuming AC800M ......

You can read/write SequenceName.Disable where SequenceName is the name of the sequence in the bottom code page tab.

You can also access other sequence and step variables in the same way to monitor which steps are active and how long the sequence or step has been running.

Edit: While the AC800M Ladder programming environment is OK, its pretty basic. There are lots of things you cant do very neatly, documenting and commenting is not brilliant and all round its not nearly as good as say the Allen Bradley LD editor. This might be a good opportunity to try programming in FBD as you may be much happier with the final result.

Rob Lyon   

answered 2 months ago


 


By Marcus on 10/9/2017 | Like (0) | Report

Thank you very much for your reply
the ladder editor of freelance 2016 is pretty basic so I will follow your recommendation and I will try it with FBD


Add New Comment


1

Looking in your print-screen, it seems to be CoDeSys language.

For SFC program, you can create SFC Flag SFCPause of type bool. Then, when you set this flag = TRUE, SFC program will pause (freeze at current step), until SFCPause flag is true. You have to make this flag Global, and can manipulate it from other programs (e.g. ladder).

See SFC Flags in help fail for more information

Here is simple example

kstoilov   

answered 2 months ago


 


By Marcus on 10/9/2017 | Like (0) | Report

Thank you very much for your reply
It is my fault for not specifying, I have already made thsi in codesys, what I wanted was to "translate" it to abb freelance 2016 maintaining the structure although it seems difficult
I'm going to try it in FBD as another answer suggest


Add New Comment



Get weekly AKS updates


Partner Exclusive Webinars

 

> – Login to the partner portal to register



Points Redemption Program - Redeem your points for ABB training, Bluetooth speakers and mugs. Terms and conditions >


Earn points when you refer a friend
AKS Referral Program is "Live" - Learn more



AKS Experts


avatar
Ask Flavio Mussolin   

Rank: 4

ABB AVP, Senior Electronic and Automation Engineer with over 30 years of experience in the field of process automation automotive, pharmaceutical, hollow glass, steel and rolling.


avatar
Ask Dieter Henkel   

Rank: 23


avatar
Ask nikismith   

Rank: 270

I have been a part of the Recording & Control Factory team for 17 years in total, having spent a number of years as a repairs technician withi the manufacturing department, but being in my current role for 9 years now.


avatar
Ask Govindaraj   

Rank: 10

Working in ABB India Operation Center. Have Project engineering and commissioning experience in ABB 800xA, Freelance, AC500.


avatar
Ask MMM   

Rank: 5

ABB PA CT Technical Support


avatar
Ask Harsha.D   

Rank: 6

Tech.Support,software and commisioning engineer with Proficient knowledge in 800xA and its products, RNRP,Networking in general.


avatar
Ask Rob Lyon   

Rank: 3

info@lymac.co.nz I'm an independent DCS software and commissioning engineer with extensive experience in 800xA and other ABB products. I've worked in almost every corner of the world and still haven't seen it all.


avatar
Ask Stefan Stromqvist   

Rank: 1

I joined ABB in the year of 1994 and has since 1999 been working as a Service & Support Engineer at BU Control Technologies in Västerås, Sweden. My areas of expertise are: 800xA Base, 800xA for Advant Master, Information Management, operating systems, RNRP and Ethernet comms/networking in general.


avatar
Ask Sumit Gargav   

Rank: 2

I have worked with Freelance in majority, with 800xA FD and Melody system partly. Also had opportunity to work with Protocols - HART,Profibus,FF & Modbus.


avatar
Ask WvanWees   

Rank: 7

I'm a senior service engineer working for ABB in The Netherlands.


avatar
Ask kstoilov   

Rank: 15

Control System Engineer: 800xA, Compact 800, AC500, AC31-50, Advant Master, Simatic, AC&DC Drives 11 years worked for ABB - Control Systems