Delta Electronics — 6.3.2 Explanation of Data Conversion Instructions

Chapter 6 Applied Instructions API 0215 Symbol S : Data source n : Data length D : Conversion result Explanation 6_ 1. The instruction converts n pieces of data (the binary-coded decimal values) starting from S into the binary values, and stores the conversion results in D . 2. The binary-coded decimal value in S must be between 0–9,999. 3. The operand n must be between 1 and 256. Example the conversion results in D4 and D5.

When M1 is ON, the instruction converts the binary-code decimal values in D0 and D1 into the binary values, and stores 6-105 Instruction code Operand Function BKBIN P S, n, D Converting binary numbers in blocks into binary-coded decimal numbers in blocks Device X Y M S T C HC D FR SM SR E K 16# “$” F S       n         D     BOOL WORD DWORD LWORD UINT INT DINT LINT REAL LREAL TMR CNT STRING Data type S    n    D    Pulse instruction 16-bit instruction 32-bit instruction AS AS -