Link Type - Inputs, Multiple (Level only)

Link Type:

InpAllON ([, hex 0x5B, dec 91) - All Inputs On
InpAllOFF (], hex 0x5D, dec 93) - All Inputs Off
InpAnyON ({ , hex 0x7B, dec 123) - Any Inputs On
InpAnyOFF (}, hex 0x7D, dec 125) - Any Inputs Off
InpAllMIX (\, hex 0x5C, dec 92) - All Inputs, Mixed On/Off
InpAnyMIX (|, hex 0x7C, dec 124) - Any Input, Mixed On/Off

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:

This link type is similar to Inputs, Single (Level/Edge) with the following differences:

 

Using with the Link Type and Link Value Dialog Box

  1. Under Link Type Category, select System-wide (Basic, non-axis).

  2. Under Link Type, select Inputs, Multiple (Level only).

  3. 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.

  4. 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

  1. Select the appropriate link type:

  1. 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.

 

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.