Mitsubishi Electric MELSENSOR VS70 Series Setting Manual / Spreadsheet page 129

Fa sensor
Hide thumbs Also See for MELSENSOR VS70 Series:
Table of Contents

Advertisement

■Sample program (master side)
• Display content of spreadsheet
(1)
(2)
(4)
(6)
• Program contents
(1) A0: AcquireImage (...)
(2) A4: OCRMax (...)
(3) B4: GetString ($A$4)
(4) A8: ReadResult ($A$0, "Slave," 1000)
(5) B8: GetResult ($A$8, 0)
(6) A12: Exact (B4, B8)
■Program description (master side)
(1) The sensor is set as the master in the AcquireImage function property sheet.
Set the following parameters.
• "Master": ON (select the checkbox)
• "Master Name": An arbitrary network trigger name
* Use the network trigger name which is set in the property sheet, in a slave side. In this example, "master" is set.
(2) Use the OCRMax function to recognize characters within a specified region.
(3) Use the GetString function to acquire characters recognized in OCRMax function.
(4) Use the ReadResult function to read information on the slave side.
(3)
(5)
APPX
Appendix 1 Sample Program
A
127

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents