Results 1 to 4 of 4

Thread: ifm_CR0032_CANopenXMaster_V020101.lib Error 4114

  1. #1
    Join Date
    May 2009
    Posts
    87

    Default ifm_CR0032_CANopenXMaster_V020101.lib Error 4114

    Trying to use CAN3 on Cr0032 as CANopen master. Wanted to use CAN3_MASTER_STATUS function block, so added ifm_CR0032_CANopen3Master_V020101.lib. This results in 97 instances of Error 4114 "One of the constant indexes is not within the array range" related to various CAN3_MASTER_EMCY_HANDLER, CAN3_MASTER_SEND_EMERGENCY, & CAN3_MASTER_STATUS items.

    Tried changing different constants in CanOpen implicit Variables without any success. I'd appreciate any guidance that can be provided. Thanks.

  2. #2
    Join Date
    Aug 2009
    Location
    ifm Exton, PA
    Posts
    196

    Default

    Did you add the CANOPEN masters in the PLC config? I just created a project and it compiled fine. See attached program
    Attached Files Attached Files

  3. #3
    Join Date
    May 2009
    Posts
    87

    Default

    Figured it out, only had one CANopen Master in PLC Configuration. Needed to add two MOREto use CAN3 as master (screen shot attached).

    Click image for larger version. 

Name:	Capture.JPG 
Views:	68 
Size:	31.7 KB 
ID:	368

  4. #4
    Join Date
    May 2009
    Posts
    87

    Default

    Jeremy,
    That was the issue. Missed your reply while I was typing mine. Thanks for the response.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •