- HMI Model: cMT3072XH
- EasyBuilder Pro Version: 6.10.01.259 build 2025.02.12
Hey there. I am having some issues getting this Beckhoff device and the Weintek HMI talking together. Specifically it seams, getting the tags imported from the IPC
the Beckhoff device is a CX-5020 controller, the recommended driver for this controller is: the Beckhoff Embedded PC driver.
The guide itself is a bit dated and it seems that the TwinCAT interfaced has changed much since writing, but many of the instructions were also unclear.
for instance: does this section imply that any tags that I want to share with the HMI MUST be setup as a custom struct, or just that this is supported?
My understanding is that the tags that I want to share need to be addressed manually in memory. Here is the addressing scheme that I have tried both in a TwinCAT GVL and the MAIN POU with the goal of getting the en_outputcurrent BOOL tag connected to the HMI
VAR
adsread1 : ADSREAD;
GF100NETID : T_AmsNetId := '169.254.0.1.3.1';
status1 : UINT;
adswrite1 : ADSWRITE ; //adswrite 1 is for output current
adswrite2 : ADSWRITE ; //adswrite 2 is for ouput voltage
adswrite3 : ADSWRITE ; //adswrite 3 is for input length
//adswrite1 : ADSWRITE ;
en_outputcurrent AT %MX0.0 : BOOL; //enable to write for Output Current
en_outputvoltage: BOOL; //enable to write for Output Voltage
en_inputlength: BOOL; //enable to write for increase in input length
inputlength: UINT := 4; // 4 in decimal for input length to 4 words
outputvoltage: UINT := 8454; // 8454 in DEC from 2106H in modbus protocol for Output voltage
outputcurrent: UINT := 8732; // 8732 in DEC from 221CH in modbus protocol for Output current(modified from EL series VFD)
//(PLC PROGRAM MUST BE DOWNLOADED ONTO MS300 FOR OUTPUT CURRENT TO BE READ PROPERLY)
END_VAR
The issue that I am running into is that when I try to import the TYP file as instructed, the import is successful, but there are no tags in the file to be read, according to EBPro.
is this an instance in which I should download MSXML 4.0 and see if that works?
Any insight is appreciated. Thanks.