Machine Automation Forum
A forum addressing machine automation solutions for the complete machine lifecycle. Including offers like Machine Advisor, Modicon PLC/PacDrive, Lexium or Preventa. Discuss and share knowledge on offers relating to cloud-based service platforms, machine localization and monitoring, industrial operations control, motion products as well as safety function!
Link copied. Please paste this link to share this article on your social media post.
Posted: 2022-11-30 02:34 PM
Hi all.
If you create an array of pointers to registers, both status variables and EEPROM, like
pwaStatusVariables : ARRAY[0..7] OF @WORD := [ADR(SV_wTestReg0), ADR(SV_wTestReg1), ADR(SV_wTestReg2), ADR(SV_wTestReg3), ADR(SV_wTestReg4), ADR(SV_wTestReg5), ADR(SV_wTestReg6), ADR(SV_wTestReg7)];
pwaEEPROM : ARRAY[0..7] OF @WORD := [ADR(EE_wTestReg0), ADR(EE_wTestReg1), ADR(EE_wTestReg2), ADR(EE_wTestReg3), ADR(EE_wTestReg4), ADR(EE_wTestReg5), ADR(EE_wTestReg6), ADR(EE_wTestReg7)];
In Simulation, the values show in the watch list are different to that in the code.
When running a live debug, the watch list is fine.
This is for EcoStruxure Machine Expert - HVAC v1.4.
Thanks.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2022-12-01 01:08 AM
Hi,
I've opened a ticket (bug will be present also in the next version I'm testing).
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2022-12-01 01:08 AM
Hi,
I've opened a ticket (bug will be present also in the next version I'm testing).
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.