Failed to write to RSLinx OPC Server

ILC

Member
Join Date
Jun 2020
Location
Germany
Posts
6
Hi Experts,
I am using Matlab as an OPC DA Client to communicate with AB PLC rslogix5560. I can successfuly read from the PLC but when i try to write value from Matlab interface i get some quick Change and the PLC reset to the old Value. On the PC with Matlab i have another OPC Client namely RSView32.But RSView32 works just fine.
could someone have already face this issue?
Thanks
ILC
 
Cross reference the tag your writing to and see if something else is moving/copying data there as well. Your momentary change sounds like the data is being over written by something else in the program.

As mentioned in other threads, make a new tag and write your data to that tag. This being a fresh tag that isn't used in the rest of the program, would let you know if your set up is working.

If data can be written to the new tag without reverting to some other value, you know you com set up is correct and something in the program is changing the data your trying to write.
I have no exp with mathlab, but I recommend removing the coms and the plc program from the equation, as these are easy to check.

Happy Hunting,

Gad.
 
Hi Gad,
i check the cross reference of the tag and as you said it just a copy of the source tag. i had to Change the source in order to write successfully to the PLC.
Thanks you again.
 

Similar Topics

The Ethernet has 3 pieces of PLC5 processors (PLC5-40E), for easy explanations, we name A,B and C. All pings are OK and RSLogix5 can connect all...
Replies
13
Views
4,912
Hi all, yesterday I was at a customer site doing a PM and after making a couple of minor mods to the program, I went to back it up to EEPROM (yes...
Replies
2
Views
2,399
I have a site that I have recently commissioned using View SE 8.0 connected to a CompactLogix 1769-L30ER. The customer has View SE ver 8.0, so...
Replies
7
Views
4,665
Sorry for my lack of knowledge, beginner here. Yesterday, we had a Pro-Face SP5000 HMI fail on us. The technician said that the HMI had the blue...
Replies
2
Views
122
Hi everyone, I got a Parker HMI, CTC PA2. I tried to download program to it but it froze in the process and could not finalize. Now, when I try to...
Replies
0
Views
45
Back
Top Bottom