Download Print this page

Logging Instructions - Mitsubishi Electric MELSEC iQ-F FX5 Programming Manual

Instructions, standard functions/function blocks
Hide thumbs Also See for MELSEC iQ-F FX5:

Advertisement

8.27

Logging Instructions

Setting trigger logging
LOGTRG
This instruction generates a trigger condition for the specified logging setting number in trigger logging.
Ladder diagram
(s)
FBD/LD
EN
ENO
s
Setting data
■Descriptions, ranges, and data types
Operand
Description
(s)
Logging setting number
EN
Execution condition
ENO
Execution result
■Applicable devices
Operand
Bit
X, Y, M, L, SM,
F, B, SB, S
(s)
Processing details
• This instruction generates a trigger for trigger logging with the logging setting number specified by (s).
• Specify a value 1 to 4 in (s).
• The LOGTRG instruction turns on the special relay (logging trigger) with the logging setting number in the device specified
by (s) and executes trigger logging for the specified number of records.
• The instruction is enabled when "When trigger instruction executed" is selected in the "Trigger condition".
• Even if the LOGTRG instruction is executed, no processing is performed in the following cases.
• A logging setting number in which an item other than "When trigger instruction executed" is selected in the "Trigger condition" is specified.
• A logging setting number with no setting is specified.
• A logging setting number specifying the execution of continuous logging is specified.
• Another LOGTRG instruction is executed without executing the LOGTRGR instruction after a LOGTRG instruction was executed once.
Operation error
Error code
Description
(SD0/SD8067)
3405H
The value set in (s) is other than the following.
1(s)4
8 APPLICATION INSTRUCTION
732
8.27 Logging Instructions
Word
T, ST, C, D, W,
U\G
SD, SW, R
Structured text
ENO:=LOGTRG(EN,s);
Range
1 to 4
Double word Indirect
specification
Z
LC
LZ
Data type
Data type (label)
16-bit signed binary
ANY16
Bit
BOOL
Bit
BOOL
Constant
K, H
E
$
Others

Hide quick links:

Advertisement

loading