AB programming help

jethro

Member
Join Date
Jun 2010
Location
White House, Tn
Posts
1
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

Hi all, i am the new controls guy at the plant and i have inherited a pc from the previous controls guy with Siemens tia portal version 16 and 17...
Replies
17
Views
578
Hi can you help, have a book stitching machine with collates pages in 8 stages. I have installed a camera system that will give an input to...
Replies
24
Views
1,876
I don't have much experience in programming. I can do simple configuration. it is like this. i want to add something to the existing ladder...
Replies
39
Views
6,138
Hello there, I'm practically new to the PLC world, I'm quite familiar with Siemens TIA Portal but I'm currently tasked to program Schneider PLCs...
Replies
5
Views
1,848
Hello All, As you can guess by the title I am a total noob to programming PLC's. So my problem is that I have an old Pallet wrapper that uses an...
Replies
21
Views
4,897
Back
Top Bottom