ModbusRTU Master

Comms Port

Description (description coming soon)
Additional Information
Availability
  • Requires library: System & I/O
  • Requires firmware: Generic ModbusRTU Master Unisolated EIA-485 (option -13) or Generic ModbusRTU Master Isolated EIA-485 (option -12)
  • Singleton function block
  • Firmware versions 0x1030 and later
savvy-SFD Graphic modbusPort
Graphic with Parameters modbusPort

Parameters

Comms Speed Internal Parameter, Read-write, Enumerated (signed 16-bit integer)
0 = 300 b/s
1 = 600 b/s
2 = 1200 b/s
3 = 2400 b/s
4 = 4800 b/s
5 = 7200 b/s
6 = 9600 b/s
7 = 14.4 kb/s
8 = 19.2 kb/s
9 = 28.8 kb/s
10 = 38.4 kb/s
11 = 57.6 kb/s
12 = 76.8 kb/s
13 = 115.2 kb/s
Comms Configuration Internal Parameter, Read-write, Enumerated (signed 16-bit integer)
0 = 8-N-1
1 = 8-O-1
2 = 8-E-1
3 = 8-N-2
8-N-1 : 8 data bits, No parity, 1 stop bit; 8-O-1 : 8 data bits, Odd parity, 1 stop bit; 8-E-1 : 8 data bits, Even parity, 1 stop bit; 8-N-2 : 8 data bits, No parity, 2 stop bits
Actual Polling Period Internal Parameter, Read-only, Analog (signed 16-bit integer)
0 ms to 32767 ms
32767 = >30s
Comms Timeout Internal Parameter, Read-write, Analog (signed 16-bit integer)
0 ms to 30000 ms
this value is added to the computed comms time (based on comms speed) to determine when a comms transaction will time out.
Comms Sleep Time Internal Parameter, Read-write, Analog (signed 16-bit integer)
0 ms to 30000 ms
0 = Disabled
Can be used to add “deadtime” to the comms polling cycle
Status Output, Read-write, Enumerated (signed 16-bit integer)
0 = OK
1 = Error
This is the logical inclusive-OR of all the ‘Last Error’ parameters in the Register function blocks. It is updated once each poll. Resetting this parameter also resets ALL the ‘Last Error’ parameters.
Enable Input, Read-write, Boolean (signed 16-bit integer)
0 = Disable
1 = Enable