eal4LabVIEW - Writing to PLC Global Register

I am trying to write data to Real Time Output (MDT) of the Indra Drive using eal4LabVIEW. I have attached the screenshots of drive configuration in IndraWorks and LabVIEW Code.

I am able to read the data from Real Time Input (AT) using PLC Global Registers G16 and G17 using parameters P-0-1316 and P-0-1317. Bits map correctly to what is displayed on the HMI.ย 

When writing to the output assembly which is using PLC Global Registers G0 and G1 using Parameters P-0-1370 and P-01371, I don't get any error but there are no bits set on the register when I read it back.ย 

Is there a special configuration needed to write data to Real Time Output (MDT)?

Best reply by RexCode

Hello,

MDT and AT containers are used for master communication protocolls like sercos or EtherCAT. Parameters within these containers are written cyclically from master. This is why you can not write via EAL to parameters of these containers.

With EAL you can write directly to parameters like P-0-1370 or P-0-1371.

Therefor you need to remove these parameters from MDT and AT container. You can also try to write a parameter which is not mapped in MDT of your drive like P-0-1372

View original
LabVIEW Code.png
126.72KB
RealTime Input-AT.png
489.45KB
Real Time Output - MDT.png
504.75KB
Data Channel.png
684.2KB
3 replies