732
8 APPLICATION INSTRUCTION
8.27 Logging Instructions
8.27
Logging Instructions
Setting trigger logging
LOGTRG
This instruction generates a trigger condition for the specified logging setting number in trigger logging.
Setting data
■
Descriptions, ranges, and data types
■
Applicable devices
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.
Operation error
Ladder diagram
Structured text
ENO:=LOGTRG(EN,s);
FBD/LD
Operand
Description
Range
Data type
Data type (label)
(s)
Logging setting number
1 to 4
16-bit signed binary
ANY16
EN
Execution condition
Bit
BOOL
ENO
Execution result
Bit
BOOL
Operand
Bit
Word
Double word Indirect
specification
Constant
Others
X, Y, M, L, SM,
F, B, SB, S
T, ST, C, D, W,
SD, SW, R
U
\G
Z
LC
LZ
K, H
E
$
(s)
• 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.
Error code
(SD0/SD8067)
Description
3405H
The value set in (s) is other than the following.
1
(s)
4
(s)
EN
ENO
s
Summary of Contents for MELSEC iQ-F FX5
Page 1: ...MELSEC iQ F FX5 Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 17: ...15 CONTENTS ...
Page 24: ...22 MEMO ...
Page 1050: ...1048 26 TIME DATA FUNCTIONS 26 4 Division MEMO ...
Page 1068: ...1066 29 COUNTER FUNCTION BLOCKS 29 4 Counter Function Block Operation error There is no error ...
Page 1107: ...I 1105 MEMO ...
Page 1111: ......