AB programming help

I have an Allen Bradley MicroLogix 1400. I am trying to make a counter to count to 5,000,000 (5 million) I also have a HMI that I am trying to display this on. I know how to make the counters count up to 32767 and beyond.. My promblem is how do I display this info on the HMI??? Thanks
 
The ML1400 also supports the Long data type for 32 bit integers. Define a file type L, eg L9. Then use an add in conbination with an ons instruction. The Long data type will support integers to 2,147,483,647


----] [-------[ONS]------------+-ADD-----------+
|Source A L9:0|
|Source B 1|
|Dest L9:0|
+---------------+


 
You can put two numeric data displays right next to each other.
Wen the count value gets to 1000 add one to the 1000's value displayed in the left data display. Clear the original value and start counting again.
It's not beautiful, but it works.
Of course that will only display 32.7 million.

ShiftCount.jpg
 

Similar Topics

We need a plc guy willing to travel and has the experience to help us get this project done. We've struggled with staffing agencies and we'd...
19
Replies
1,456
Views
Hi everyone, I’m a PLC programmer and I’m currently developing a tool (CodePLC Builder) focused on accelerating Structured Text development. We...
75
Replies
4,958
Views
Hi, Im having difficulty getting a compact Logix L16er-bb1b to do any communications whatsoever with a weigh controller through a 1734-Asc232...
10
Replies
668
Views
Hi - my name is Dennis with Electronic Displays Inc. We manufacture digital displays for industry. Some of our models use Modbus for communication...
7
Replies
801
Views
As the title suggests, I'm having difficulty configuring the P_ValveC block correctly. I'm trying to program a Brooks SLA5800 Flow Controller, but...
4
Replies
911
Views
Top