Overview IO Configuration



With this module the IO modules are configured.

General


To do this, an interface is first added, and then the IO modules are attached to this interface. To add an interface, click the "+" symbol and select a corresponding interface from the menu. To add an IO module, right-click the interface and select an IO module from the menu.

The interface R02 holds a special position. It is intended for the pluggable IO modules, by which the internal bus system is meant; here it is also possible to read these out automatically. To change the parameters of a module, right-click the module and select Parameter from the menu. The parameters are described in the documentation of the IO modules.

Interfaces

The following interfaces can be added:
  • M-R02 Controller: This interface refers to the internal bus system; here only modules of type 2020 can be added.
  • M-B01 Bus coupler RTU: Bus coupler with RS485 interface; here only modules of type 2020 can be added.
  • M-B02 Bus coupler TCP: Bus coupler with network interface. In addition to the pluggable IO modules, fieldbus modules can also be added via the gateway function.
  • M-FBM Fieldbus IO interface: RS485 interface on the controller (R02, Tauris); here only fieldbus modules can be added.

IO modules

  • M2020: Pluggable IO modules on R02/B01/B02.
  • Fieldbus modules: Fieldbus modules with Modbus RTU interface.

After the interfaces and IO modules have been added, click "Create all variables" to create the corresponding variables.




Interface parameters


Active
Activate the interface. If the interface is not active, neither the interface is initialized nor are the attached IO modules queried.
Telegram spacing
This spacing is maintained at a minimum between the telegrams. Normally the default settings entered when adding the interface can be kept.
Timeout
Maximum time the system waits for a response from the IO module before an error is detected and the next query begins.
ID
Modbus ID. This is only specified for bus couplers B01/02.
Serial interface / TCP gateway
For the fieldbus interface and B01, either serial interface, if the module is connected directly to the R02, or Modbus TCP gateway, if a B02 is used as a gateway, can be set.
Interface
With the setting serial interface, the serial interface can be specified here (for R02 only Onboard is possible).
Baud rate
Baud rate for the serial interface
IP address
With the setting Modbus TCP gateway, the IP address is set here.


IO module parameters


Active
Activate the IO module. If the IO module is not active, it is skipped during communication.
Priority
A priority can be set for each module. With this function, the communication speed can be influenced. The individual modules on an interface are read out one after another; with priority 0 every module is read out on every cycle, with priority 1 on every second cycle, etc. This is, for example, useful when there are analog inputs on the bus that change comparatively rarely, and digital modules that should be read out faster. In this case you can give the analog module, for example, the priority 100, and the digital module the priority 0. This way the digital module is read out 100 times and then the analog module once.