Need some Modicon help

JeffB

Lifetime Supporting Member
Join Date
Apr 2002
Location
NW Arkansas
Posts
79
Hi everyone,

I'm programming a quantum 434 using Proworx Nxt. I need to set an internal bit whenever a value stored in a register does not equal zero. I would like to know what instruction to use to do this.

Thanks for any help.
 
The test instruction will do what you want. I'm using Concept 984, but it should be pretty close. Just put your coil on the appropriate ouput.
 
You can also use the SUB instruction and discard the result.




+--------+​
| A +-----( ) A >B​
| |​
| |​
| B +-----( ) A=B​
| |​
| SUB |​
| DISCARD+-----( ) A<B​
+--------+​

Edit,​
OK for some reason the
 tag is not working to display this correctly....  maybe this will help.


SUB.JPG

 
Last edited:
Actually it is even easier with your Quantum and 984LL. Simply use the NBIT (bit assumes state of input contact),NCBT (checks if bit is closed), NOBT (checks if bit is open), SBIT (set bit on), and RBIT (reset bit off) commands to directly access any bit of any 4x word.
 

Similar Topics

A friend of mine and I are pulling out on old (failed) 484 system as a charity project for a propulsion system on a ship that is used for disaster...
Replies
0
Views
1,238
Can anyone help me with serial communication between a modicon plc E984-265 and an AB powerflex 4 drive. i have looked through the posts and...
Replies
2
Views
5,504
Hi everyone I need to evaluate a Modicon Concept application. I got an ASCII file of the software can anyone import it, print and email it back to...
Replies
0
Views
1,271
Hi all! Got some problem here. Does anyone know the hardware/software required to upload/download program from a; AEG Modicon A020 E 220V EN...
Replies
13
Views
11,418
HELLO ALL, I AM WORKING ON PROJECT FOR ONE OUR CLIENT THE PROJECT IS IN Modicon Concept v2.5 using Ladder Logic PLC : 140CPU11302 Concept is new...
Replies
1
Views
2,778
Back
Top Bottom