Mitsubishi MELSEC iQ-F FX5 series Programming Manual page 379

Melsec iq-f fx5 series
Hide thumbs Also See for MELSEC iQ-F FX5 series:
Table of Contents

Advertisement

Precautions
• When outputting data in the BCD format for a printer, for example, it is necessary to convert binary data into BCD data
before executing the ASCI(P) instructions.
• Whether NULL (00H) is stored after the last character or not depends on the ON/OFF status of the output character number
selector signal SM701. When SM701 is off, NULL (00H) is stored. When SM701 is on, the original data remains.
• Depending on the ON/OFF status of SM701 and SM8161, the number of devices occupied by (d) differs.
SM701
ON
ON
OFF
OFF
• When RS2, HEX, or CCD is used, the extension flag SM8161 is common to other instructions. When using an instruction
described above and the ASCI(P) instructions in the same program, make sure to set SM8161 to ON or OFF just before
each instruction so that SM8161 does not apply to another instruction.
Operation error
Error code
Description
(SD0/SD8067)
2820
The device specified by (s) or (d) exceeds the corresponding device range.
3405
The value specified by (s) is other than any of 1 to 32767.
SM8161
ON
OFF
ON
OFF
Number of devices occupied by (d)
Number of letters
Number of letters  2
Number of letters  1
(Number of letters  2) + 1
7 APPLICATION INSTRUCTION
7.6 Character string operation instruction
7
377

Advertisement

Table of Contents
loading

Table of Contents