Volledige configuratie WP Links DDS6619
Hieronder staat de volledige configuratie zoals opgenomen in DDS6619_WP_Links_Node_RED_configuratie.pdf en bevestigd door de laatste Node-RED-test.
Definitieve USB- en RS485-busindelingConfiguratie van SamsungWPLinksInstellingen van WP Links DDS6619Bevestigde Modbus-respons met payload: [7]Vergelijking met WP RechtsControlepunten na een herstartWaarschuwing over het gebruik van /dev/ttyUSB1
class="wp-block-heading">1. Modbus-client SamsungWPLinks
Plain Text
1
Naam SamsungWPLinks
2
Type Serial
3
Serial port /dev/ttyUSB1
4
Serial type RTU-BUFFERD
5
Baudrate 9600 bit/s
6
Databits 8
7
Parity Even
8
Stopbits 1
9
Unit-ID client 10
10
Timeout 2000 ms
11
Reconnect on timeout Ingeschakeld
12
Reconnect timeout 2000 msShow more lines
De parity staat in het Node-RED-flowbestand als:
JSON
1
“serialParity”: “even”Show more lines
2. Modbus Read-node WP Links DDS6619
Plain Text
1
Naam WP Links DDS6619
2
Server SamsungWPLinks
3
Unit-ID 10
4
Function Code FC 4 – Read Input Registers
5
Startadres 8
6
Quantity 1 register
7
Poll Rate 5 seconden
8
Topic pollingShow more lines
3. Bevestigde respons
JSON
1
{
2
“topic”: “polling”,
3
“payload”: [7],
4
“responseBuffer”: {
5
“data”: [7],
6
“buffer”: [0, 7]
7
},
8
“input”: {
9
“topic”: “polling”,
10
“from”: “WP Links DDS6619”,
11
“payload”: {
12
“unitid”: “10”,
13
“fc”: 4,
14
“address”: “8”,
15
“quantity”: “1”,
16
“enableDeformedMessages”: false
17
},
18
“queueLengthByUnitId”: {
19
“unitId”: 10,
20
“queueLength”: 0
21
},
22
“queueUnitId”: 10,
23
“unitId”: 10
24
}
25
}Show more lines
4. Bevestigde werking
| Controle | Resultaat |
|---|---|
| Seriële poort geopend | Ja |
| DDS6619 bereikbaar | Ja |
| Unit-ID 10 | Correct |
| FC04 | Correct |
| Register 8 | Leesbaar |
| Polling iedere 5 seconden | Actief |
| Ontvangen payload | [7] |
| Node-status | active (5 sec.) |
5. Busindeling
Plain Text
1
Fluvius P1
2
FTDI FTAPX2CX
3
ttyUSB0
4
115200 baudShow more lines
Plain Text
1
SamsungWP + WP Rechts DDS6619
2
FTDI A5069RR4
3
Bestaande SamsungWP-client
4
DDS6619 Unit-ID 40Show more lines
Plain Text
1
WP Links DDS6619
2
Aparte RS485-adapter
3
/dev/ttyUSB1
4
9600 baud, 8E1
5
DDS6619 Unit-ID 10Show more lines
6. Vergelijking met WP Rechts
| Parameter | WP Rechts | WP Links |
|---|---|---|
| Client | SamsungWP | SamsungWPLinks |
| Unit-ID | 40 | 10 |
| Function Code | FC04 | FC04 |
| Startadres | 8 | 8 |
| Quantity | 1 | 1 |
| Poll Rate | 5 seconden | 5 seconden |
| Payload | [7] | [7] |
| Status | Active | Active |
class="wp-block-heading">Belangrijk aandachtspunt
/dev/ttyUSB1 is aantoonbaar de werkende poort, maar het nummer kan na het verwisselen van USB-adapters of een gewijzigde USB-detectie veranderen. Voor een stabiele productieopstelling is een vaste udev-alias voor deze fysieke adapter verstandiger dan rechtstreeks /dev/ttyUSB1 te gebruiken.Hieronder staat de volledige configuratie zoals opgenomen in DDS6619_WP_Links_Node_RED_configuratie.pdf en bevestigd door de laatste Node-RED-test.
1. Modbus-client SamsungWPLinks
Naam SamsungWPLinks
Type Serial
Serial port /dev/ttyUSB1
Serial type RTU-BUFFERD
Baudrate 9600 bit/s
Databits 8
Parity Even
Stopbits 1
Unit-ID client 10
Timeout 2000 ms
Reconnect on timeout Ingeschakeld
Reconnect timeout 2000 ms
Show more lines
De parity staat in het Node-RED-flowbestand als:
JSON
“serialParity”: “even”Show more lines
2. Modbus Read-node WP Links DDS6619
Plain Text
1
Naam WP Links DDS6619
2
Server SamsungWPLinks
3
Unit-ID 10
4
Function Code FC 4 – Read Input Registers
5
Startadres 8
6
Quantity 1 register
7
Poll Rate 5 seconden
8
Topic pollingShow more lines
3. Bevestigde respons
JSON
1
{
2
“topic”: “polling”,
3
“payload”: [7],
4
“responseBuffer”: {
5
“data”: [7],
6
“buffer”: [0, 7]
7
},
8
“input”: {
9
“topic”: “polling”,
10
“from”: “WP Links DDS6619”,
11
“payload”: {
12
“unitid”: “10”,
13
“fc”: 4,
14
“address”: “8”,
15
“quantity”: “1”,
16
“enableDeformedMessages”: false
17
},
18
“queueLengthByUnitId”: {
19
“unitId”: 10,
20
“queueLength”: 0
21
},
22
“queueUnitId”: 10,
23
“unitId”: 10
24
}
25
}Show more lines
4. Bevestigde werking
| Controle | Resultaat |
|---|---|
| Seriële poort geopend | Ja |
| DDS6619 bereikbaar | Ja |
| Unit-ID 10 | Correct |
| FC04 | Correct |
| Register 8 | Leesbaar |
| Polling iedere 5 seconden | Actief |
| Ontvangen payload | [7] |
| Node-status | active (5 sec.) |
5. Busindeling
Plain Text
1
Fluvius P1
2
FTDI FTAPX2CX
3
ttyUSB0
4
115200 baudShow more lines
Plain Text
1
SamsungWP + WP Rechts DDS6619
2
FTDI A5069RR4
3
Bestaande SamsungWP-client
4
DDS6619 Unit-ID 40Show more lines
Plain Text
1
WP Links DDS6619
2
Aparte RS485-adapter
3
/dev/ttyUSB1
4
9600 baud, 8E1
5
DDS6619 Unit-ID 10Show more lines
6. Vergelijking met WP Rechts
| Parameter | WP Rechts | WP Links |
|---|---|---|
| Client | SamsungWP | SamsungWPLinks |
| Unit-ID | 40 | 10 |
| Function Code | FC04 | FC04 |
| Startadres | 8 | 8 |
| Quantity | 1 | 1 |
| Poll Rate | 5 seconden | 5 seconden |
| Payload | [7] | [7] |
| Status | Active | Active |
Belangrijk aandachtspunt
/dev/ttyUSB1 is aantoonbaar de werkende poort, maar het nummer kan na het verwisselen van USB-adapters of een gewijzigde USB-detectie veranderen. Voor een stabiele productieopstelling is een vaste udev-alias voor deze fysieke adapter verstandiger dan rechtstreeks /dev/ttyUSB1 te gebruiken.
