Delta Electronics — 6.13.2 Explanation of Data Processing Instructions

AS Series Programming Manual Symbol S : Source data device D : Device where the conversion result is stored m : Conversion mode selection _6 n : The length of the data to be executed Explanation 1. The parameter m is for you to select a conversion mode from the following table. See the details on modes in the following sections. If the parameter value is not one of the values in the following table, there will be no data conversion or move and no error message.

6-390 API Instruction Operand Description 1226 DTM P S,D,m,n Data conversion and move Device X Y M S T C HC D FR SM SR E K 16# “$” F S      D     m    n    BOOL WORD DWORD LWORD UINT INT DINT LINT REAL LREAL TMR CNT STRING Data type S    D    m    n    Pulse Instruction 16-bit instruction 32-bit instruction AS AS - Parameter Description 0 8-bit data converted into 16-bit data (high 8 bits, low 8 bits) 1 8-bit data converted into 16-bit data (low 8 bits, high 8 bits) 2 16-bit data (high 8 bits, low 8 bits) converted into 8-bit data 3 16-bit data (low 8 bits, high 8 bits) converted into 8-bit data 4 8-bit hex data (high 4 bits, low 4 bits) converted into ASCII data 5 8-bit hex data (low 4 bits, high 4 bits) converted into ASCII data.

6 8-bit ASCII data converted into hex data (high 4 bits, low 4 bits).) 7 8-bit ASCII data converted into hex data (low 4 bits, high 4 bits). 42 Caculate the duration of 2-Axis relative-position clockwise arc interpolation