Static variables in ModbusMaster - Manual - SIMATIC AX - Instructions that can be used for Modbus-RTU communication. - Siemens.Simatic.S71500.CommunicationsProcessor.ModbusRtu,library

Siemens.Simatic.S71500.CommunicationsProcessor.ModbusRtu library

Portfolio
SIMATIC AX
Product
SIMATIC AX
Software version
1.0.2
Edition
11/2024
Language
English (original)
Package Name
@ax/simatic-1500-modbusrtu

This table below shows the public static variables in the instance of ModbusMaster that you can use in your program.

Variable Data type Default Description
Blocked_Proc_Timeout REAL REAL#3.0 Duration (in seconds) for which to wait for a blocked Modbus master instance before this instance is removed as ACTIVE. This may happen, for example, if a master request was output and the program then stops to call the master function before it has completely finished the request. The time value must be greater than 0 and less than 55 seconds to avoid an error to occur.
Extended_Addressing BOOL FALSE Configures the slave station address as single or double byte.
  • FALSE = One-byte address; 0 to 247
  • TRUE = Two-byte address (corresponds to extended addressing);
    0 to 65535
MB_DB P2P_MB_BASE - The MB_DB parameter of the Modbus_Comm_Load instruction must be connected to this MB_DB parameter of the Modbus_Master instruction.