Anyone have any luck making an AOI that checks the comms status of an Ethernet device? I have an AOI for VFD control that I use, and I always have to make a separate section of code to check if the drive is online, usually using a GSV instruction pointed to the module itself.
I'm playing around with putting the GSV instruction in the VFD AOI directly, but it seems that the name of the VFD itself needs to be of the data type of the VFD created by the AOP- "ABowerFlex525V_EENET_Drive:I:0" for me, while the GSV value needs to be of the type "Module." So this forces the user have to have two inputs into the AOI for the same VFD tag, essentially.
I was curious if anyone else has tried this and if they were able to figure out a better solution.
I'm playing around with putting the GSV instruction in the VFD AOI directly, but it seems that the name of the VFD itself needs to be of the data type of the VFD created by the AOP- "ABowerFlex525V_EENET_Drive:I:0" for me, while the GSV value needs to be of the type "Module." So this forces the user have to have two inputs into the AOI for the same VFD tag, essentially.
I was curious if anyone else has tried this and if they were able to figure out a better solution.