3 SPECIFICATIONS
Disconnection detection setting
Monitoring the operating status of the disconnection detection function
Reading the disconnection detection flags
Requesting the disconnection detection clear
3 - 18
(d) Program examples of using disconnection detection mode
1)
System configuration
The system configuration is the same as shown in "For Use in Normal
System Configuration". (Refer to Section 6.2 (1))
2)
Initial settings
• Disconnection detection enabled channels: CH1, CH2
• Arbitrarily setting mode: CH1 (disconnection detection setting value:
20% (0.8mA))
• Auto setting mode: CH2
3)
User devices
• Disconnection detection setting flag: M0
• Disconnection detection resetting flag: M1
• Disconnection detection active flag: M10, M11
• Disconnection detection flag: M20, M21
4)
Program example
Enabling the disconnection
detection function.
Setting the disconnection
detection mode.
CH1 disconnection detection
setting value.
Turning on Operating condition
setting request (Y9).
Turning off Operating condition
setting request (Y9).
Obtaining the disconnection
detection active flag.
Checking the disconnection
detected channels.
Processing for CH1
Processing for
disconnection detection.
disconnection detection.
Processing for CH2
Processing for
disconnection detection.
disconnection detection.
Turning ON the disconnection
detection clear request.
Clearing the information of
disconnection detected channels.
Turning OFF the disconnection
detection clear request.
MELSEC-Q
3 - 18