Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • E escet
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Graph
    • Compare revisions
    • Locked files
  • Issues 99
    • Issues 99
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 7
    • Merge requests 7
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Model experiments
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Eclipse ProjectsEclipse Projects
  • Eclipse ESCET (Supervisory Control Engineering Toolkit)
  • escet
  • Issues
  • #218

Generate warning or error for SVG input declarations when generating code

I encountered a student model that failed to execute on a digital twin using code generated for Beckhoff TWinCAT via the command cif2plc("merged.cif", "-o dh_dtwin.xml", "-t plc-open-xml"). The controller did run properly via a merge with the plant model via SVG vizualisation.

On inspection of the controller, I noticed that it included an svgfile statement and an svgin statement. Obviously this was an erroneous CIF model, because the SVG statements should have been in the plant instead of the controller.

What surprises me is that the dh_twin.xml file was generated without error or warning. I don't know if there is any use of having SVG statements in a file for which PLC code is generated?

Edited Nov 05, 2021 by Dennis Hendriks
Assignee
Assign to
Time tracking

Copyright © Eclipse Foundation, Inc. All Rights Reserved.     Privacy Policy | Terms of Use | Copyright Agent