tests/traffic_lights/beremiz.xml
author Andrey Skvortsov <andrej.skvortzov@gmail.com>
Thu, 07 Jun 2018 13:45:35 +0300
changeset 2173 976841968d74
parent 1383 45935812f930
child 2231 7d87a0f98345
permissions -rw-r--r--
Add retain basic implementation on GNU/Linux

Retain is saved in file and backup of this file is done every time.
File isn't saved on every PLC cycle to avoid high I/O load.
By default, retain is saved every second and on PLC stop/shutdown.
It's possible to override retain flush period by using CFLAGS option
in project's settings. For example, for 0.5 seconds period
use "-DFILE_RETAIN_SAVE_PERIOD_S=0.5".
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
     1
<?xml version='1.0' encoding='utf-8'?>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
     2
<BeremizRoot URI_location="LOCAL://">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
     3
  <TargetType/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
     4
</BeremizRoot>