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
  • Issues
  • #286
Closed
Open
Issue created Jan 05, 2022 by Ferdie Reijnen@freijnenDeveloper

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