Decode Convert

Inputs/Outputs Operands Data Types
IN VB, IB, QB, MB, SMB, LB, SB, AC, Constant, *VD, *AC, *LD BYTE
OUT VW, IW, QW, MW, SMW, LW, SW, AQW, T, C, AC, *VD, *AC, *LD WORD

Memory Ranges ENO Errors Instruction Support for S7-200 CPUs SIMATIC/International Mnemonics
The Decode instruction sets the bit in the output word (OUT) that corresponds to the bit number represented by the least significant "nibble" (4 bits) of the input byte (IN). All other bits of the output word are set to 0.

Error Conditions that Set ENO = 0:

0006 (indirect address), SM4.3 (run-time)