256 states counter

Maciaz

Member
Join Date
Jul 2015
Location
Bobzorowo
Posts
1
Hey there.

We have 8 digital inputs that define machine states. The inputs can work together and that gives us 256 different states. All we need to do is register all the states, but we don't really want to use 256 counters in the ladder logic and need to think of another way. Ladder logic is the only language we can actually use. The states are scanned every 100ms and we need to sum them up every 1 minute.

Example
We get the states
00000001 - t = 1s
00000010 - t = 2s
00000001 - t = 3s
00000010 - t = 4s

So as you can see the state 00000001 occured 2 times. The easy way, would be to make a counter to add 1 every time a state appeared. But that would lead to a ridiculous number of 256 counters in the logic.
Do you guys have any idea on how to solve the problem without using the counters?

Sorry for bad english. If you need any further information feel free to ask.
 
assign the 8 digital input as Differential Up and Differential Down all in parallel trigger to single unit UP-DOWN counter

are this possible?
 

Similar Topics

Hello, I'm wondering if anyone here has any experience and information on the Selecontrol 256 PLC at all? I may be able to salvage some and wonder...
Replies
0
Views
176
While trying to download an FC to a Siemens plc CPU315-2DP , we are getting the following error . What does it mean ? How to solve this problem ...
Replies
8
Views
3,126
PLC is Automation Direct P2000. Destination device is a servo drive. Pacific Scientific SC755 with a custom program in BASIC. I have a copy of the...
Replies
2
Views
4,064
Hello We integrated a BIS M-400-072-002-07-S4 (BIS0104) on a machine for the traceability system. It has to read a BIS M-110-02/L (BIS0044). We...
Replies
4
Views
2,227
When I want to open backup program this message appare on PG.Open Project (256:145) The project or library was changed using tools of Windows...
Replies
3
Views
5,727
Back
Top Bottom