The BasicLabel does not have functionality to convert to Hex.
You can do this with a DataSubscriber and a Label.
- Add a DataSubscriber to your form
- Set the PLCAddressValue to the address you want to display
- Add a Label from the All Windows Forms group in the ToolBox
- Double click the DataSubscriber and enter this code:
Try
Label1.Text=DataSubscriber1.Value.ToString("X")
Catch ex as exception
End Try