Personal Data

Username:
shane2977
Joined:
2020-04-18 19:19:12

Projects

  • No projects to display.

User Activity

  • Posted a comment on discussion Engineering on CODESYS Forge

    I got it. The data types were DINT's. It's an Allen Bradley thing. You can operate on data using DINT's in AB but it rounds and drops the decimal. Codesys doesn't like that apparently. When I read your post and saw the REAL values it made me realize my mistake (see what I did there). I had to switch all the variables to REAL. Thanks for your help again, super appreciate it :)

  • Posted a comment on discussion Engineering on CODESYS Forge

    Hi guys, I feel a bit dumb having to ask this but how do I insert a number into my structured text program? For example: This doesn't work PercentBuilt := 100*CutMath.Layer / CurrentData.SetGroupNumber; This does. OneHundred initialized with 100 PercentBuilt := OneHundred*CutMath.Layer / CurrentData.SetGroupNumber; I've been searching for a while but I can't seem to think of a search string that will get my answer. Putting number or value in a programming search brings back all kinds of unrelated...

  • Posted a comment on discussion Engineering on CODESYS Forge

    Thanks for getting me straightened out i-campbell. I came across the lower and upper bound operators while searching for my answer but it always seemed to have something to do with setting the size of an array dynamically so I just dismissed them. I really like the tip with the global constants. I will definitely incorporate that into my programs going forward. Thanks Again

  • Modified a comment on discussion Engineering on CODESYS Forge

    Hi all, I'm pretty new to ST programming. I've mainly used ladder (Allen Bradly) up till now. I've done some basic ST and FB programming. I'm seeing more and more ST in my area and I want to become fluent in it. To this end I'm working through a great course on Udemy called PLC Object Oriented Programming :Advanced Infrastructure. I'm working on Excercise 2 which is to program a sequenced startup of 5 motors. One of the objectives is to be able to easily add more motors to the program. I've created...

  • Modified a comment on discussion Engineering on CODESYS Forge

    Hi all, I'm pretty new to ST programming. I've mainly used ladder (Allen Bradly) up till now. I've done some basic ST and FB programming. I'm seeing more and more ST in my area and I want to become fluent in it. To this end I'm working through a great course on Udemy called PLC Object Oriented Programming :Advanced Infrastructure. I'm working on Excercise 2 which is to program a sequenced startup of 5 motors. One of the objectives is to be able to easily add more motors to the program. I've created...

  • Posted a comment on discussion Engineering on CODESYS Forge

    Hi all, I'm pretty new to ST programming. I've mainly used ladder (Allen Bradly) up till now. I've done some basic ST and FB programming. I'm seeing more and more ST in my area and I want to become fluent in it. To this end I'm working through a great course on Udemy called PLC Object Oriented Programming :Advanced Infrastructure. I'm working on Excercise 2 which is to program a sequenced startup of 5 motors. One of the objectives is to be able to easily add more motors to the program. I've created...

View All