2/12/2024 4:22 AM | |
Joined: 1/14/2022 Last visit: 3/3/2024 Posts: 21 Rating:
|
I set up a sample project, trying to learn network analog input function block. I am having trouble getting two network analog inputs functioning separate from each other. one is working but not the other, is it the VM mapping?
AttachmentNetwork Analog input.zip (258 Downloads) |
2/12/2024 4:35 AM | |
Joined: 12/18/2014 Last visit: 8/18/2024 Posts: 33580 Rating:
|
Yes, you have a overlapping by the VM addresses. The addressing in the VM memory is byte-oriented. VW0 = VB0 + VB1 See you the overlapping? By words you must use a distance of 2, e.g. VW0, VW2, VW4 .... AttachmentLOGO! Bit, Byte, Word and DWord.pdf (246 Downloads) |
This contribution was helpful to
1 thankful Users |
2/13/2024 2:18 AM | |
Joined: 1/14/2022 Last visit: 3/3/2024 Posts: 21 Rating:
|
Fixed version.
AttachmentNetwork Analog input.zip (242 Downloads) |
This contribution was helpful to
1 thankful Users |
Follow us on