This section executes the mobile action delay time and resets the positioning start bit New_Setpoint.
Illustration of the Application Section
The section below is part of the MAST task. It has no condition defined for it so is permanently executed:
Description of the Application Section
-
The first line is used to simulate the action time once the mobile is at the target position. When the Mobile_Action step is active, a TON timer is triggered. When the PT time is reached, the TON output switches to ‘1’, validate the transition variable Operation_done and set the Ready_for_stop variable.
-
The second line resets the variable New_Setpoint on the Target_reached positive transition.
Procedure for Creating an LD Section
The table below describes the procedure for creating part of the Application section.
Step
|
Action
|
1
|
In Project Browser\Program\Tasks, double-click on MAST.
|
2
|
Right click on Section then select New section. Name this section Application, then select the language type LD.
The edit window opens.
|
3
|
To create the contact Action_Mobile.x, click on  then place it in the editor.
Double-click on this contact then enter the name of the step with the suffix ".x" at the end (signifying a step of an SFC section).
Confirm with OK.
|
4
|
To use the TON block you must instantiate it. Right click in the editor then click on Data Selection and on  . Click on the Function and Function Block Types tab. Click on Libset, select the TON block in the list then confirm with OK and position your block.
To link the Action_Mobile.x contact to the Input of the TON function block, align the contact and the input horizontally, click on  and position the link between the contact and the input.
|
NOTE: For more information on creating an LD section, refer to chapter
LD Editor.