RSLogix 5000 Problem: Mytagno Not Updating

  • Thread starter Jobrag
  • Start date
In summary, it appears that the issue is with the use of the variable name I/Omoduletagno, as it contains characters that are not typically allowed in variable names and may be causing confusion for the compiler/interpreter. Changing the name to something that follows typical naming conventions for variables may help resolve the problem.
  • #1
Jobrag
551
28
Any RSLogix 5000 users out there I have a problem.
I have a line of code Mytagno := I/Omoduletagno
If I dummy in the input I/Omoduletagno changes but Mytagno doesn't, I don't see how this cannot work.
Any ideas please.
 
Computer science news on Phys.org
  • #2
It seems to me that you are trying to use a variable whose name is I/Omoduletagno. I don't know anything about RSLogix 5000, but most programming languages allow only a limited set of characters that can be used to create variable names. Characters that are typically not allowed include +, -, *, /, and others, since these are operators.

The RSLogix compiler/interpreter probably thinks you want to divide I by Omoduletagno, and neither of these names is declared or initialized.

Names that would probably be OK are IOModuleTagNo and I_O_ModuleTagNo.
 

FAQ: RSLogix 5000 Problem: Mytagno Not Updating

What is RSLogix 5000?

RSLogix 5000 is a programming software used to program and troubleshoot Allen-Bradley Logix5000 controllers. It is commonly used in industrial automation and control systems.

What is the "Mytagno Not Updating" problem?

The "Mytagno Not Updating" problem refers to a situation where a tag in the RSLogix 5000 software is not updating or displaying the correct value. This can be a frustrating issue when trying to troubleshoot and control a system.

Why is my Mytagno not updating?

There could be multiple reasons why a Mytagno is not updating. Some common causes include incorrect programming, communication errors, or a faulty sensor or device connected to the tag.

How do I troubleshoot the Mytagno not updating problem?

To troubleshoot the Mytagno not updating problem, you can start by checking the programming for the tag and ensuring it is correct. If the programming is correct, you can then check for any communication errors or try replacing the sensor or device connected to the tag.

Can I prevent the Mytagno not updating problem?

While it is impossible to completely prevent the Mytagno not updating problem, there are steps you can take to minimize the chances of it occurring. This includes regularly checking and updating the programming, performing regular maintenance on devices and sensors, and using quality equipment.

Similar threads

Replies
51
Views
3K
Replies
6
Views
2K
Replies
3
Views
985
Replies
11
Views
2K
Replies
1
Views
2K
Back
Top