Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The Modbus master I/O interface is configured within a few pages. The first page contains some generic configurations.

Image RemovedImage Added

Use an RT core for asynchronous computationIf set to "true", the driver will reserve a real-time CPU core for its communication system and will be able to handle a bigger number of slaves. If set to "false", the communication system will default to core 0 (running with the operating system).
VerboseEnable verbose modeIf enabled, additional information will be displayed in the HYPERSIM log during the loading of the model.
Enable virtual modeIn virtual mode, the model can be executed even if this I/O interface is not compatible with the hardware configuration of the system. The connections between the model and the I/O interface will be done during the initialization, but the I/O interface will not do anything.
The virtual mode can be used to troubleshoot problems on a system without having the required hardware, or to prepare a model with different I/O interfaces even if the final hardware platform is not available.

Slave Configuration

By default, the driver is configured with one TCP slave configured to listen on the internal loopback network on port 1504 and one RTU slave configured on /dev/ttyS0 serial port. 

...

NameName that will be used to identify the signal associated to the read/write operation in the Sensor form.
Operation typeType of operation to perform. See the list of supported operations in the "Supported features" section.
Operation codeRead-only field that gives the hexadecimal code of the configured Modbus operation.
Start addressAddress at which will begin the read/write operation.
Item numberNumber of coils/registers that will be read/written.
Interpreted as

For coils and discrete input: Only bit is supported.

For all types of registers: Unsigned integers (16 bits & 32 bits), signed integers (16 bits & 32 bits) and single-precision floating-point (32 bits) are supported.

Triggered operationTrigger read/write for non-cyclic operation.

...