Commit a663c458 authored by Ivan Tyagov's avatar Ivan Tyagov

Adjust heart-beat CLI args for virtual coupler.

parent 8ae372e2
...@@ -6,4 +6,4 @@ filename = instance-opc-ua.cfg.in ...@@ -6,4 +6,4 @@ filename = instance-opc-ua.cfg.in
md5sum = 8fbfef119385b69ea8bd2e0bcb07b8de md5sum = 8fbfef119385b69ea8bd2e0bcb07b8de
filename = instance-opc-ua-virtual.cfg.in filename = instance-opc-ua-virtual.cfg.in
md5sum = 27c8a7f3052c52cfcb7fd3343637cc5c md5sum = bb5d0ec77d460c64bfd189d52f4cba9a
...@@ -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]
......
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