Mitsubishi MELSEC Q series User Manual page 178

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

Advertisement

Different data logging file names can be used for each specification period when this instruction is used with specification
period logging (Page 61, Section 6.3.3). By executing the instruction before the conditions of the specification period are
met, a character string specified as the data logging file name of the data sampled during the specification period can be
added.
<Operation of the specification period logging>
Logging start
Data collection period: M0
Data collection timing: Each
scanning cycle
File names with no
additional string
When the SP.LOGFILES instruction is simultaneously used
When the SP.LOGFILES instruction is simultaneously used
The instruction is
executed at the start
of data logging.
ON
"ABC"
• This instruction is enabled when registered data logging setting No. is used and before the conditions are
*1
met
. When unregistered data logging setting No. is used or the instruction is executed after the conditions
*1
are met
status) is turned on, and a character string cannot be added. SD711 is turned off when the instruction is
executed and turned on when an error occurs. (SD711 remains off in a normal state.)
SD711
*1
"Before the conditions are met" refers to the following:
• When continuous logging is selected: Before the data sampling period
• When trigger logging is selected: Before the trigger conditions are met
• When specification period logging is selected: Before the conditions of the specification period are met
• The bit corresponding to the target setting No. of SD712 (data logging file name addition instruction next
execution enable/disable status) is turned on when the execution of the instruction is accepted in the system
at the time of the execution of the instruction. The bit corresponding to the target setting No. is turned off
when the first stack file is created. When the instruction is executed again after the execution of the
instruction in a state where a character string is not added to the file name by the instruction, 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 cannot be added. It is thus recommended to execute the instruction when
the bit corresponding to the target setting No. of SD712 is off. (Page 177, Section 11.3 (4)) When 0
characters (null character) are specified, specification by the instruction is disabled, and the bit
corresponding to the setting No. of SD712 is turned off. A character string can thus be added by the
subsequently executed instruction.
SD712
176
ON
Period Ò
(Saved files
(Saved files
00000001.CSV
00000002.CSV
The instruction is
executed when M0
turns off.
ABC_00000001.CSV
ABC_00000002.CSV
, the bit corresponding to the setting No. of SD711 (data logging file name addition instruction error
b9
b8
b7
b6
b5
b9
b8
b7
b6
b5
ON
Period Ó
OFF
00000003.CSV
00000003.CSV
The instruction is
executed when M0
ON
turns off.
"DEF"
ABC_00000003.CSV
b0: Setting No.1 (0: No error, 1: Error occurs)
b4
b3
b2
b1
b0
b1: Setting No.2 (0: No error, 1: Error occurs)
b9: Setting No.10 (0: No error, 1: Error occurs)
b0: Setting No.1 (0: Execution enabled, 1: Execution disabled)
b4
b3
b2
b1
b0
b1: Setting No.2 (0: Execution enabled, 1: Execution disabled)
b9: Setting No.10 (0: Execution enabled, 1: Execution disabled)
ON
Period Ô
OFF
00000004.CSV
00000004.CSV
00000005.CSV
00000005.CSV
The instruction is
executed when M0
ON
turns off.
ON
"GHI"
"JKL"
DEF_00000004.CSV
GHI_00000005.CSV
OFF
)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents