
Nikiolas_bb (Customer) asked a question.
Hello,
This is the errors I am getting below for the symbol configuration.
How to fix this (Waintek cmt2078x panel )
------ Build started: Application: Device.Application -------
Typify code...
[ERROR] iecvaraccess, 4.2.0.0 (system): Initialize [IecVarAccess]: C0032: Cannot convert type 'Unknown type: 'IecVarAccRegisterInstance3(_IIecVarAccess3, ADR(result))'' to type 'POINTER TO BYTE'
[ERROR] iecvaraccess, 4.2.0.0 (system): Initialize [IecVarAccess]: C0046: Identifier 'IecVarAccRegisterInstance3' not defined
[ERROR] iecvaraccess, 4.2.0.0 (system): Initialize [IecVarAccess]: C0035: Program name, function or function block instance expected instead of 'IecVarAccRegisterInstance3'
[ERROR] iecvaraccess, 4.2.0.0 (system): FB_Exit [IecVarAccess]: C0046: Identifier 'IecVarAccUnregisterInstance' not defined
[ERROR] iecvaraccess, 4.2.0.0 (system): FB_Exit [IecVarAccess]: C0035: Program name, function or function block instance expected instead of 'IecVarAccUnregisterInstance'
Compile complete -- 5 errors, 0 warnings
The P2CDS-622 currently does not support symbol configuration.
I'm not familiar with using these HMI's but after a little researching it looks like you can talk to these over modbus which the P2CDS-622 supports.
If you have more questions feel free to ask to see if we can offer some help.
And how can I solve this problem? Can you tell me?
Most HMI's in the automation field support more than 1 way to talk to them. The modbus protocol is one of the easiest and most common protocols supported.
The Weintek HMI can be setup as a Modbus server.
Reference Video:
https://www.youtube.com/watch?v=1bqQILYsq_k
The P2CDS-622 will be the modbus client(master) that can talk to the HMI server.
Here's a reference for setting up the modbus client device.
Website Reference:
https://docs.codesys-p2cds622.com/en/latest/Example%20Projects/modbus_tcp.html#
Well that's a bummer, symbol config gives you full symbolic support in EBPro and none of the Modbus hassles.