modelTurnTable

Table which turns the track

Extends from Task.

Parameters

TypeNameDefaultDescription
Stringprocessor (from Task)""The processor that will execute the task
Stringcontainer (from Task)""The task in which the controller will run
Integerpriority (from Task)1Priority of the task
RealsampleTime (from Task)0.01Sample time of the task
Realphase (from Task)0Phase of the task
RealtransportLength2*100Length of the track in pixels
RealtransportTime4Desired time to travel through table length
RealcarLength286Length of the car

Connectors

TypeNameDefaultDescription
Modelica_StateGraph2.Examples.Applications.ProductionLine.Internal.Connectors.TableComNexttableComNext
Modelica_StateGraph2.Examples.Applications.ProductionLine.Internal.Connectors.TableComPrevtableComPrev

Components

TypeNameDefaultDescription
RealposCurrent position of the car
RealnewPointsCoordinates for animation of the car
Realrectangle1Coordinates for animation of bottom track rectangle
Realrectangle2Coordinates for animation of top track rectangle
BooleancarInPositionSignal that car is in position
Modelica.Blocks.Sources.BooleanExpressionPrev_Ready
Modelica.Blocks.Sources.BooleanExpressionNext_Idle
Modelica.Blocks.Sources.BooleanExpressionNext_Transport
Modelica.Blocks.Sources.BooleanExpressionRobot_WorkDone
Modelica.Blocks.Sources.BooleanExpressionCarInPosition
Modelica.Blocks.Logical.NotNot
Modelica_StateGraph2.StepInTransport
Modelica_StateGraph2.Transitionlimit_switch
Modelica_StateGraph2.Transitionprev_ready
Modelica_StateGraph2.StepEmpty
Modelica_StateGraph2.Transitionprev_receive
Modelica_StateGraph2.StepOccupied
Modelica_StateGraph2.Transitionrobot_work_done
Modelica_StateGraph2.StepWaiting
Modelica_StateGraph2.Transitionnext_idle
Modelica_StateGraph2.Transitionnext_remove
Modelica_StateGraph2.StepOutTransport
Modelica_StateGraph2.Transitionnext_transport