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
  • #74
Closed
Open
Issue created May 03, 2021 by Ferdie Reijnen@freijnenDeveloper

PLC code generator should not generate an error when folder does not exist.

When the IEC 611310-3 option is selected as output type, it gives an error when the Output file path does not exist:

ERROR: Failed to write PLC code: path "<currentPath>\<outputPath>" does not exist, or is not a directory.

This is very annoying as making the folder is something that you often forget to do and is also not necessary per se.

Instead of generating an error, the folder should be created or the current folder should be used. Currently, the default output folder is postfix _plc. However, other tools such as Java code generation use the current folder as the default output folder.

Note that the TwinCat output option also expects a folder and gives an error otherwise. However, for TwinCat there should also be files present in that folder. You are much less likely to forget to create the folder in that case.

Edited May 03, 2021 by Ferdie Reijnen
Assignee
Assign to
Time tracking

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