Skip to content
GitLab
Projects Groups 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
    • Locked Files
  • Issues 92
    • Issues 92
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 5
    • Merge requests 5
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Eclipse ProjectsEclipse Projects
  • Eclipse ESCET (Supervisory Control Engineering Toolkit)
  • escet
  • Merge requests
  • !495

#418 Generate global variables in new PLC code generator

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Albert Hofkamp requested to merge 418-plcgen-add-variables into develop Feb 01, 2023
  • Overview 167
  • Commits 18
  • Pipelines 9
  • Changes 88

Variables are here!

  • Adding several generators (for a wide notion of "generator").
  • Cif processor is likely doing a bit too much with enumerations currently.
  • Not sure the type generator is the final spot for enumerations, but that will sort itself out once we get expressions.
  • Switched int type selection to an option for setting the desired type rather than the maximum type. Added a float version as well.
  • Needed to drag in the S7 writer, as it didn't allow writing other variable tables.
  • Added a simplified "all1.cif" test to the testfiles, the original file uses many features currently not processed.

Next step is expressions, for constants and variable initialization (in variable tables).

Reading one commit at a time is likely simplest.

Adresses #418

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: 418-plcgen-add-variables

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