Modbus TCPΒΆ

Most used properties are in italics.

alias

Alias that is used instead of full point path and name in quickSources and quickTargets for example

enabled

True = port is enabled, false = port is disabled and no database points will read from or write to it

busType

Port type for Actiweb internal workings

byteTimeout(microseconds)

Timeout for individual bytes in modbus packages

delayBetweenFrames (microseconds)

Delay between modbus frames. Some slave devices need more time between frames.

ipAddress

what IP-address the server will use to bound itself to. Usually same value is used as the controllers IP-address. If left blank, will default to 127.0.0.1

mode

Select if port is being used as master of slave

responseTimeout (microseconds)

Time spent waiting for a response from modbusdevice Read frame will give timeout-error if response time exceeds this value

taskSleepTime (milliseconds)

How long task will wait after full round of requests have been done.

tcpPort

What tcp port will be used to listen Modbus traffic.

Important

As of now, in slave mode the default modbusport 502 cannot be used for security reasons. Only ports above 1024 are permitted.

writeMode:

Switch for the logic how writable points will be written to the slave device

always:

Points will be written every round

changes and cyclic:

Points will be periodicly written, but also always when the value changes

changes only:

Points will be written to the slave only when they change

read only:

Writing will be disabled (used mainly for debugging)