Step
|
Action
|
---|---|
1
|
In Project browser / Variables & FB instances, double-click on Elementary variables
|
2
|
In the Data editor window, select the box in the Name column and enter a name for your first variable.
|
3
|
Now select a Type for this variable.
|
4
|
Declare all the variables as said then close the window.
|
Variable
|
Type
|
Definition
|
---|---|---|
Abort
|
BYTE
|
BufferMode parameter (value = 0)
|
ApproachInProgress
|
BOOL
|
Approach in progress
|
BlendingPrevious
|
BYTE
|
BufferMode parameter (value = 2)
|
Buffered
|
BYTE
|
BufferMode parameter (value = 1)
|
BufferFree
|
BOOL
|
|
Cmd0Nb
|
BYTE
|
1st command output number
|
Cmd1Nb
|
BYTE
|
2nd command output number
|
Cmd2Nb
|
BYTE
|
3rd command output number
|
Cmd3Nb
|
BYTE
|
4th command output number
|
InitProcess
|
BOOL
|
Process initialisation
|
ItemToSort
|
BOOL
|
Item to sort detection
|