Wan Amirulhanif Posted July 3, 2019 Report Posted July 3, 2019 (edited) Hi.. I'm new into PLC programming so I dont really know much how to program.. So hopefully there is someone out there that can help me with this or give me some ideas.. Here is the problem; I got 2 inputs signal, A & B.. from this 2 input signal, there will be variable combination of 4 inputs and it will produce different output let say in condition; 1. AAAB - Output 1 2. AABA - Output 2 3. AABB - Output 3 4. ABAA - Output 4 . . . n. BBBB - Output n I'm open to any suggestion and ideas for this.. Btw I'm using OMRON CP1H for this one.. Thank you Edited July 3, 2019 by Wan Amirulhanif Quote
Wasan Posted July 3, 2019 Report Posted July 3, 2019 Do you mean 1 switch give you 2 signal that on to A and off to B and you use it for combination with 4 switch? Quote
Crossbow Posted July 3, 2019 Report Posted July 3, 2019 Looks like you just wrote your own logic. 4 lines of ladder each looking for a specific input condition, each controlling an output. Quote
Wan Amirulhanif Posted July 3, 2019 Author Report Posted July 3, 2019 Do you mean 1 switch give you 2 signal that on to A and off to B and you use it for combination with 4 switch? Yes.. somewhat like that.. My sensor will produce 2 input signals which is A and B depends on condition and I only use this one sensor.. So how can I make the combination from this sensor.. Tq Quote
Wasan Posted July 4, 2019 Report Posted July 4, 2019 For your condition you could create program by use each condition to communicate in serial sequence like image below. when you serial contact together it likes you use "AND" in programming language. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.