Perspective Reactive Design for Conveyor Layouts

There was interest expressed in this topic recently so I wanted to come back and add a bit more to this thread in case it can help someone out there. Will speak below about the direction we eventually went with conveyance layouts in Perspective.

The starting point is to have UDT's configured for the conveyor which presents the associated status bits in a predictable way. We have 1000's of conveyors so the UDT's are instantiated via scripting based on the vendor provided tag sheet (most data we work with is MODBUS). If anyone is interested in more details about how to instantiate UDT instances with scripting, let me know and we can start a separate thread.

UDT for a Conveyor

Then a straight conveyor is simply a label with certain properties, such as the color being linked to a style whose color represents the asset state.

Conveyor is Simply a Label

For curved conveyors, items from symbol factory are used. The color is still controlled with a style that is related to the status of the asset.

Curved Conveyors are from Symbol Factory

Conveyors can be rotated in the coordinate container using the angle property

The actual layout is then done in a coordinate container to allow the conveyors to be placed in physical relevance to each other. To make it flex the ratio option is selected on the coordinate container root and the aspect ratio controlled as follows:

Aspect Ratio Makes the Container Auto Adjust

CONCAT(
	{view.props.defaultSize.width},
	":",
	{view.props.defaultSize.height}
)

Example Conveyance Layout

Cheers,

Nick

2 Likes