145
CHAPTER 11 DATA LOGGING INSTRUCTIONS
11
11.1 Trigger Logging Set (Reset) (LOGTRG(R))
CHAPTER 11 DATA LOGGING INSTRUCTIONS
The following instructions are used for trigger logging.
11.1 Trigger Logging Set (Reset) (LOGTRG(R))
n: Data logging setting No. (BIN 16-bit)
(1) Function
(a) LOGTRG
• This instruction causes a trigger to occur for the data logging setting No.n when performing trigger logging.
• A value from 1 to 10 can be set to n.
• When this instruction is executed, the special relay (Data logging trigger) corresponding to the setting No.n
turns on. Trigger logging is performed until the specified number of records (after trigger) is reached. And
then, trigger logging is stopped after data latching.
• This instruction is valid when "When trigger instruction executed" is selected for trigger condition.
• The LOGTRG instruction is ignored in the following cases:
• An item other than "When trigger instruction executed" is selected as a trigger condition of
the specified data logging setting No.
• The specified data logging setting No. has no configuration.
• The specified data logging setting No. is performing continuous logging.
• The LOGTRG instruction is executed again without execution of the LOGTRGR instruction.
Instruction Description Reference
LOGTRG Trigger logging set
Causes a trigger to occur in trigger logging. Data sampled for the
number of records (specified in the trigger logging setting of the
programming tool) are stored in a data logging file.
Page 59, Section 6.3.3,
Page 145, Section 11.1
LOGTRGR Trigger logging reset Resets the trigger condition.
Setting data
Internal device
R, ZR
J\
U\G Zn
Constant
K, H
Others
Bit Word Bit Word
n- - -
Command
LOGTRG
LOGTRG n
Command
LOGTRGR
LOGTRGR n