Micrologix 1400 data queue read?

istvanb

Member
Join Date
Feb 2012
Location
Budapest
Posts
4
Hi,

I have recently started to work with ML1400 already configured in our company environment. I use KEPserverex as an OPC server to get useful data from the PLCs.

I was able to read discrete values like F8:0 etc which is great, but it would be even better if I would be able to read the data queues since those are the most relevant data for us (storing measurement data)

Is it possible to do it via the KEPserverex? If not how can I do that? We have the Micrologix data extract utility but it is really slow and I'd like to query and process the data in the LabVIEW programming tool, so the solution should work there. (even OPC or maybe activeX would be fine). Based on the economics it supposed to be free :)

Please let me know,
thx,
i-
 
Last edited:
What are you calling data queues?

As far as I am concerned the data queues are some sort of memory banks where our PLCs store measurement data about our processes. What I know about them: we have 6 queues, queue0 stores the most relevant data. I was told only 5000 records can be stored in this queue and if we dont read them they will be overwritten by the new data. Thats why we use the ML data extract tool, but thats slow as hell. This tool creates folders on our HDD with the following folder name: AB_ETHIP-1 192.168.0.11 Queue 0

I hope this clarified a bit what I try to talking about. (I am really new in the PLC scene, so maybe my terms are not that accurate)
 
What are you calling data queues?

I believe the OP is talking about the "DLG" Data Log Instruction.

See PDF below about retrieving the log info. Note, I have never try this.
 
Not sure if anyone is still looking for info on this.

I developed a python method, after a bunch of searching, using the pycomm3 library. I was using a ML1400 PLC so I modified the slc.driver.py file in my own fork to add some data logging reading functionality.

my fork can be downloaded here:
https://github.com/ddeckerCPF/pycomm3

Essentially the data log function requires the queue number and the number of items to be read. The function also expects that you are reading the whole queue and not a partial queue. There is a line of code that does an extra read after the whole queue is read since the DataLog memory has an issue where it keeps the last log in after the whole queue is read.

I attached a sample python code for reading a data log queue over ethernet with a micrologix 1400 PLC.
 

Similar Topics

Hi Everyone, We have Silo System which has temperature sensor and these sensor data will be communicating through RTU unit to the Dedicated PC...
Replies
2
Views
613
On my plant there is a system with FT Historian SE 6.0. It is working fine. On other installataion there is a Micrologix 1400. Could anybody tell...
Replies
3
Views
1,669
Hi everyone, Brief overview of the issue: I have a CompactLogix (pt No:1769-L36ERM) that is connected to a MicroLogix 1400 (Pt no: 1766-L32BXB)...
Replies
9
Views
4,282
Hello there, I'm trying to send the state of a single internal bit (B3:3/8) of my main ML1400 PLC to a different ML1400 over Ethernet using the...
Replies
4
Views
1,754
Hi All, Can anyone help me out in reading the data from Micrologix 1400 PLC using JAVA programme through Ethernet/IP.?? or any java library for...
Replies
0
Views
2,615
Back
Top Bottom