Sign in to follow this  
Followers 0
dank06

NS12 Programmable Terminal Idle Timer

7 posts in this topic

Is there a system bit ($SB) or some idle time that the touch screen accesses? Problem: Once the touch screen is idle for two hours, turn off all PLC outputs. Touch screen ==> NS12 PLC ==> CJ1M Possible Solution: If $SBX == 1, stop all PLC activity (NC contact in series with outputs) where X is some system bit number Perhaps there is another possible solution (especially if an system bit doesn't exist for idle time). Question 2: Is there an instruction that will disable all PLC (CJ1M) outputs? (similar to MCR on Allen Bradley)

Share this post


Link to post
Share on other sites
Question 2 - IL and ILC work like the MCR instruction in AB. If the logic is on to the IL instruction, outputs will work per logic. If logic is off, all outputs between IL and ILC will be turned off. Not sure about Question 1 - will need to do some research, or maybe someone else can answer. Hope this will help.

Share this post


Link to post
Share on other sites
I don't know about question 1 either, BUT, a workaround could be, IF all your HMI data is in the same memory area or range, and the data is in its un-activated state you could enable a timer, when their normal state is changed, then restart the timer. If the timer expires, then disable a 'MCR' bit. By having the HMI data in the same area, you could reduce the amount of code required. Just a thought.... Edited by scottmurphy

Share this post


Link to post
Share on other sites
Perhaps a useful topic: Ns-10 Operator Interface, Display area has been touched??

Share this post


Link to post
Share on other sites
Looks like a good idea pdl, could then write the backlight status to a bit in plc, and use that as the 'mcr' function.

Share this post


Link to post
Share on other sites
For Question 2 you could also use the P_Output_Off_Bit (A500.15). Turning this bit on will disable all outputs on basic IO units. You will see this symbol as a default symbol on any new CJ1 or CS1 project.

Share this post


Link to post
Share on other sites
Also of the special I/O units....

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
Sign in to follow this  
Followers 0