4/7/2020 11:42 AM | |
Joined: 9/27/2006 Last visit: 8/31/2024 Posts: 12282 Rating:
|
Hello Valentin; DPRD_DAT and DPWR_DAT cannot process data amounts of 4 bytes and less, so they cannot be used with 2AI and 2AQ. Read the Note in the following article: https://support.industry.siemens.com/cs/ww/en/view/245111 For data in the size of 2 words/integers or 1 Dword/Dint you must use standard read/write access to the module addresses. Hope this helps, |
4/7/2020 12:11 PM | |
Joined: 9/27/2006 Last visit: 8/31/2024 Posts: 12282 Rating:
|
Hello Valentin; It seems I will have to re-examine my understanding of these functions then, if you are able to read/write consistent data from modules with 4 bytes and less. In the meantime, do you have a fault code in Ret_Val when you call DPRD_DAT? https://support.industry.siemens.com/cs/us/en/view/109755202/95340531851 Hope this helps, |
Follow us on