Mitsubishi — 5.1 Table of Applied Instructions

AH500 Motion Control Module Manual 5-4 Instruction code Model Step Pulse Page Type API Function 10PM/ 16-bit 32-bit instruction 20MC 05PM 16-bit 32-bit number 15PM Arithmetic 24 INC DINC  Adding one to a binary number    3 3 5-43 25 DEC DDEC  Subtracting one from a binary number    3 3 5-44 26 WAND DWAND  Logical AND operation    7 9 5-45 27 WOR DWOR  Logical OR operation    7 9 5-46 28 WXOR DWXOR  Logical exclusive OR operation    7 9 5-47 29 NEG DNEG  Taking the two’s complement of a number    3 3 5-48 Rotation and move 30 ROR DROR  Rotating bits rightwards    5 6 5-50 31 ROL DROL  Rotating bits leftwards    5 6 5-51 32 RCR DRCR  Rotating bits rightwards with a carry flag    5 6 5-52 33 RCL DRCL  Rotating bits leftwards with a carry flag    5 6 5-53 34 SFTR –  Moving the states of bit devices rightwards    9 – 5-54 35 SFTL –  Moving the states of bit devices leftwards    9 – 5-55 36 WSFR –  Moving the values in word devices rightwards    9 – 5-56 37 WSFL –  Moving the values in word devices leftwards    9 – 5-57 38 SFWR –  Moving a value and writing it into a word device    7 – 5-58 39 SFRD –  Moving a value and reading it from a word device    7 – 5-59