Delta DVP-ES3 — 6.21.2 Explanation of String Processing Instructions

DVP-ES3 Series Programming Manual 6.21.2 Explanation of String Processing Instructions Symbol S : Source value D : Device where the conversion result is stored _6 Explanation 1. This instruction converts the signed decimal binary number in S into an ASCII code, and stores the conversion result in D . 2. The instruction supports SM690 to control the ending character. 3. For 16-bit instructions, the value in S must be a binary number and between -32768 to 32767. The operand D occupies four word devices. The instruction converts the data is converted as follows. b15 b0 b15 b7 b8 b0 1234  D + 0 D + 1 D + 2 If SM690 is OFF, the instruction stores the ending character 16#0000 in D +2.

If SM690 is ON, the value in D +2 is unchanged without the ending character. 6-626 API Instruction code Operand Function 2100 D BINDA P S, D Converting a signed decimal number into an ASCII code Device X Y M S T C HC D FR SM SR E K 16# “$” F S          D    BOOL WORD DWORD LWORD UINT INT DINT LINT REAL LREAL TMR CNT STRING Data type S      D    Pulse instruction 16-bit instruction 32-bit instruction ES3 ES3 ES3 16#32 16#31 16#34 16#33 16#00 16#00