Personal Data

Username:
stuartjr
Joined:
2024-03-15 19:12:39.577000

Projects

  • No projects to display.

User Activity

  • Posted a comment on discussion Codesys V2.3 πŸ‡¬πŸ‡§ on CODESYS Forge

    Pretty sure I know the answer, but thought I would ask just in case. Is there a way to set variables declared in a POU to private so that they can not be accessed from other POUs. I tried using the library pragma, but that just stops the variables being displayed in the selection tree. My compiler version is 2.3.9.62 if that's relevant, and I'm using an ABB AC500 V2 PLC. Cheers

  • Posted a comment on discussion Visualization πŸ‡¬πŸ‡§ on CODESYS Forge

    Is it possible to get scroll bars to show when displaying a web visualization in V2.3? I've got some big pages that I can scroll around when using the in-built visualization but when they are displayed in IE i can't seem to scroll around. All I can do it drag the window bigger onto my other display to get access to the extra area. I've also tried zooming the page out in IE but this doesn't seem to work at all.

  • Posted a comment on discussion Codesys V2.3 πŸ‡¬πŸ‡§ on CODESYS Forge

    So I think I've found a way to do what I want, but its a not as simple as I thought it would be. Essentially I've got to put my "logic" that decides what the GVL variable should be at the start of every task (rung 1). Then regardless of what the force is the variable will be set to what the logic decides.

  • Posted a comment on discussion Codesys V2.3 πŸ‡¬πŸ‡§ on CODESYS Forge

    OK.. so maybe I miss understood for how the forcing order works. It seems that the force list is applied at the beginning of every task call (I'm assuming this based on what I am seeing). If I force my variable FALSE and then write it TRUE in a task, then it stays TRUE for that task, but then in the next task it will go back to FALSE.

  • Posted a comment on discussion Codesys V2.3 πŸ‡¬πŸ‡§ on CODESYS Forge

    I also thought that if I had logic writing a value to this variable, then it would override the force anyway, since I thought that the force request was only applied at the beginning and end of the PLC scan. But this doesn't seem to be the case, the force persists throughout the logic regardless of what I write to the variable with logic

  • Posted a comment on discussion Codesys V2.3 πŸ‡¬πŸ‡§ on CODESYS Forge

    Is there a way that I can create a variable in a GVL that I can control with logic but a user can not put a force on this variable. I have looked at the access rights but this seems to only limit editing the GVL or POU. This variable will only be assigned a value in one POU but it will be used throughout many other POUs.

View All