modbus_ss.yml
Options:
PeriodMs: 1000
ModbusSetup:
Type: SerialServer
Baud: 9600
Parity: N
Databit: 8
Stopbit: 1
SlaveId: 17
Port: COM1
UpdateIntervalMs: 1000
Invalidserver: 18
ModbusRead:
- {Index: 1, Type: DoubleVal, Topic: TestTopic, Fields: , Partition: Example, Scale: [1.0, 0, True]}
- {Index: [2,3], Type: PositionGlobal2D, Topic: VesselPosition, Fields: [lon,lat] , Partition: Example, Range: [[-10.0, 10.0],[-10.0, 10.0]]}
ModbusWrite:
- {Index: 1, Type: DoubleVal, Topic: TestTopic, Fields: , Partition: Example, Range: [-10.0, 10.0]}
- {Index: [2,3], Type: PositionGlobal2D, Topic: VesselPosition, Fields: [lon,lat] , Partition: Example, Scale: [[100.0, 0, True],[100.0, 0, True]]}