1
1 The Festo_PartDetector.lib library
1.1 Overview
The PartDetector (PD) is a software module for CoDeSys 2.3 for the detection of conveyed parts on a
moving conveyor with the Festo Compact Vision System SBO...-Q.
The main tasks of the PartDetector are as follows:
–
Communicating with the SBO...-Q camera
–
Taking pictures and reading characteristic values
–
Preventing repeated sensing of a part
–
Communicating with the next module, which is responsible for management of the detected positions.
This module is called PartManager (PM); its library is not included in this documentation.
1.1.1 Architecture
The Festo_PartDetector.lib library contains the PartDetector functional module. This functional module can
be instantiated a number of times. You must ensure, however, that each Compact Vision System SBO...-Q
is activated by precisely one instance. Each instance must be accessed cyclically. A cycle time of 8 ms is
recommended.
The PartDetector uses the "Festo_CameraControl.lib" library for communication with SBO...-Q via Telnet.
The module uses the "IncEnc.lib" library to read encoder values from the latch of the encoder card.
The downstream PartManager is an application-specific CoDeSys module, which is responsible for data
preparation between the PartDetector and subsequent modules. This "PartManager" should preferably be
created by the user.
PartDetector
PartManager
Kinematic system
1.1.2 Configuration
The Compact Vision System SBO...-Q is connected to the PLC via Ethernet. A PartDetector instance runs
on the PLC. The digital output O2 of the internal I/O interface of the SBO...-Q is connected to the latch
input of the encoder card. The position values of the conveyor are transmitted to the controller via the
encoder card.
Figure: Positional sketch
Summary of Contents for CECX-X-C1 Series
Page 1: ...Manual Controller Modular CECX CECX X C1 CECX X M1 761886 1112c en ...
Page 2: ...1112c en ...
Page 4: ......
Page 6: ...1112c en ...
Page 7: ...CECX modular control system CECX modular control system ...
Page 46: ...CECX modular control system CECX I 38 ...
Page 47: ...System manual CECX ...
Page 48: ...CECX II ...
Page 56: ...Content System Manual CECX VIII ...
Page 58: ...System manual CECX Product design CECX II 0 2 ...
Page 68: ...System manual CECX Safety notes CECX II 2 6 ...
Page 76: ...System manual CECX System overview CECX II 3 8 ...
Page 84: ...System manual CECX General assembly and installation instructions CECX II 4 8 ...
Page 118: ...System manual CECX Operating behavior CECX II 8 6 ...
Page 122: ...System manual CECX Disposal CECX II 10 2 ...
Page 124: ...System manual CECX Technical data CECX II 11 2 ...
Page 166: ......
Page 180: ......
Page 212: ......
Page 232: ......
Page 248: ......
Page 260: ......
Page 278: ......
Page 294: ......
Page 308: ......
Page 412: ......
Page 426: ......
Page 500: ...System manual CECX Bus link module CECX B CO CECX II 34 64 ...
Page 501: ...The library Ethernet lib The library Ethernet lib ...
Page 505: ...The library EventData lib The library EventData lib ...
Page 511: ...The library IncEnc lib The library IncEnc lib ...
Page 517: ...The Festo_EasyIP lib library ...
Page 532: ......
Page 535: ...The library PLCService lib The library PLCService lib ...
Page 542: ...The library PLCService lib CECX VII 6 ...
Page 543: ...The library SysLibComEx lib The library SysLibComEx lib ...
Page 547: ...The Festo_Motion lib library ...
Page 584: ......
Page 585: ...The Festo_PartDetector lib library ...
Page 601: ...FED VipWin interface ...
Page 630: ......