ML1100 Strange Behavior....

JoseM

Member
Join Date
Jul 2011
Location
Texas
Posts
381
I have this strange behavior happening on an ML100 processor. At the end of one of the subroutines I have on this PLC, I have a "Move" instruction that is constantly moving a decimal point value from an F-register into an integer N-register.
After this move takes place, there are five lines of code that takes bit 0 through bit 4 of this N-register and it turns on five digital outputs. These outputs are hard wire to another PLC of a different brand and this binary combination is used to display on an HMI what the value of the N-register on ML1100 is.
The problem I have seen is that in occasions the outputs don’t get updated and the value displayed on this HMI goes to zero.

Hopefully this description of the problem is to general. I’m not sure what other information may be relevant to explain my situation. Just ask for more details if you guys need them, please.

Jose
 
I would imagine, from your description, that the JSR to this subroutine gets disabled at some point, so the code will not execute to update the outputs.

Also it could be possible that the outputs are driven more than once, and the "last man wins" rule will apply.

Can we see the code to give better answers ?
 
Can I post the whole code in here? I don't think the subroutine is getting disable because the same code is used to control a "Hi-Pressure" pump and the control logic works perfectly for pressure control. The problem is that the pump pressure doesn't get display on this other PLC HMI.
 
Well the subroutine is not conditional, and the outputs are not used more than once. But I noticed that the value of N7:1 saved with the program is 32... this is a problem since you're only using the first five bits of N7:1 to control the outputs. In its current form, your program is only able to transfer values up to 31.
 
Thank you Kolyur, that is exactly what is happening. That explains what I was seeing on the PLC code where N7:1/0 throught N7:1/4 where turn OFF for long periods of time. I need at least 6 bits to represent the entire range of operation of the pump which is from 0 - 40 KPSI.
 

Similar Topics

I'm looking to implement a low-cost, efficient method of communicating some integer values to an R30iB robot from a Rockwell 1100 PLC. I am not...
Replies
8
Views
1,722
Hello all, I am trying to setup my MicroLogix 1100 as a modbus RTU master for a modbus network containing multiple modbus RTU slaves. I currently...
Replies
7
Views
3,914
We have a machine that keeps losing its program at random intervals; sometimes 2x-3x in a shift, sometimes will go over 1wk without issue. I had a...
Replies
9
Views
2,925
Just asking for clarification here, but from my research all I need is a 500 ohm resistor across the AI and the common? Heres my schematic. I...
Replies
5
Views
2,571
I have a CLX L61 and I'm trying to read from and write to a Micrologix 1100. I'm attempting to read 200 REAL elements but I'm receiving an error...
Replies
2
Views
1,457
Back
Top Bottom