Download  Print this page

Mitsubishi Electric FX5 User Manual Page 201

Melsec iq-f series.
Hide thumbs

Advertisement

When the send/receive data monitoring function is used, add a program as follows.
Program example
Monitor start
trigger
Monitoring
X21
M21
Monitor start
M20
= SD9240 H2
= SD9240 H100F
Option
specification
Monitoring
X22
M21
Monitoring
M21
= SD9240 H1002
Monitor stop
Monitoring
X23
M21
Monitor
stopping
M22
= SD9240 H1002
Device
Description
X21
Monitor start trigger
X22
Option specification trigger
X23
Monitor stop trigger
M20
Monitor start contact
M21
Monitoring contact
M22
Monitor stopping contact
R0 to R3329
Monitor data area
FMOV
K0
R0
H0D00
MOV
H1
SD9240
SET
M20
RST
M20
SET
M21
RST
M20
MOV
H1
SD9241
RST
M21
MOV
H0
SD9240
SET
M22
RST
M22
RST
M21
Device
Description
SD9240
Send/receive data monitoring function setting (CH2)
SD9241
Send/receive data monitoring function option setting
(CH2)
• Data area full stop specification: Monitor stop
• Packet stop specification: 1-packet stop specification
SD9242
Monitoring data device specification (CH2)
• Monitoring data device: R device
SD9243
Monitoring data start device No. specification (CH2)
• Monitoring data start device No.: 0
SD9244
Monitoring data size specification (CH2)
• Monitoring data size: D00H (=3328)
6 PREDEFINED PROTOCOL SUPPORT FUNCTION
Monitor start
0 clear Monitor data.
Monitor start instruction
Turn on "Monitoring"
when the monitoring starts.
Monitoring setting error is
detected.
Monitoring is suspended.
Option specification
Data area full stop specification
Monitoring stops automatically
when the number of monitor data
size is larger than the specified
one.
Monitor stop instruction
Monitor stop instruction
Turn off each contact when
the monitoring stops.
199
6.8 Programming
6

Advertisement

Table of Contents

Comments to this Manuals

Symbols: 0
Latest comments: