diamonddog
Member
Hello,
As a newbie to PLCs, I have two issues.
1) I connected Mitsubishi GX Works3 and Factory IO on a project I am working on. But when I do a read/write operation on GX Works3 variables using MX OPC Configurator over C#, I immediately get a "Connection number acquisition error" error. For this reason, my variable updates via MX OPC are not reflected in Factory IO and I cannot use the simulation properly.
2) I'm making updates on MX OPC Configurator Tags using C#, but how can I send string type data using C#?
for example;
plc.SetDevice(string, int) // string field is for tag name, int field is for value
plc.SetDevice(string, short) // string field is for tag name, int field is for value
With the above two methods, int and short data can be sent, but I couldn't see a method offered by MX Component to send string type data
Is there anyone who has knowledge on PLCs that can help me in this regard?
Thanks in advance.
As a newbie to PLCs, I have two issues.
1) I connected Mitsubishi GX Works3 and Factory IO on a project I am working on. But when I do a read/write operation on GX Works3 variables using MX OPC Configurator over C#, I immediately get a "Connection number acquisition error" error. For this reason, my variable updates via MX OPC are not reflected in Factory IO and I cannot use the simulation properly.
2) I'm making updates on MX OPC Configurator Tags using C#, but how can I send string type data using C#?
for example;
plc.SetDevice(string, int) // string field is for tag name, int field is for value
plc.SetDevice(string, short) // string field is for tag name, int field is for value
With the above two methods, int and short data can be sent, but I couldn't see a method offered by MX Component to send string type data
Is there anyone who has knowledge on PLCs that can help me in this regard?
Thanks in advance.