Modify an Input/Output

  1. Double-click the cell to edit.

    • You can also use the arrow keys to select the cell and press the F2 key to start edition.

  2. Set its driver name to the one of your choice, for example: CIFDriver (column 3).
  3. Set its description to the corresponding driver address (column 4).

The Description field format has these characteristics:

  1. It begins with a “%” character.
  2. Followed by the type of I/O.

    I: input, Q: Output

  3. Followed by the size of I/O. 

    X: Boolean (1 bit), B: byte (8 bits), W: word (16 bits), D: double word (32 bits), L: long word (64 bits)

  4. Followed by its address on the selected bus. 

    The address has the following format: “deviceId.slaveId.moduleId.bitOffset”, where deviceId, slaveId, moduleId and bitOffset are integers ranging from 0 to 65535.


      • set deviceId to 0
      • set slaveId to the id of the I/O node
      • set moduleId to the id of the slice
      • bitOffset must always be 0 for non-Boolean I/Os


  • The size of the variable and the I/O must be the same.

Example

%IX0.1.2.4 is an input Boolean located on deviceId=0, slaveId=1, moduleId=2 at bitOffset=4

%QB0.1.2.0 is an output byte located on deviceId=0, slaveId=1, moduleId=2


  • If you enter invalid text, the table cell becomes red and an explanation appears in the information column.

See Also

Map Input and Output to Variables