-4

library: PascalSCADA HCI
Control : TCP_UDPPort1 -> ModBusTCPDriver1 -> PLCTagNumber1 -> HMILabel1
I want HMILabel1 display hexadecimal.

1
  • 1
    Convert your data to hex string manually and add that to the HMILabel Commented Sep 4 at 7:43

1 Answer 1

1

HMILabel does not support what you want.

Although it can display and format numeric values (see its NumberFormat property), the formatting is limited to what FormatFloat() can output, and it can't output numbers in hexadecimal, only in decimal and scientific notation.

Not the answer you're looking for? Browse other questions tagged or ask your own question.