Activity for loganr4l

  • loganr4l loganr4l posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Ah the funny thing is I am turning everything into Arrays anyways for other purposes! Reading through this there were a couple of new things I haven't seen, I looked them up and learned some new functions. I will probably end up doing something like the first example you gave. Thank you so much for your time and detailing. I am learning a lot from all the help!

  • loganr4l loganr4l posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    I am sure you are busy, and I thanks for your help and your time good sir.

  • loganr4l loganr4l posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    oh man i messed up, I edited my mistake

  • loganr4l loganr4l modified a comment on discussion Engineering πŸ‡¬πŸ‡§

    Maybe there was to much garbage, the variables being INT. IF iVar1 = iVar10 OR iVar1 = iVar10 OR iVar1 = iVar10 OR iVar1 = iVar10 THEN DoTask := TRUE; END_IF EDIT!!!! IF iVar1 = iVar10 OR iVar2 = iVar10 OR iVar3 = iVar10 OR iVar4 = iVar10 THEN DoTask := TRUE; END_IF

  • loganr4l loganr4l posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Thank you kindly for your time I, I like the method you prescribe! But it sounds like its not possible to compare multiple variables collectively against one.

  • loganr4l loganr4l posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Maybe there was to much garbage, the variables being INT. IF iVar1 = iVar10 OR iVar1 = iVar10 OR iVar1 = iVar10 OR iVar1 = iVar10 THEN DoTask := TRUE; END_IF

  • loganr4l loganr4l posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Much cleaner thank you for the tip!

  • loganr4l loganr4l posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Example of what I am doing. Can this be simplified, especially if I am using more variables. IF PVL.dut_PonyGroupSettings.ProcessVariable_ci = GVL.c_ai_DischargePressure OR PVL.dut_MidGroupSettings.ProcessVariable_ci = GVL.c_ai_DischargePressure OR PVL.dut_MainGroupSettings.ProcessVariable_ci = GVL.c_ai_DischargePressure OR PVL.dut_HFGroupSettings.ProcessVariable_ci = GVL.c_ai_DischargePressure THEN DoTask := TRUE; END_IF

  • loganr4l loganr4l posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Need to see the code. Some things to keep in mind. You must start the the program program even in simulation mode. The ladder must be in some way tied into the tasks, for example the ladder POU could be directly tied to a task on an interval, or it could be called from another POU that is on a interval task.

  • loganr4l loganr4l posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    I am new to codesys, and later to the conversation. I am currently recreating a large dynamic program using a ABB PLC that uses Automation Builder (which is just ABB's usage of Codesys). In the ABB PLC documentation I saw that the retention is being held by a super cap that would last about 16 days. This would simply not work for my application. I am utilizing the recipe manager and the external micro sd card to retain all of the settings and values daily for the system. So far it is working well...

1