Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Nazato

Pages: [1]
1
Support Questions / Re: PLC simulation with OPC Server
« on: August 31, 2016, 10:17:20 PM »
Thank you! Your replies helped me a lot. Using the MatrikonOPC Explorer I managed to get the variables name and make the HMI work.

That was really helpful, thanks again!

If anyone is trying the same and still having problems what I noticed is that you only need the OPCServer, in the OPCGroup and OPCTopic fields you have to leave it blank so that it works.

2
Support Questions / PLC simulation with OPC Server
« on: August 31, 2016, 11:12:45 AM »
I'm a beginner in this area so maybe this is a really silly question. I've been trying to use the CODESYS V3.5 SP8 Patch 2 software to write a PLC program and use the Codesys OPC Server V3 to connect to AdvancedHMI. I'm using the Codesys Control Win Systray to simulate a PLC using my computer. Would the program work fine with only the simulation?

If it does work with a simulation, then I still having some other problems. The message I'm getting is: Failed OPC Subscription Start [OpcDaCom]

I believe I did manage to get the Server Name correct (CoDeSys.OPC.DA) as I'm not getting the Network Error message anymore. I'm just not sure about the variable name and where I have to input then in the PLC Properties panel. I'm using one basic button to activate a pilot light. For the button I put the variable name in the PLCAddressText and for the light in the PLCAdressValue. I've tried the PLC_NAME..IteMName  model for the variables name.

Also, for the OpcDaCom driver I'm not sure what to put in the OpcGroup and OpcTopic. I've attached a screenshot with the debug information if it is any useful.

Thank you in advance for the help




Pages: [1]