Link Type - Inputs, Single (Level/Edge)

Link Type:

InputRise (I, hex 0x49, dec 73) - Rising Edge
InputFall (i, hex 0x69, dec 105) - Falling Edge
InputHigh (O, hex 0x4F, dec 79) - Level High
InputLow (o, hex 0x6F, dec 111) - Level Low

Link Value:

Discrete Input number to wait for

Range:

Depends on Configuration

 

Note: The input level portion of these link types is available only in RMC100 CPU firmware version 19990625 and later.

 

Note: The Rising (I) and Falling Edge (i) link types should not be used with the Poll (?) command. This is because the edges can be missed during the polling cycle since these link types only check for an edge in the last control loop. You should instead use the Level High (O) and Level Low (o) link types when polling.

 

These link types wait for an event on a single discrete input. This event can be an edge (rising or falling) or level (high or low). This link type may use all inputs unless the a Communication DI/O is installed, in which case the CPU inputs may not be used.

 

This link type is similar to Inputs, Multiple (Level only) 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, Single (Level/Edge).

  3. Under Link Condition, select the type of the event you want to wait for (rising or falling edge, or on or off level).

  4. Under Link Condition, select the device whose discrete input you wish to use (either CPU, Communication DI/O, or Sensor DI/O).

  5. Under Link Condition, select the input number on that device.

 

Using without the Link Type and Link Value Dialog Box

  1. Select a Link Type:
    Use 'I' to wait for a rising edge, 'I' to wait for a falling edge, 'O' to wait for an input to be on, or 'o' to wait for an input to be off.

  2. Calculate a Link Value:
    This will select the input to use. Begin with the input number from the device (0 17 for DI/O modules or 0-1 for the CPU). If the input is on a Sensor DI/O, add 32 to the input number. Use this value for the Link Value (e.g., CPU input 1 will use a Link Value of 1, Sensor DI/O input 4 will use a Link Value of 32 + 4 = 36).

 

Example 1:

Link Type: InputHigh (O)

Link Value: 16

Link Next: 11

This link waits until input bit 16 of the Communication DI/O is ON before going to step 11.

 

Example 2:

Link Type: InputLow (o)

Link Value: 0

Link Next: 15

This link waits until input bit 0 of the Communication DI/O (or CPU if no Communication DI/O is present) is OFF before going to step 15.

 


Copyright (c) 1997-2015 by Delta Computer Systems, Inc.