Modbus Device Driver

<< Click to Display Table of Contents >>

Navigation:  Components > Driver >

Modbus Device Driver

This Modbus driver is an invisible server component with the possibility of connecting Modbus devices.

The advantage over the general Modbus component is that the desired gateway can be selected directly here. This automatically creates the data point list with the corresponding names. Thus all channels are directly available. Only the device connection must be set up. The .modbus files are located under C:\Program Files (x86)\Alexander Maier GmbH\EisBaer SCADA 3.0\Devices.

 

 

Data points of the component

Name

Type

Function

Query cyclic - Autostart

Bidirectional

This outputs whether the cyclical query is active. An off signal deactivates the cyclic polling. Activated with an on signal.

Cyclic polling - pause [s]

Bidirectional

The set pause time between 2 polls is output here. If an integer value is sent to the data point, the pause time changes accordingly. This is possible, for example, with a touch value input.

Query once

Input

An ON signal at this input triggers a one-time query of the values. Each additional on-signal triggers another query.

Updating is carried out

Output

An ON signal is output at this output for the duration of the update.

Diagnosis [Text]

Output

Error texts are output here. These can be displayed, for example, with the"protocol window" component. Attention: Diagnostic or debug outputs are only intended for use in the event of an error. Please only use them in consultation with the support team! If used, these can considerably impair the performance of the service.

Dynamic

Folder

The Dynamic folder displays the input and output channels. Depending on the type, different data points are made available. The channels are created in the properties window.

Device ID

Bidirectional

The device ID can be changed at runtime. The driver is restarted after a change.

Ping Status

Output

With an IP connection, the connection of the unit can be additionally checked via a ping check. An on signal shows whether a connection exists.

Write cycle is being performed

Output

An on signal is output during the write cycle.

Write cycle time [ms]

Output

Output of the time in milliseconds how long the writing took.

Send once

Input

An On signal at this input triggers a one-time sending of the values. Each additional on-signal triggers a further transmission.

Send cyclically - Autostart

Bidirectional

This output shows whether cyclical transmission is active. An off signal deactivates cyclical transmission. Activated with an on signal.

Cyclical transmission - Pause [s]

Bidirectional

The set pause time between 2 transmission telegrams is output here. If an integer value is sent to the data point, the pause time changes accordingly. This is possible, for example, with a touch value input.

Driver On/Off

Bidirectional

The driver is activated via an on signal. The preset state of the driver from the properties is output when the simulation or server is started.

Update time [ms]

Output

Outputs the time for a device update in milliseconds.

Connection status

Output

If the connection to the Modbus gateway is successful, an on signal is output.

 

 

Properties of the component

Name

Standard

Function

Device type

 

Selection option for the preconfigured devices. The corresponding data sets are located under C:\Program Files (x86)\Alexander Maier GmbH\EisBaer SCADA 3.0\Devices.

Device ID

1

Defines the device ID.

Connection

Serial ...

The connection type to the Modbus device is set here. Possible settings are: Modbus RTU (Serial), ASCII (Serial), TCP, RTU over TCP, ASCII over TCP and UDP-IP.

Timeout [ms]

500

Time to wait for a response after a query. Afterwards an error message is displayed. 50-10000ms can be set.

Cyclical query - Autostart

x

Here the automatic start of the queries is activated. The queries then start automatically when the simulation is started in the editor and when the server is started.

Query cyclic - pause [s]

1

Cycle time of the queries. With the default setting "1", a query of all values is started every second.

Send cyclically - Autostart

x

Automatic sending is activated here. Sending then starts automatically when the server is started and when the simulation is started in the editor.

Send cyclically - pause [s]

1

Cycle time of the transmission. With the default setting "1", sending of all values is started every second.

Write values directly

x

If this selection is set, the unit sends directly to Modbus when an input value changes. If not, not until the next transmission cycle.

Block read

x

This uses automatic block formation for reading successive registers.

Block write

x

This uses automatic block formation for writing successive registers.

Maximum block size

120

To set the block size, this value can be changed. Not all units support the maximum block length.

Linked objects only

x

With this setting, only those registers are read that are also linked in the project.

Driver On/Off

 

Switch driver on or off.