Mitsubishi MELSEC-Q Series User Manual page 409

Web server module
Hide thumbs Also See for MELSEC-Q Series:
Table of Contents

Advertisement

8 DEDICATED INSTRUCTION
[Operation at execution of LOG instruction]
Error
Program example
8 - 21
(5)
The execution and normal/abnormal completion statuses of the LOG instruction
can be confirmed using the completion device ((D) + 0) and completion status
indication flag ((D) + 1).
(a)
Completion device ((D) + 0)
This device turns on in the END processing of the scan for which the LOG
instruction is completed, and turns off in the next END processing.
(b)
Completion status indication flag ((D) + 1)
This device turns on/off according to the completion status of the LOG
instruction.
Normally completed
Abnormally completed : Turns on in the END processing of the scan
When the LOG instruction is completed, the completion device (bit device) set in ((D) +
0) turns on in the END processing of the completed scan, and turns off in the next END
processing.
When an error occurs, the completion device set in ((D) + 1) turns on and an error
code is stored into the completion status (word device) set in ((S) + 1).
Sequence program
LOG instruction
Completion device
Completion device +1
When the dedicated instruction is abnormally completed, the abnormal completion
signal ((D)+1) turns on and a corresponding error code is stored into the completion
status ((S)+1).
Check the error status according to the error code and take corrective action.
Refer to Section 9.3 for the error code.
Program with which the Web server module mounted in the position of I/O numbers
X/Y00 to X/Y1F logs one record of the logging data set in (S)+2 to (S)+5 when M23 is
turned on.
: Remains off.
where the LOG instruction is completed, and
turns off in the next END processing.
END
Scan
Scan
processing
Instruction execution
Logging command
Normal processing
Abnormal processing
MELSEC-Q
END
END
Scan
processing
processing
When abnormally completed
Executes logging setting
No.1, 2, 7.
8 - 21

Advertisement

Table of Contents
loading

Table of Contents