Link Type: |
InpAllON ([, hex 0x5B, dec 91) - All Inputs On |
Link Value: |
Mask of inputs to wait for |
Range: |
Depends on Configuration |
Note: This feature is available only in RMC100 CPU firmware version 19990625 and later.
These link types wait for a combination of level events on discrete inputs. These link types are limited to 16 inputs if all the events are of one polarity or to 8 inputs if both ON and OFF input levels are used. The inputs used depend on the RMC configuration according to the following rules:
If a Sensor DI/O is present, Sensor DI/O inputs 0-15 (or 0-7) are used.
If no Sensor DI/O is present, but a Communication DI/O is present, Communication DI/O inputs 0-15 (or 0-7) are used.
If neither Sensor nor Communication DI/O is present, then only CPU inputs 0-1 are used.
This link type is similar to Inputs, Single (Level/Edge) with the following differences:
Inputs, Multiple: allows up to 16 inputs to be evaluated at once.
Inputs, Single: allows only one (1) input to be evaluated.
Inputs, Multiple: allows waiting for level events only.
Inputs, Single: allows waiting for either a level or edge event.
Inputs, Multiple: for DI/O modules, usable inputs are limited to inputs 0-15 of one DI/O module.
Inputs, Single: any discrete input can be used on any DI/O module, except the CPU inputs when the Communication DI/O is installed.
Using with the Link Type and Link Value Dialog Box
Under Link Type Category, select System-wide (Basic, non-axis).
Under Link Type, select Inputs, Multiple (Level only).
Under Link Condition, select whether you want to wait for all of the input events you are going to enter, or any one of the events you will enter.
Under Link Condition, for each input, select whether you wish to have that input high, low, or ignored.
Example:
If you wish to wait for both inputs 0 and 1 to be high, select that you want all of your input events to be satisfied, for inputs 0 and 1, select the 1 option, and for all other inputs, select the X option.
Using without the Link Type and Link Value Dialog Box
Select the appropriate link type:
If you want to wait for multiple inputs to be ON at once, select '['.
If you want to wait for multiple inputs to be OFF at once, select ']'.
If you want to wait for any one of several inputs to be ON at once, select '{ '.
If you want to wait for any one of several inputs to be OFF at once, select '}'.
If you want to wait for multiple input conditions including both ONs and OFFs, select '\'.
If you want to wait for any one of several input conditions including both ONs and OFFs, select '|'.
To enter the link value, you must understand binary. If you do not understand binary (actually, even if you do), you should use the Link Type and Link Value dialog box to edit these link types.
If you selected a link type of '{ ', '}', '[', or ']', each of the sixteen bits (number 0 to 15, right to left) correspond to the sixteen inputs. Enter a 1 in each input's bit to that you care about (e.g., if you want inputs 2 and 4 to be off, the link value should be 0x000A).
If you selected a link type of '\' or '|', then bits 0-7 correspond to the OFF level of inputs 0-7. Enter 1's in the bits of the inputs that must being OFF. Bits 8-15 correspond to the ON level of inputs 0-7. Enter 1's in the bits of the inputs that must be ON.
Example 1:
Link Type: InpAllMIX
Link Value: 0x0803
Link Next: 11
This link will check inputs 0, 1 and 3. Input bits 0 and 1 must be off and input bit 3 must be on before going to the next step.
Example 2:
Link Type: InpAnyMIX
Link Value: 0x0803
Link Next: 11
This link will check inputs 0, 1 and 3. If input bit 0 is off, bit 1 is off, or bit 3 is on then execute the next state.
Copyright (c) 1997-2015 by Delta Computer Systems, Inc.