Delta Electronics — 6.13.2 Explanation of Data Processing Instructions

Chapter 6 Applied Instructions Symbol S : Source device D : Device where the seven-segment data is stored Explanation The instruction decodes the values of the lower four bits (b0–b3) in the source device specified by S as the seven-segment data stored in D . 6_ Example When X0.0 is ON, the instruction decodes the values of b0–b3 in D0 as the seven-segment data stored in Y0.0–Y0.15. If the data in the source device exceeds four bits, the instruction decodes the values of the lower four bits.

6-347 API Instruction code Operand Function 1204 SEGD P S, D Seven-segment decoding 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 AS AS -