Glenn31

Urgent help CS1 CPU Stop

7 posts in this topic

Hello all,

Require some urgent help on a project, apologies if poor explanation....

When CS1 CPU goes into stop mode in fault condition, eg fatal cycle time error, outputs retain in the state they were when CPU was stopped.

In code we monitor CPU status and turn output high to pull in relay to indicate CPU status normal to wiring circuit. But if CPU goes into stop mode relay remains energise as code is not running to turn output off?? Therfore for examples conveyors keep running...

How can we prevent this, can outputs be configured to go low if cpu stops? Any other ideas?

Any help will be appreciate, thanks.

Share this post


Link to post
Share on other sites

Use CF113 (Always On) - it should turn off if the CPU stops.

Share this post


Link to post
Share on other sites

Hello, Thanks for feedback, been looking through manual and found ‘when a power supply unit without a RUN output is used, an equivalent output can be created by programming Always on Flag (A1) as the execution condition for an output point’.

I will try at weekend when no production, another quick question just to confirm, can other conditions as well as always on flag (in series) be in the rung?

Thanks.

 

Share this post


Link to post
Share on other sites

Yes but why? You want to know if the processor is stopped.

Share this post


Link to post
Share on other sites

add other flags to the cpu in run output, such as Bus error, verification error etc. Then just need 1 output for hard wiring circuit?

Share this post


Link to post
Share on other sites

Bus error and other things like that stop the CPU I think anyway. Best read the manual.

Share this post


Link to post
Share on other sites
On 11/23/2017 at 4:26 PM, Glenn31 said:

When CS1 CPU goes into stop mode in fault condition, eg fatal cycle time error, outputs retain in the state they were when CPU was stopped.

This does not sound correct.

Cycle Time Error is a Non Fatal Error. CPU will not stop. (Error light will flash red)

As Bob said, a Bus Error is a Fatal Error and will stop the CPU. (Error light is solid red). All outputs will go OFF.

Edited by IO_Rack

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