Mitsubishi MELSEC Q series User Manual page 179

Programmable controller
Hide thumbs Also See for MELSEC Q series:
Table of Contents

Advertisement

(2) Error
In the following case, an operation error occurs. SM0 (error flag) turns on, and an error code is stored into SD0.
• When n is other than 1 to 10 (Error code: 4100)
• When the data logging file name length with character string S added exceeds 48 characters (Error code:
4100)
• When character string S exceeds 8 characters (Error code: 4100)
• When an unusable character is included in character string S (Error code: 4100)
(3) Precautions
• To add another character string (to enable the instruction again) after the execution of the instruction,
execute the instruction specifying a null character to void the character string that was set last time, and
execute the instruction specifying another character string. When the instruction specifying a null character
is not executed, the bit corresponding to the target setting No. of SD711 (data logging file name addition
instruction error status) is turned on, and the character string added cannot be changed.
• When the registration is executed by writing the data logging setting of the target setting No. after the
instruction is executed, addition of a character string by this instruction is disabled. (The bits corresponding
to the target setting No. of SD710 to SD712 are turned off.) Therefore, execute the instruction again when
adding a character string.
(4) Program example
The following figure shows an example of the program to add a character string "ABC" stored in D0 or later to the
data logging file name of the data logging setting No.1 when M0 turns on.
CHAPTER 11 DATA LOGGING INSTRUCTIONS
11
177

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents