6-4
168542-1CD
168542-1CD
MLX200 Software and
Operations
6 Conveyor Tracking
6.3 Configuring Conveyor Tracking
6.3 Configuring Conveyor Tracking
To run Conveyor Tracking, the MLX Conveyor Task will need to be
imported and then scheduled inside the MLX_Task. The MLX Conveyor
Task should be scheduled to run before the MLX200 Communications
Task as shown on the right side of Fig.6-4 "Importing and Scheduling the
Conveyor Task".
Fig. 6-4: Importing and Scheduling the Conveyor Task
After importing the Conveyor Task,
several new tags will show up in the
Control Module Scope tags. These
tags will have the prefix “Conveyor0”
for the first conveyor, “Conveyor1” for
the second conveyor, etc… These tags
will need to be aligned/linked to the
proper HW devices that are being used
for reading/latching the conveyor
position. Table 6-1 "Control Module-Scope Conveyor Tag Descriptions"
shows a brief introduction to what each of these tags means. Section 6.4
“1756-HSC Counter Card Configuration” on page 6-6 will provide an
example of setting on a 1756 HSC Counter card for ControlLogix. A
similar procedure can be followed for other devices.
Table 6-1: Control Module-Scope Conveyor Tag Descriptions
Failure to set up the Conveyor Tags correctly can lead to unexpected
behavior during conveyor tracking.
Tag Name Input/
Output
Description
Conveyor0_CameraState Input This bit should turn on when an
object is in front of the camera.
Conveyor0_NewData Input This bit should turn on when a new
object has passed by the camera and
stay on until the ResetNewData
signal is sent
Conveyor0_ResetCounter Output Turning this bit on should reset the
counter card position to 0.
Conveyor0_ResetNewData Output Turning this bit on will reset the
NewData flag (used internally to tell
the counter that the current object
has been processed and queued).
Fig. 6-5: Control Module-Scope
Conveyor Tags