|IN||VW, T, C, IW, QW, MW, SMW, AC, LW, AIW, Constant, *VD, *AC, SW, *LD||WORD|
|OUT||VB, IB, QB, MB, SMB, LB, AC, *VD, *AC, SB, *LD||BYTE|
|Memory Ranges||ENO||Errors||Instruction Support for S7-200 CPUs||SIMATIC/International Mnemonics|
|The Encode instruction writes the bit number of the least significant bit set of the input word (IN) into the least significant "nibble" (4 bits) of the output byte (OUT).
Error Conditions that Set ENO = 0:
0006 (indirect address), SM4.3 (run-time)