Mitsubishi MELSEC-L series Programming Manual page 381

Hide thumbs Also See for MELSEC-L series:
Table of Contents

Advertisement

Function
LOGTRG
(1) The LOGTRG instruction generates a trigger in the trigger logging of the data logging
configuration number specified by 'n'.
(2) A value from 1 to 10 is set for 'n'.
(3) When the LOGTRG instruction is executed, the special relay (data logging trigger) of the
data logging configuration number specified by 'n' turns ON. After executing the trigger
logging for the number of times set for "Number of records", the instruction latches the data
and stops the trigger logging.
(4) Validated when "When trigger instruction executed" is selected as the trigger condition.
(5) No processing is performed with the following condition.
• Specifying a data logging configuration number for which other than "When trigger
instruction executed" is specified as the trigger condition.
• Specifying a data logging configuration number which is not configured.
• Specifying a data logging configuration number which is currently used for continuous
logging.
• Executing the LOGTRG instruction again without executing the LOGTRGR instruction
after the LOGTRG instruction.
LOGTRGR
(1) The LOGTRGR instruction resets the LOGTRG instruction of the specified data logging
configuration number.
(2) When the LOGTRGR instruction is executed, the special relay (data logging trigger, trigger
logging complete) of the data logging configuration number specified by 'n' turns OFF.
(3) When the instruction is executed while transferring data in the buffer memory to the SD
memory card, the instruction process is held until data transfer is complete.
Operation Error
In the following case, an operation error occurs, the error flag (SM0) is turned ON, and the
corresponding error code is stored to SD0.
• The value for n is outside the range of 1 to 10
9.1 LOGTRG Instruction, LOGTRGR Instruction
LOGTRG
(Error code: 4100)
9-3
9

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec-q series

Table of Contents