Delta Electronics — 3.2 Values, Constants [K] / [H], Floating Points [F]

3 Functions of Devices in DVP-PM 3. Decimal value (DEC) DVP-PLC appies decimal operation in situations below: ѓ Set value for timers and counters, e.g. TMR C0 K50. (K value) ѓ No. of S, M, T, C, D, E, F, P, I devices, e.g. M10, T30. (No. of device) ѓ For use of operand in API instructions, e.g. MOV K123 D0. (K value) 4. Binary coded decimal (BCD) BCD format takes 1 digit or 4 bits to indicate a Decimal value, so that data of consecutive 16 bits indicates a 5. Hexadecimal value (HEX) 4-digit decimal value. Used mainly for reading values from DIP switches or sending data to 7-segement displays. Occasion of using hexadecimal values: ѓ For use of operand in API instructions, e.g.

MOV H1A2B D0 。 (H value) Constant K: Decimal value in PLC operation is attached with an “K”, e.g. K100 indicates the value 100 in Decimal format. Exception: When constant K is used with bit devices X, Y, M or S, the value specifed after K indicates the groups of 4-bit unit, which forms a digit(4-bit), byte(8 bit), word(16bit), or double word(32-bit) data, e.g. K2Y10, K4M100, representing Y10 ~ Y17 and M100~M115. Constant H: Hexadecimal value in PLC operation is attached with an “H”, e.g. H100 indicates the value 256 in Hex format. Floating point F: Floating point value in PLC operation is attached with an “F”, e.g. F3.123 refers to a floating point value, 3.123. 23. Reference table:

DVP-PM Application Manual 3-5 Binary Octal Decimal Binary Code Decimal Hexadecimal (BIN) (OCT) (DEC) (BCD) (HEX) For DVP-PM internal operation No. of device X, Y Constant K and No.

of device M, S, T, C, D, V, Z, P For DIP switch and 7-segment display Constant H 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 1 0 2 2 0 0 0 0 0 0 1 0 2 0 0 0 0 0 0 1 1 3 3 0 0 0 0 0 0 1 1 3 0 0 0 0 0 1 0 0 4 4 0 0 0 0 0 1 0 0 4 0 0 0 0 0 1 0 1 5 5 0 0 0 0 0 1 0 1 5 0 0 0 0 0 1 1 0 6 6 0 0 0 0 0 1 1 0 6 0 0 0 0 0 1 1 1 7 7 0 0 0 0 0 1 1 1 7 0 0 0 0 1 0 0 0 10 8 0 0 0 0 1 0 0 0 8 0 0 0 0 1 0 0 1 11 9 0 0 0 0 1 0 0 1 9 0 0 0 0 1 0 1 0 12 10 0 0 0 1 0 0 0 0 A 0 0 0 0 1 0 1 1 13 11 0 0 0 1 0 0 0 1 B