Constant Types and Representation Methods in Inovance PLC
Constant Types and Representation Methods 1. Decimal Constants (K) Representation: K + Number Range: ·16-bit:K-32768 ~ K32767 ·32-bit:K-2,147,483,648 ~ K2,147,483,647 Example: K100 // Decimal 100 K–500 // Decimal -500 K12345 // Decimal 12345 2. Hexadecimal Constants (H) Representation: H + Hexadecimal Number Range: ·16-bit:H0000 ~ HFFFF ·32-bit:H00000000 ~ HFFFFFFFF Example: H64 // Hexadecimal 64, equal … Read more