Personal Data

Username:
mike-at-gms
Joined:
2020-03-12 15:12:46+00:00
Location:
United States / EDT
Gender:
Male

Projects

  • No projects to display.

Skills

  • No skills entered.

User Activity

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

    Thank you @i-campbell. Using testBools[x] in the mapping does work. I am trying to pass these points along to a client over a network and I would like to just send a bunch of Bytes (without manually converting them). The BOOL type does not map nicely to Bytes. I would like to do something like: InputBytes : ARRAY[0..9] OF BYTE; and then use 'InputBytes[0].2' in the mapping. However, this will not even compile. Using an array of BOOL makes the network sending messy. The benefit of the Union is that...

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

    Hi, I am trying to cleanup some variable mapping. I have an I/O device that has its points defined as BIT. I would like to map these into an array of something but I cannot use an array of BIT. Mapping to an array allows me to access bits through a common FB so I only need to map the points once. I have created a Union based on a Forum response (https://forge.codesys.com/forge/talk/Engineering/thread/9613d49992/) and it seems to do what I would like. However, when I map the bits to my device, I get...

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

    Hi, I am trying to cleanup some variable mapping. I have an I/O device that has its points defined as BIT. I would like to map these into an array of something but I cannot use an array of BIT. Mapping to an array allows me to access bits through a common FB so I only need to map the points once. I have created a Union based on a Forum response (https://forge.codesys.com/forge/talk/Engineering/thread/9613d49992/) and it seems to do what I would like. However, when I map the bits to my device, I get...

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

    I did not know about the device configuration option, thank you. I have an 'axis' function block that encapsulates all the functionality of an axis. All the MC function blocks are included and cyclically called based on inputs to the main FB. My motion FB's are all called the same way, which is why this error is so frustrating. I cannot see any difference between my calls to MC_Power or MC_MoveAbsolute and my call to MC_Home. I would expect a different error if my drive object was not configured...

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

    I am using Servotronix CDHD, Yaskawa Sigma 7 and Oriental Motor stepper drives. The CDHD is the drive I am currently trying to home. I can also home the axis directly from the drive so that is not the problem. Thank you.

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

    I am using Servotronix CDHD, Yaskawa Sigma 7 and Oriental Motor stepper drives. The CDHD is the drive I am currently trying to home. I can also home the axis directly so that is not the problem. Thank you.

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

    Hi, I have a motion project that is working fine except when I call MC_Home. My axis (AXIS_REF_SM3) is enabled, at Standstill, and I can move the axis just fine. But, when I enable my MC_Home FB, it aborts right away and the axis object (not the FB) gets a "smc_fb_wasn't_called_during_motion" error. One odd thing is that the 'instance' of the SMC_FBError is zero: All of my motion FB's are on the EtherCat task so that is not the issue. If I replace the axis object with a virtual axis (AXIS_REF_VIRTUAL_SM3)...

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

    Hi, I have a motion project that is working fine except when I call MC_Home. My axis (AXIS_REF_SM3) is enabled, at Standstill, and I can move the axis just fine. But, when I enable my MC_Home FB, it aborts right away and the axis object (not the FB) gets a "smc_fb_wasn't_called_during_motion" error. One odd thing is that the 'instance' of the SMC_FBError is zero: All of my motion FB's are on the EtherCat task so that is not the issue. If I replace the axis object with a virtual axis (AXIS_REF_VIRTUAL_SM3)...

View All