546
Conversion Instructions Section 3-12
Applicable Program Areas
Operand Specifications
Description NUM16(606) converts the 16 characters of ASCII data in S to S+7 to numeri-
cal data (4-digit hexadecimal) and writes the result to D and D+3.
The Error Flag will be turned ON if the ASCII data contains any characters
that are not hexadecimal digits. In this case, the instruction will not be exe-
cuted.
Function block
definitions
Block program
areas
Step program
areas
Subroutines Interrupt
tasks
OK OK OK OK OK
Area S D
CIO Area CIO 0000 to CIO 6136 CIO 0000 to CIO 6140
Work Area W000 to W504 W000 to W508
Holding Bit Area H000 to H504 H000 to H508
Auxiliary Bit Area A448 to A952 A448 to A956
Timer Area T0000 to T4088 T0000 to T4092
Counter Area C0000 to C4088 C0000 to C4092
DM Area D00000 to D32760 D00000 to D32764
EM Area without bank E00000 to E32760 E00000 to E32764
EM Area with bank En_00000 to En_32760
(n = 0 to C)
En_00000 to En_32764
(n = 0 to C)
Indirect DM/EM
addresses in binary
@ D00000 to @ D32767
@ E00000 to @ E32767
@ En_00000 to @ En_32767
(n = 0 to C)
Indirect DM/EM
addresses in BCD
*D00000 to *D32767
*E00000 to *E32767
*En_00000 to *En_32767
(n = 0 to C)
Constants --- ---
Data Registers --- ---
Index Registers ---
Indirect addressing
using Index Registers
,IR0 to ,IR15
–2048 to +2047 ,IR0 to –2048 to +2047 ,IR15
DR0 to DR15, IR0 to IR15
,IR0+(++) to ,IR15+(++)
,–(– –)IR0 to, –(– –)IR15