Results 1 to 5 of 5

Thread: heart beat cr2532

  1. #1
    Join Date
    Oct 2016
    Posts
    22

    Default heart beat cr2532

    I have an issue on the topic of heartbeat,
    in the cr2532
    I make the interface initialization process using three functions canopen_enable, can_setdownloadid , can_enable
    I start the EX side as producer and the sta side is the consumer
    Also I use the ifm_NetVarLib_NT_V020004.lib library function ?CANOPEN_GETGUARDHBERRLIST? in order to monitor heartbeat error
    While working, I noticed three scenario:
    1. when we power on the system, and the communication cable between ST side to EX is not connected.
    "CANOPEN_GETGUARDHBERRLIST" function does not detect the heartbeat problem.
    2. when I power on the system and the Cable between sides ST and EX is connected ,
    and only after the system has finished boot , we unplugged the cable the function detects the heartbeat problem.
    3. After scenario 2 when the cable still disconnected I performed boot process to the CAN interface, after that the function "CANOPEN_GETGUARDHBERRLIST" not detected that the cable is disconnected

    Does the function "CANOPEN_GETGUARDHBERRLIST" need to detect heartbeat once in order to work properly?
    In addition, after the interface initialization, the function "CANOPEN_GETGUARDHBERRLIST" also should identify a normal heartbeat in order to work correctly?

    thank you in advance

  2. #2
    Join Date
    May 2009
    Location
    Minneapolis, MN
    Posts
    299

    Default

    Do you have the EDS file in the PLC configuration on the ST side?

  3. #3
    Join Date
    Oct 2016
    Posts
    22

    Default

    Hi Erik
    yes I have the EDS file of the EX in the ST side attached the configuration I
    made.
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	cr2532 Wiring.jpg 
Views:	123 
Size:	31.8 KB 
ID:	362   Click image for larger version. 

Name:	cr2532config.jpg 
Views:	138 
Size:	112.1 KB 
ID:	363  

  4. #4
    Join Date
    May 2009
    Location
    Minneapolis, MN
    Posts
    299

    Default

    That all looks correct. Sorry I don't know why its not showing up.

  5. #5
    Join Date
    Oct 2016
    Posts
    22

    Default

    thank you for your effort
    I think the problem is that the interface need to recognize boot up message
    and only then the function will work properly.
    in case of power ON the system when the line is broken , there is no boot up message and then the function don't no which device its should expect heartbeat

Posting Permissions

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