Brickraid

SFC Action Duration

3 posts in this topic

Hi experts,

Currently my workplace uses a SFC program in cx-programmer (CJ2M-CPU33) to control a particular machine and logs some variables periodically to a cx-supervisor SCADA. I would like to include the latest duration that steps take, e.g. "FillMould" 1m 5s (see attached image). Does anyone know where this information is stored or how I can store it in D memory perhaps?

cxprogrammer_program_action_duration.jpg

Share this post


Link to post
Share on other sites

Hi Brickraid

You can use the variable StepName.T.  In your example is FillMould.T (like this in your local program). If you want to use this variable in your main program you have to add before the program name ProgramName.StepName.T

 

LocalProgram.JPG

MainProgram.JPG

Edited by AMI

Share this post


Link to post
Share on other sites

Hi AMI, thanks that looks like what I'm after I'll give it a go

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now