From Page 40 of the Chapter 13 , the class ID is 40, Instance 101, attribute 3
EthernetIPforCLXCom1.BeginGetAttributeSingle(4, 101, 3)
The data returned will need to be parsed from bytes:
Private Sub EthernetIPforCLXCom1_DataReceived_1(sender As Object, e As Drivers.Common.PlcComEventArgs) Handles EthernetIPforCLXCom1.DataReceived
'* Parse the data using e.RawData or e.Values
End Sub
I would also put some code here to be notified of any errors:
Private Sub EthernetIPforCLXCom1_ComError_3(sender As Object, e As Drivers.Common.PlcComEventArgs) Handles EthernetIPforCLXCom1.ComError
End Sub