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 100
    • Issues 100
    • 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
  • #418

Implement steps 2 and 4 of escet plcgen

Steps 2 and 4 deal with CIF types and variables.

Step 3 is skipped for now because constants cannot be shown for PLC targets that don't support constant definitions, until plcgen has support for using constants in some context.

From #397:

  1. Handle type declarations or simple types. Needs
  • finding type declaration in CIF model,
  • notion of types in the transformation,
  • target-specific mapping of CIF data types to PLC data types, for the basic types (bool, int, real)
  • notion of types in the PLC code,
  • type equality and ordering
  1. Extract discrete variables from the CIF model, organize them by automaton, and generate variable tables and initialization of the variables for each supported PLC system. Needs
  • processing CIF model and storing found information by model (there should be previous art),
  • converting CIF discrete variables to PLC while keeping the connection between both (CIF reading or writing a variable must eventually generate access to its PLC equivalent),
  • constructing and writing tables of variables for each support PLC system (global variables?), and
  • constructing an initialization step in the generated PLC.

The "type equality and ordering" item in step 2 doesn't seem very needed at this point, and may be skipped as well.

Assignee
Assign to
Time tracking

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