Make a file read only PLC5

BeepBob

Member
Join Date
Jan 2023
Location
Oakland, CA
Posts
107
Hello all,

I am seeing this behaviour where an integer file (N46:33), has an integer in binary (11110) which is 30 in decimal.

I did a search(cross reference) and the only place that reference N46:33 is a Compute instruction.


For some reason, after I download to the PLC, N46:33 , sometimes goes to 1111

I do not see any other instruction within the logic that can write to N46:33


Is there a way I can make N46:33 read-only?

plc5.jpg
 
What is the CPT instruction - is it an expression?
If so, what is in that expression?

And the other N46 words around, are they similar?

Is there a power up /first scan routine that sets a value to the integer word(s)?

You cannot make it read only, but you can force a value into it.
The only other way is to check what other PLCs or SCADA/HMI could write values to it,.
 
Look for inderect references for it. It will be somewhere in the program.

You can find it by searching for [ or ]

unfortunately in rslogix500 they didn't think to give a good way to find something that was indirectly addressed. just remember, you may be looking for something like

N46[XX] where XX is another address that sometimes becomes 33. and you could look for that value being put into it, or you could look for a file that matches the binary if they used a masked move to put a specific value in it.

If you want, just upload the file here and someone can look at it and tell you where it's being changed at.
 

Similar Topics

Hi everyone. Quick questions. On UnityPro, I want to open and quickly read tags from a .STA files witouth opening the program. I have 30 plc...
Replies
2
Views
144
Ex If I Read from Integer file N7:0 N7:0 is an 8 point input card , input 0 and 2 are on , rest off When I look at : N7:0 -7 6 5 4 3 2 1 0 I...
Replies
5
Views
746
Hello, I know it is rare here to talk about Unitronics, but maybe somebody can help. I use a Unistream PLC and write a program that reads a line...
Replies
1
Views
911
PLC is ControlLogix 1756-L73 CPU with firmware 28 In the PLC the value for A60[110] is "AT", Style ASCII, Data Type INT. In KEPServerEX I tried...
Replies
4
Views
1,541
Hello I am working in a project where I have to read data from an excel file. I'm not sure whether this is possible. The screen that I'm using is...
Replies
6
Views
2,174
Back
Top Bottom