04_adding_a_sensor

Views:
 
     
 

Presentation Description

No description available.

Comments

Presentation Transcript

Adding a Sensor : 

The following slides show how to add a sensor to your existing conveyor components. Once complete, we will add the new component to your existing layout to see the sensor in action. Adding a Sensor

Adding a Sensor : 

There are five steps in this process 1) Add frames that will serve as the location 2) Create a Signal Behavior 3) Create a Sensor Behavior 4) Add the Sensor to the Conveyor path 5) Update our sample layout with the new conveyor component Adding a Sensor

Adding a Sensor : 

Use the eCat to drag in a copy of your Conveyor from the My Components folder. Click on the Create tab and the Geometry sub-tab We are going to create new frames that will serve as the location for the sensor. Adding a Sensor

Adding a Sensor : 

We will be using this sensor to detect the leading edge and trailing edge of our box Create two frames called “Lead” and “Trail” Next, we will place them using a Transform and the ConvLength Parameter. Adding a Sensor

Adding a Sensor : 

Create a new transform called “CenterMe” with the formula shown above. Drag the Lead and Trail frames into this Transform. You should see them in the center of your conveyor Adding a Sensor

Adding a Sensor : 

We cannot have two frames located in exactly the same spot. Create another transform called “MoveABit” and drag the “Trail” Frame inside of it as shown above. Notice how we can “nest” transforms. Adding a Sensor

Adding a Sensor : 

Next we need to add a Boolean Signal that this sensor will change. Go to the Behavior Sub-Tab and choose the Boolean Signal as shown The default values for the dialog are fine for our purposes. Adding a Sensor

Adding a Sensor : 

Next we need to add a Boolean Signal that this sensor will change. Go to the Behavior Sub-Tab and choose the Boolean Signal as shown The default values for the dialog are fine for our purposes. Adding a Sensor

Adding a Sensor : 

Now we need to create two sensors to detect the front and rear of the box Pick the “Path Sensor” behavior as shown. Set the values as shown in te bottom picture on the left. Notice we are setting the detection to “Leading Edge” and the SignalValue to “True” Adding a Sensor

Adding a Sensor : 

Now we need to create two sensors to detect the front and rear of the box Pick the “Path Sensor” behavior as shown. Set the values as shown in te bottom picture on the left. Notice we are setting the detection to “Leading Edge” and the SignalValue to “True” Adding a Sensor

Adding a Sensor : 

Create a second Path Sensor called TrailSensor. Notice the Detection is set to Trailing Edge and the SignalValue is set to False. This sensor will turn off the signal (i.e. – set it to False) Adding a Sensor

Adding a Sensor : 

Now that we have the frames and sensors, we need to add them to the conveyor path Double-click on the conveyor behavior We need to add sensors and update the route. Click on the Sensor ellipse as shown to the left. Adding a Sensor

Adding a Sensor : 

Use the Add button to add the LeadSensor and TrailSensor. Order does not matter. Next – Use the Route ellipse to call up the Route dialog Add the Lead and Trail Frames (order DOES matter) Use the Move Up and Move Down buttons to get the proper order. Adding a Sensor

Adding a Sensor : 

Save the Conveyor. Use the “Save Component As” selection as shown to the left Pick a NEW name for the component Make sure it’s a new VCID Adding a Sensor

Adding a Sensor : 

Now let’s add this conveyor to our layout. Call up the saved layout with three conveyors from your eCat Delete the center conveyor by selecting it and hitting the Delete button Drag the new conveyor into the layout and snap it into place Adding a Sensor

Adding a Sensor : 

Run the layout. You should see the Status of the Boolean signal change from False to True and back to False as each box passes the center of the second conveyor. Save the layout under a new name. Adding a Sensor