Mitsubishi Electric MELSEC Q Series User Manual page 436

Programmabale web server module
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

8 DEDICATED INSTRUCTION
[Operation at execution of TAG instruction]
Error
Program example
8 - 18
(5)
The execution and normal/abnormal completion statuses of the TAG 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 TAG
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 TAG
instruction.
Normally completed
Abnormally completed : Turns on in the END processing of the scan
When the TAG instruction is completion, 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
TAG 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 collects the data of the tags set in (S)+2 to (S)+5 when M22 is turned
on.
: Remains off.
where the TAG instruction is completed, and
turns off in the next END processing.
END
Scan
Scan
processing
Instruction execution
OFF
OFF
Tag collection command
Normal processing
Abnormal processing
MELSEC-Q
END
END
Scan
processing
processing
ON
ON
When abnormally completed
Collects tag data of tag
setting No. 1, 2, 7
8 - 18

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec qj71ws96

Table of Contents