AH500 Motion Control Module Manual 5-18 Instruction code Pulse Step Page Type API Function 16-bit 32-bit instruction 16-bit 32-bit number S 136 – DSINH Hyperbolic sine of a binary floating-point number – 6 5-102 173 – DSUBR Floating-point subtraction – 9 5-106 48 SQR DSQR Square root of a binary value 5 6 5-69 2 SRET – – Indicating that a subroutine ends 1 – 5-23 21 SUB DSUB Binary subtraction 7 9 5-40 43 SUM DSUM Number of bits which are ON 5 5 5-64 152 SWAP DSWAP Interchanging the high byte in a device with the low byte in the device 3 3 5-115 T 132 – DTAN Tangent of a binary floating-point number – 6 5-97 138 – DTANH Hyperbolic tangent of a binary floating-point number – 6 5-104 79 TO DTO Writing data into a control register in a special module 9 13 5-76 W 26 WAND DWAND Logical AND operation 7 9 5-45 07 WDT – Watchdog timer 1 – 5-25 27 WOR DWOR Logical OR operation 7 9 5-46 37 WSFL – Moving the values in word devices leftwards 9 – 5-57 36 WSFR – Moving the values in word devices rightwards 9 – 5-56 28 WXOR DWXOR Logical exclusive OR operation 7 9 5-47 X 17 XCH DXCH Interchanging values 5 9 5-35 Z 11 ZCP DZCP Zonal comparison 9 12 5-29 40 ZRST – Resetting a zone 5 – 5-60