AH500 Programming Manual 3-38 Instruction code Pulse Classification API Function 16-bit 32-bit 64-bit instruction 0200 BCD DBCD ─ Converting the binary number into the binary-coded decimal number 2102 BCDDA DBCDDA ─ Converting the binary-coded decimal number into the ASCII code 1520 BCOS ─ ─ Cosine of the binary-coded decimal number 0201 BIN DBIN ─ Converting the binary-coded decimal number into the binary number 2100 BINDA DBINDA ─ Converting the singed decimal number into the ASCII code 2101 BINHA DBINHA ─ Converting the binary hexadecimal number into the hexadecimal ASCII code 0113 BK- ─ ─ Subtraction of binary numbers in blocks 0112 BK+ ─ ─ Addition of binary numbers in blocks 0214 BKBCD ─ ─ Converting the binary numbers in blocks into the binary-coded decimal numbers in blocks 0215 BKBIN ─ ─ Converting the binary numbers in blocks into the binary-coded decimal numbers in blocks 1220 BKRST ─ ─ Resetting the specified zone 0304 BMOV ─ ─ Transferring all data 1207 BON DBON ─ Checking the state of the bit 1302 BREAK ─ ─ Terminating the FOR-NEXT loop 1219 BRST ─ ─ Resetting the bit in the word device 1218 BSET ─ ─ Setting the bit in the word device to ON 1113 BSFL ─ ─ Shifting the states of the n bit devices by one bit to the left 1112 BSFR ─ ─ Shifting the states of the n bit devices by one bit to the right 1519 BSIN ─ ─ Sine of the binary-coded decimal number