tests/canopen_slave/beremiz.xml
author Andrey Skvortsov <andrej.skvortzov@gmail.com>
Wed, 07 Dec 2016 19:24:16 +0300
changeset 1596 f5868f866d2b
parent 412 2b9bc5ee30c0
permissions -rw-r--r--
stop PLC before unloading


This fixes segmentation fault if service was quit without stopping it.
It has happened if Beremiz service was quit using taskbar icon or by
closing Beremiz IDE (in case of autostarted local service).

In second case to trigger the bug following step has to be done:
1. Open Beremiz IDE
2. Open project, compile and connect to LOCAL:// runtime
3. Transfer and start the PLC program
4. Open other project without disconneting the PLC runtime
5. Close Beremiz IDE
411
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
     1
<?xml version="1.0" encoding="UTF-8"?>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
     2
<BeremizRoot URI_location="LOCAL://">
412
2b9bc5ee30c0 Bug on canopen tests (not being multi-platform) fixed
laurent
parents: 411
diff changeset
     3
  <TargetType/>
411
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
     4
</BeremizRoot>