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
  • #286

CIF to PLC transformation should not generate formal argument for 'NOT'

When transforming the Unary Inverse operator from CIF to PLC, we do

genFuncCall("NOT", true, "IN1", left);

However, NOT doesn't support a formal argument name in TwinCAT or Siemens S7.

As a result, when we enable formal function invocation we end up with syntax that is not supported:

#state1.dvar_M_aut_b := NOT (IN1 := DB.state0.dvar_M_aut_b);

We should set the formal argument name to null. We do that for ABS, SQRT, LN, LOG, EXP, SIN, COS, TAN, ASIN, ACOS, and ATAN as well.

Edited Jan 05, 2022 by Ferdie Reijnen
Assignee
Assign to
Time tracking

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