Personal Data

Username:
jsaxin
Joined:
2020-10-13 11:12:54

Projects

  • No projects to display.

User Activity

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

    Alas, it turns out references cannot be put into arrays.

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

    Thank you. I will look into references.

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

    I have found that I never actually initiated the pointer. Please delete this thread.

  • Modified a comment on discussion Engineering πŸ‡¬πŸ‡§ on CODESYS Forge

    I have made an array of pointers to places in memory I would like to write to while treating them as a continuous block. But I cannot find the syntax for doing this as all examples of dereferencing has the pointer to the value being copied and not the one being overwritten. This triggers a runtime error at the assignment: IF xFirstCycle THEN apwPointers[0] := ADR(LagerD.Evaporator1.iDefrostHour1); xFirstCycle := FALSE; END_IF IF Slave.udiWriteAccessCounter <> udiWriteCounter THEN apwPointers[Slave.wWriteAddress]^...

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

    I have made an array of pointers to places in memory I would like to write to while treating them as a continuous block. But I cannot find the syntax for doing this as all examples of dereferencing has the pointer to the value being copied and not the one being overwritten. This triggers a runtime error: IF Slave.udiWriteAccessCounter <> udiWriteCounter THEN apwPointers[Slave.wWriteAddress]^ := awHoldingRegisters[Slave.wWriteAddress]; udiWriteCounter := Slave.udiWriteAccessCounter; END_IF

View All