Conveyor Properties

Read and Write Properties

The Conveyor properties that are editable through the Visual Logic Set Value editor are:

Accumulating

Toggles on and off the Allow Gaps check box.

Example:

Set Conveyor1.Accumulating = 1: checks the box
Set Conveyor1.Accumulating = 0: un-checks the box.

Allow Gaps

Toggles on and off the Allow Gaps check box.

Example:

Set Conveyor1.Allow Gaps = 1: checks the box.
Set Conveyor1.Allow Gaps = 0: un-checks the box.

Efficiency Repair Time

Sets the Repair time in Detailed Efficiency to a fixed value.

Example:

Set Conveyor1.Efficiency Repair Time = 5 (can also be a Global Data Item or Distribution)

Efficiency Work Time

Sets the Time Between Breakdowns in Detail Efficiency to a fixed value

Example:

Set Conveyor1.Efficiency Work Time = 100 (can also be a Global Data Item or Distribution)

Ignore Blocked Routes

Sets the Conveyor's Routing Out Property check box for. Ignore Blocked Routes to either Checked or not Checked.

Example:

Set Conveyor1.Ignore Blocked Routes = 1: checks the box
Set Conveyor1.Ignore Blocked Routes = 0: un-checks the box

Image

Sets the image used for the Conveyor to any image located in the Graphics, Images menu option.

Example:

Set Conveyor1.Image = "BlueB": where BlueB exists as an image. Note the Inverted Commas around the name of the image

Index

Sets the Index number of the Conveyor to a value other than the default value.

Example:

Set Conveyor1.Index = 5

Length

Changes the length of the Conveyor. The length will be in Distance Units (see Tools menu, Preferences, Distance option). This replaces any length parameter that has been set in the Conveyor Dialog.

Example:

Set Conveyor1.Length = 25: changes the length of the Conveyor to 25 units.

Load Space

Used with the Transport Plug-In to amend the side of Conveyor space allocated to loading items.

Example:

Set Conveyor1.Load Space = 5: sets the Load Space to 5 units

Name

Allows the name of the Conveyor to be changed or accessed.

Example:

Set Conveyor1.Name = "Change the Name": changes the name to whatever is inside the inverted commas
Set Var1 = Conveyor1.Name: sets a text Global Data Item to contain the name of the Conveyor

Results Collection Mode

Allows control over the collection of results for specific object through Visual Logic.

1 = Results Collection on 0 = Results Collection off

Example:

Set Conveyor 1.Results Collection Mode = 1

Selected

Sets whether the loader is selected onscreen or not.

1 = Selected
0 = Not selected

 Set Conveyor1.Selected = 0

Speed

Sets the Speed that the Conveyor runs at to a value. This replaces any speed parameter that has been set in the Conveyor Dialog.

Example:

Set Conveyor1.Speed = 10

Read Only Properties

Count Contents

Returns the number of Work Items currently located on the Conveyor.

Example:

Set Var1 = Conveyor1.Count Contents

In Count

Returns the number of incoming routes to the Conveyor.

Example:

Set Var1 = Conveyor1.In Count: Sets Var1 to the number routes that are connected to the Conveyor

Out Count Returns the number of Outgoing routes from the Conveyor.

Example:

Set Var1 = Conveyor1.Out Count: Sets Var1 to the number routes that are connected from the Conveyor

Ready Time

Returns the number of time units from now that an item is likely to reach the head of the Conveyor (“likely” because numerous things that could alter this value may occur; breakdowns, blockages etc.).

Example:

Set Var1 = Conveyor1.Ready Time

State

  • 0: Waiting
  • 1: Working
  • 2: Blocked
  • 3: Change Over
  • 4: Stopped
  • 5: Off Shift

The State property returns the current working state of the Conveyor

Example:

Set Var1 = Conveyor1.State

Unique ID

Gets Simul8's internal Unique Number that identifies every object - you can be sure it is different for all objects. It never changes once an object is in a simulation.

See Also