Commit cd417d61 authored by Ivan Tyagov's avatar Ivan Tyagov

Add sample setup of 3 virtual couplers where:

coupler1 and coupler2 are subscribed over keep-alive network implementation
over Pub/Sub to coupler3.
Coupler3 is sending heart_beats every 10ms and if not heart_beat is received
by coupler1,2 within 50ms they both go to "safe" mode.
parent 10a953a7
#!/bin/bash
COUPLER_SR=/opt/slapgrid/6c567f8750e604c805e3a25adbbd0e44
export LD_LIBRARY_PATH='$LD_LIBRARY_PATH:/opt/slapgrid/6c567f8750e604c805e3a25adbbd0e44/parts/open62541/lib:/opt/slapgrid/6c567f8750e604c805e3a25adbbd0e44/parts/mbedtls/lib'
./server -m 1 -i 1 -l 3 -t 10 -o 300 -n opc.udp://224.0.0.22:4840/
./server -m 1 -i 1 -l 3 -t 10 -o 50 -n opc.udp://224.0.0.22:4840/
......@@ -2,4 +2,4 @@
COUPLER_SR=/opt/slapgrid/6c567f8750e604c805e3a25adbbd0e44
export LD_LIBRARY_PATH='$LD_LIBRARY_PATH:/opt/slapgrid/6c567f8750e604c805e3a25adbbd0e44/parts/open62541/lib:/opt/slapgrid/6c567f8750e604c805e3a25adbbd0e44/parts/mbedtls/lib'
./server -p 4841 -m 1 -i 2 -l 3 -t 10 -o 300 -n opc.udp://224.0.0.22:4840/
./server -p 4841 -m 1 -i 2 -l 3 -t 10 -o 50 -n opc.udp://224.0.0.22:4840/
......@@ -2,4 +2,4 @@
COUPLER_SR=/opt/slapgrid/6c567f8750e604c805e3a25adbbd0e44
export LD_LIBRARY_PATH='$LD_LIBRARY_PATH:/opt/slapgrid/6c567f8750e604c805e3a25adbbd0e44/parts/open62541/lib:/opt/slapgrid/6c567f8750e604c805e3a25adbbd0e44/parts/mbedtls/lib'
./server -p 4842 -m 1 -b 1 -i 3 -t 5 -o 1200 -n opc.udp://224.0.0.22:4840/
./server -p 4842 -m 1 -b 1 -i 3 -t 10 -o 50 -n opc.udp://224.0.0.22:4840/
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment