Hello,
I have a question about interrupt job on NX100 controller.
Instead of looking input signal to be TRUE,
I want to trigger interrupt job when input signal switches to FALSE.
What is the simplest way to achieve that?
Hello,
I have a question about interrupt job on NX100 controller.
Instead of looking input signal to be TRUE,
I want to trigger interrupt job when input signal switches to FALSE.
What is the simplest way to achieve that?
switch it in ladder
Thank you for your reply!
I check concurrent IO documentation, and want to check if I understood correctly + some additional questions
Actual set of commands regarding input that I want to use:
GSTR #20030
GOUT #00030
From my understanding an input Relay group of 8 #20030 is now connected to group #00030 (and in this group is signal that I want to see negated)
From this group I want only one signal on Relay 20037 to connect negated to "some variable" with command so I plan to add lines:
STR-NOT #20037
OUT #"variable"
Here I have 2 questions:
1. Since this is ladder like in PLC, there is no problem with "reading" same variable 2 times (so it won't influence first set of commands: GSTR #20030 OUT #00030) ?
2. What variable can I use, where to declare BOOL variable for my OUT, or can I just use some Auxiliary Relay signals that are not already used?
And in the end in the interrupt for Input signal I will put this "new variable"
Are you sure you ladder is mapped as
GSTR #20030
GOUT #00030
and not
GSTR #20030
GOUT #00010?
Assuming standard mapping step 1 is to delete the:
GSTR #20030
GOUT #00010
Step 2 is to write the following:
STR #20030
OUT #00010
STR #20031
OUT #00011
STR #20032
OUT #00012
STR #20033
OUT #00013
STR #20034
OUT #00014
STR #20035
OUT #00015
STR #20036
OUT #00016
STR #20037
OUT #00017
Step 3 is to compile. Your ladder is back to the way it was but with group 1 broken out.
Write your logic for whichever Universal Input you wish to use as the trigger for the interrupt job.
Here I have 2 questions:
1. Since this is ladder like in PLC, there is no problem with "reading" same variable 2 times (so it won't influence first set of commands: GSTR #20030 OUT #00030) ?
2. What variable can I use, where to declare BOOL variable for my OUT, or can I just use some Auxiliary Relay signals that are not already used?
And in the end in the interrupt for Input signal I will put this "new variable"
1. You can read the same address as many times as you want. You can only write to the address once.
2. The only addresses you can use with interrupt job is an Universal/General Purpose Input.
Interrupt Job was developed for press tending. The input is the press starting to roll which is a rising edge signal.
Thank you, now everything is clear, can't wait Saturday to test it.
Display MoreAre you sure you ladder is mapped as
GSTR #20030
GOUT #00030
and not
GSTR #20030GOUT #00010?
You are correct, actual map is with GOUT#00010.
Interrupt Job was developed for press tending. The input is the press starting to roll which is a rising edge signal.
Yes, this makes sense.
I want to use interrupt to stop the program when air pressure is lost and my pressure sensor has only one NO switch.
I could connect it to a new hardware relay and use NC contact as input, but I figure it must be possible to do it with software.
I want to use interrupt to stop the program when air pressure is lost and my pressure sensor has only one NO switch.
I could connect it to a new hardware relay and use NC contact as input, but I figure it must be possible to do it with software.
That’s 10x the work for this. Depending on the application the controller is set up for there may be a dedicated set of terminals for air pressure.
If not a simple user alarm would suffice. One or two rungs added to the ladder. Add the text to display on the screen.
Advantages to this are:
No breaking out input groups.
No adding EI and DI instructions in a job.
No creating the job that will execute on the interrupt.
No additional Jump/Call job.
No Clear instruction.
No assigning the interrupt input.
No assigning the executing job on the interrupt.
run your input through a relay
Display MoreThat’s 10x the work for this. Depending on the application the controller is set up for there may be a dedicated set of terminals for air pressure.
If not a simple user alarm would suffice. One or two rungs added to the ladder. Add the text to display on the screen.
Advantages to this are:
No breaking out input groups.
No adding EI and DI instructions in a job.
No creating the job that will execute on the interrupt.
No additional Jump/Call job.
No Clear instruction.
No assigning the interrupt input.
No assigning the executing job on the interrupt.
Finally found time to tinker with ladder editor over last weekend, and it went smoother than I taught.
Thank you for pointing out the user alarm option, it work's like a charm.