|
Index |
Sub Index |
Name |
Data Type |
Acc. |
Pdo Map. |
NVM |
Value range |
Function brief |
|---|---|---|---|---|---|---|---|---|
|
0x2C02 |
0x01 |
Do if i/o is "Off" |
INT32 |
WO |
No |
No |
INT32 |
|
|
0x2C02 |
0x02 |
Do if i/o is "On" |
INT32 |
WO |
No |
No |
INT32 |
|
|
0x2C02 |
0x03 |
End program |
INT32 |
WO |
No |
No |
INT32 |
|
|
0x2C02 |
0x04 |
If accumulator is below value |
INT32 |
WO |
No |
No |
INT32 |
If ACCUM < constant |
|
0x2C02 |
0x05 |
If accumulator is higher value |
INT32 |
WO |
No |
No |
INT32 |
If ACCUM > constant |
|
0x2C02 |
0x06 |
If accumulator is equal value |
INT32 |
WO |
No |
No |
INT32 |
If ACCUM = constant |
|
0x2C02 |
0x07 |
If accumulator is unequal value |
INT32 |
WO |
No |
No |
INT32 |
If ACCUM <> constant |
|
0x2C02 |
0x08 |
If i/o is "Off" |
INT32 |
WO |
No |
No |
INT32 |
|
|
0x2C02 |
0x09 |
If i/o is "On" |
INT32 |
WO |
No |
No |
INT32 |
|
|
0x2C02 |
0x0A |
If bit of accumulator is set |
INT32 |
WO |
No |
No |
INT32 |
If bit of ACCUM = 1 |
|
0x2C02 |
0x0B |
If bit of accumulator is clear |
INT32 |
WO |
No |
No |
INT32 |
If bit of ACCUM = 0 |
|
0x2C02 |
0x0C |
Repeat |
INT32 |
WO |
No |
No |
INT32 |
|
|
0x2C02 |
0x0D |
Wait (milliseconds) |
INT32 |
WO |
No |
No |
INT32 |
|
|
0x2C02 |
0x0E |
Wait for Index |
INT32 |
WO |
No |
No |
INT32 |
|
|
0x2C02 |
0x0F |
Wait for i/o to be "Off" |
INT32 |
WO |
No |
No |
INT32 |
|
|
0x2C02 |
0x10 |
Wait for i/o to be "On" |
INT32 |
WO |
No |
No |
INT32 |
|
|
0x2C02 |
0x11 |
If analog is below |
INT32 |
WO |
No |
No |
INT32 |
If ANALOG1 < constant |
|
0x2C02 |
0x12 |
If analog is higher |
INT32 |
WO |
No |
No |
INT32 |
If ANALOG1 > constant |
|
0x2C02 |
0x13 |
If accumulator is below register |
INT32 |
WO |
No |
No |
INT32 |
If ACCUM < register |
|
0x2C02 |
0x14 |
If accumulator is higher register |
INT32 |
WO |
No |
No |
INT32 |
If ACCUM > register |
|
0x2C02 |
0x15 |
If accumulator is equal register |
INT32 |
WO |
No |
No |
INT32 |
If ACCUM = register |
|
0x2C02 |
0x16 |
If accumulator is unequal register |
INT32 |
WO |
No |
No |
INT32 |
If ACCUM <> register |
|
0x2C02 |
0x17 |
Wait (milliseconds) register |
INT32 |
WO |
No |
No |
INT32 |
This object gives access to a set of command that provide for conditional sequence execution, based on register data, input/output, etc.
In commands that use input/output the channel used will correspond directly to the General input pin (i.e. if we want to use the general digital input number 1 we must use the channel 1, for input number 2 we will use channel 2 and so on).
SubIndex description:
These sequence commands are illustrated by the following general forms:
-
DO: If the condition is true, command execution will continue normally. If the condition is false, the rest of macro will be skipped.
-
IF: If the condition is true, command execution will continue normally. If the condition is false, the next macro command will be skipped.
-
WAIT: If the condition is true, command execution will continue normally. If the condition if false, macro execution will be suspended until the condition becomes true.
-
REPEAT: This command causes the macro to be repeated the number of times specified by the value passed as parameter. If parameter is "0", the macro is repeated indefinitely.