Mitsubishi Electric VS20M-11F310 Connection Manual page 56

Melsensor, fa sensor, vision sensor
Hide thumbs Also See for VS20M-11F310:
Table of Contents

Advertisement

Creating a program
Create a program to control a vision sensor using the devices set in In-Sight Explorer.
■Devices used in the program
Signal
Signal name
D1002.0
Trigger Ready
D1002.1
Trigger Ack
D1002.7
Online
D1002.9
Inspection Completed
D1000.0
Trigger Enable
D1000.1
Trigger
M0
Online command
M1
Trigger directive
■Program example
M0
D1002.7
(0)
M1
D1002.0
(3)
D1002.1
D1002.9
(8)
D1002.9
(16)
(0): Enable a trigger on the vision sensor.
(3): Request the start of the image capture to the vision sensor. ('Trigger' (D1000.1) turns ON.)
(8): The processing for the completion of the image capture of the vision sensor is performed.
Precautions
Use 'Trigger Ack' (D1002.1) to set an interlock when checking 'Inspection Completed' (D1002.9).
2 SLMP SCANNER CONNECTION
54
2.4 Setting a Programmable Controller
Description
The reception status of 'Trigger Enable' (D1000.0) is stored.
• ON: Trigger is enabled.
• OFF: Trigger is disabled.
The reception status of 'Trigger' (D1000.1) is stored.
• ON: With trigger
• OFF: Without trigger
The online status of a vision sensor is stored.
• ON: Online
• OFF: Offline
This signal is changed (toggled) at the completion of an inspection of a vision sensor.
'Trigger' (D1000.1) is enabled while this signal is ON.
By turning this signal OFF and ON, an image capture is started.
'Trigger Enable' (D1000.0) turns ON to make a vision sensor online while this signal is ON.
By turning this signal OFF and ON, 'Trigger' (D1000.1) is turned ON, and an image capture is performed.
D1002.1
D1000.1
D1000.0
SET
D1000.1
RST
D1000.1
RST
M1
END

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents