If you look at the message generated in the VB script, the ActY value is the machine coordinate.
The MinY value refers to the minimum absolute machine coordinate.
Only the MaxY value is actually how we want to compare it with the MaxY in G code.
This is strange, since, as you say, 5 and 11 refer to G code.
Only OEM Dro 11 is working as we want.