Brendonh
Member
Hi All
Hopefully someone can help me, i have a Schneider m340 PLC with a magelis HMI that was pre-programmed by the supplier of a piece of equipment.
at the end of the day i want to monitor the plc using wonderwares modbus tcp io server (DASMBTCP).
the trouble is the plc logic is written entirely with unlocated variables, and I assume the hmi is using Schneider's OFS factory server to read and write to/from the plc based on the fact nothing is addressed.
obviously my io server cannot read unlocated variables, so i attempted to copy the unlocated variable values into located memory with unity(just a simple "mov" function block).
When i did this the plc continued to function as normal and i could read the values in intouch, and everything looked fine remotely, but the local hmi stopped functioning, and could no longer read or write to the plc for all variables not just the ones i "copied".
To get the hmi going again i had to do a full download to the plc with the original logic i had made a backup of.
I attempted it again using only 1 variable and with the wonderware physically disconnected from the PLC and the same thing happened.
anything i'm doing wrong?
Hopefully someone can help me, i have a Schneider m340 PLC with a magelis HMI that was pre-programmed by the supplier of a piece of equipment.
at the end of the day i want to monitor the plc using wonderwares modbus tcp io server (DASMBTCP).
the trouble is the plc logic is written entirely with unlocated variables, and I assume the hmi is using Schneider's OFS factory server to read and write to/from the plc based on the fact nothing is addressed.
obviously my io server cannot read unlocated variables, so i attempted to copy the unlocated variable values into located memory with unity(just a simple "mov" function block).
When i did this the plc continued to function as normal and i could read the values in intouch, and everything looked fine remotely, but the local hmi stopped functioning, and could no longer read or write to the plc for all variables not just the ones i "copied".
To get the hmi going again i had to do a full download to the plc with the original logic i had made a backup of.
I attempted it again using only 1 variable and with the wonderware physically disconnected from the PLC and the same thing happened.
anything i'm doing wrong?