Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
osie
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
osie
Commits
d2fd6f4d
Commit
d2fd6f4d
authored
Jul 15, 2022
by
Ivan Tyagov
Browse files
Options
Browse Files
Download
Plain Diff
Add heartbeat args
See merge request
!17
parents
e07b66ab
a663c458
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
4 deletions
+15
-4
slapos/software/osie-coupler/buildout.hash.cfg
slapos/software/osie-coupler/buildout.hash.cfg
+2
-2
slapos/software/osie-coupler/instance-opc-ua-virtual.cfg.in
slapos/software/osie-coupler/instance-opc-ua-virtual.cfg.in
+6
-1
slapos/software/osie-coupler/instance-opc-ua.cfg.in
slapos/software/osie-coupler/instance-opc-ua.cfg.in
+7
-1
No files found.
slapos/software/osie-coupler/buildout.hash.cfg
View file @
d2fd6f4d
...
@@ -3,7 +3,7 @@ filename = instance-modbus.cfg.in
...
@@ -3,7 +3,7 @@ filename = instance-modbus.cfg.in
md5sum = 8637c6b714a0bb9f27c86f3928049b98
md5sum = 8637c6b714a0bb9f27c86f3928049b98
filename = instance-opc-ua.cfg.in
filename = instance-opc-ua.cfg.in
md5sum =
2b9473020abf55ebd7cefbac81f705a9
md5sum =
8fbfef119385b69ea8bd2e0bcb07b8de
filename = instance-opc-ua-virtual.cfg.in
filename = instance-opc-ua-virtual.cfg.in
md5sum =
27c8a7f3052c52cfcb7fd3343637cc5c
md5sum =
bb5d0ec77d460c64bfd189d52f4cba9a
slapos/software/osie-coupler/instance-opc-ua-virtual.cfg.in
View file @
d2fd6f4d
...
@@ -17,7 +17,7 @@ extends = {{ template_monitor }}
...
@@ -17,7 +17,7 @@ extends = {{ template_monitor }}
[coupler-opc-ua]
[coupler-opc-ua]
recipe = slapos.cookbook:wrapper
recipe = slapos.cookbook:wrapper
command-line =
command-line =
{{ buildout['bin-directory'] }}/server -d ${instance-parameter:configuration.coupler_block_device} -s ${instance-parameter:configuration.coupler_i2c_slave_list} -m 1 -p ${instance-parameter:configuration.opc_ua_port} -u ${instance-parameter:configuration.username} -w ${instance-parameter:configuration.password}
{{ buildout['bin-directory'] }}/server -d ${instance-parameter:configuration.coupler_block_device} -s ${instance-parameter:configuration.coupler_i2c_slave_list} -m 1 -p ${instance-parameter:configuration.opc_ua_port} -u ${instance-parameter:configuration.username} -w ${instance-parameter:configuration.password}
-b ${instance-parameter:configuration.heart_beat} -t ${instance-parameter:configuration.heart_beat_interval} -l ${instance-parameter:configuration.heart_beat_id_list} -n ${instance-parameter:configuration.network_address_url_data_type} -o ${instance-parameter:configuration.heart_beat_timeout_interval}
wrapper-path = ${directory:service}/coupler-opc-ua-virtual
wrapper-path = ${directory:service}/coupler-opc-ua-virtual
...
@@ -35,6 +35,11 @@ configuration.interface = 0.0.0.0
...
@@ -35,6 +35,11 @@ configuration.interface = 0.0.0.0
configuration.opc_ua_port = 4840
configuration.opc_ua_port = 4840
configuration.username =
configuration.username =
configuration.password =
configuration.password =
configuration.heart_beat = 0
configuration.heart_beat_interval = 500
configuration.heart_beat_id_list =
configuration.network_address_url_data_type = opc.udp://224.0.0.22:4840/
configuration.heart_beat_timeout_interval = 2000
# Create all needed directories, depending on your needs
# Create all needed directories, depending on your needs
[directory]
[directory]
...
...
slapos/software/osie-coupler/instance-opc-ua.cfg.in
View file @
d2fd6f4d
...
@@ -21,7 +21,7 @@ extends = {{ template_monitor }}
...
@@ -21,7 +21,7 @@ extends = {{ template_monitor }}
recipe = slapos.cookbook:wrapper
recipe = slapos.cookbook:wrapper
# start with defaults
# start with defaults
command-line =
command-line =
{{ buildout['bin-directory'] }}/server -d ${instance-parameter:configuration.coupler_block_device} -s ${instance-parameter:configuration.coupler_i2c_slave_list} -p ${instance-parameter:configuration.opc_ua_port} -u ${instance-parameter:configuration.username} -w ${instance-parameter:configuration.password}
{{ buildout['bin-directory'] }}/server -d ${instance-parameter:configuration.coupler_block_device} -s ${instance-parameter:configuration.coupler_i2c_slave_list} -p ${instance-parameter:configuration.opc_ua_port} -u ${instance-parameter:configuration.username} -w ${instance-parameter:configuration.password}
-b ${instance-parameter:configuration.heart_beat} -t ${instance-parameter:configuration.heart_beat_interval} -l ${instance-parameter:configuration.heart_beat_id_list} -n ${instance-parameter:configuration.network_address_url_data_type} -o ${instance-parameter:configuration.heart_beat_timeout_interval}
wrapper-path = ${directory:service}/coupler-opc-ua
wrapper-path = ${directory:service}/coupler-opc-ua
...
@@ -33,12 +33,18 @@ url = ${slap-connection:server-url}
...
@@ -33,12 +33,18 @@ url = ${slap-connection:server-url}
key = ${slap-connection:key-file}
key = ${slap-connection:key-file}
cert = ${slap-connection:cert-file}
cert = ${slap-connection:cert-file}
# below are the default as set in coupler's application
configuration.coupler_block_device = /dev/i2c-1
configuration.coupler_block_device = /dev/i2c-1
configuration.coupler_i2c_slave_list = 0x58
configuration.coupler_i2c_slave_list = 0x58
configuration.username =
configuration.username =
configuration.password =
configuration.password =
configuration.interface = 0.0.0.0
configuration.interface = 0.0.0.0
configuration.opc_ua_port = 4840
configuration.opc_ua_port = 4840
configuration.heart_beat = 0
configuration.heart_beat_interval = 500
configuration.heart_beat_id_list =
configuration.network_address_url_data_type = opc.udp://224.0.0.22:4840/
configuration.heart_beat_timeout_interval = 2000
# Create all needed directories, depending on your needs
# Create all needed directories, depending on your needs
[directory]
[directory]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment