ControlLogix MSG to Offline PLC (ER bit?)

JHarris

Lifetime Supporting Member
Join Date
Jan 2006
Location
Tennessee
Posts
48
I've got a ControlLogix L61 messaging to a PLC 5/40 via ethernet. The message instruction gives an error code which seems appropriate when the destination PLC 5/40 is disconnected from the network. However, the message error bit (.ER) is not set. Anyone run into this before? This seems a bit odd.

Thanks,

Justin
 
The MSG .ER bit is only on until the MSG is triggered again. Depending on how you are triggering your MSG, you may rarely see the .ER bit flash on. I usually use XIO MSG.EN to start a short delay timer, then the timer .DN fires the MSG.
 
More testing done - The .ER bit does flash on. I suppose the odd part is the ER bit only flashes even if you maintain the MSG rung's true condition. I expected the .ER to stay true until I transition the MSG rung from true to false.
 
Without seeing your precise logic, it's hard to say what you're experiencing. In my experience if you toggle the .EN bit on a ControlLogix MSG instruction, eventually the .ER or .DN bit comes on and stays on until the MSG conditions transition from false to true again.

I prefer to manually set the .TO bit on my ControlLogix messaging to force them to time out, because to wait the default 30 seconds for a TCP connection to time out is too long for some applications.
 
Ken Roach said:
Without seeing your precise logic, it's hard to say what you're experiencing. In my experience if you toggle the .EN bit on a ControlLogix MSG instruction, eventually the .ER or .DN bit comes on and stays on until the MSG conditions transition from false to true again.

Tested again with nothing but an XIC test bit on the MSG rung... Regardless of whether I toggle the bit or leave the bit on, the .ER bit is true for just one scan.

I prefer to manually set the .TO bit on my ControlLogix messaging to force them to time out, because to wait the default 30 seconds for a TCP connection to time out is too long for some applications.

I wasn't aware of the 30 second timeout until today. We'll definitely add some additional logic to account for this.

Thanks for the help.

Regards,

Justin
 
What version of Logix firmware are you using ? Can you post your program ?

I am very familiar with Logix messaging and have always experienced the .DN and .ER bits remaining true after MSG instruction completion until the MSG instruction is executed again.
 
Ken,

Well, I slapped my forehead this morning. You are correct regarding the .DN and .ER bits. Yesterday, I missed a rung that unlatches the ER bit in that program.

So the lesson of the day is: do more homework before asking questions.

As always, thanks for your help and contributions to the forum.

Regards,

Justin
 

Similar Topics

Hey everyone, I feel like this is an easy question, but I can't seem to find an answer for it. Currently have a PLC-5 that we're swapping out...
Replies
3
Views
1,816
Hello, Today I am trying to figure out the best way to write from controllogix to a plc5 only on change. The situation: - Migrated a Winview...
Replies
3
Views
2,111
I have to use a new L81 ControlLogix processor to MSG read a SLC5/05. I've done this before on the older series using an ENBT, but the new...
Replies
17
Views
11,735
Hello all. I need some help setting up a MSG instruction to transmit 10 bits of data from a compact Logix processor to a micrologix 1400. I have...
Replies
31
Views
20,023
hi, i try to connect dvt framework 2.8 to controllogix 1756-L62 using a ENBT module. im able to connect to the i/o of the camera to do...
Replies
0
Views
1,317
Back
Top Bottom