Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

how to download the program into the PLC.

andy2008
2007-10-26
2009-06-16
  • andy2008 - 2007-10-26

    My computer is without serial port. How can I download the program? If possible for CAN, what should I do ?

    The controller is CR2500 from IFM

     
  • RolandWagner

    RolandWagner - 2007-10-26

    CoDeSys supports different bus physics, OEM may even create their own drivers for other interaces. Thus please contact your ifm dealer and ask him, which interface(s) are supported.

    The most common interfaces are TCP/IP, CAN and serial.

     
  • hatgine-amit - 2009-06-15

    To do Programming of PLC through CAN interface you can use EC2071 module it has USB port at PC side while CAN interface on other.

    Please find following link for details:

    http://www.ifm.com/ifmind/web/dsfs!EC2071.html m

     
  • spfeif - 2009-06-16

    With IFM via CAN and CoDeSys you need either IXXAT CAN hardware or PEAK USB. 3S supports almost all IXXAT hardware but only PEAK USB. If using PEAK there is a special setup I have the info but never tried it. If using IXXAT here is how to configure an IFM PLC for use with CAN:

    The IFM PLC has two Node ID's one for it's identity on the CANopen network and one for use with 3S gateway. The one used with the 3S gateway is called by IFM the download ID and can be change with an IFM library function. By defualt the value is 32.

    Go to CoDeSys menu ONLINE-COMMUNICATION PARAMETERS. A new window will appear. Select the "NEW" button on the right hand side, give it a name and select in the list "CANopen DSP302". You need to change the NODE ID to whatever your PLC is configured to and the baudrate. But for clearity here are the settings:

    NODE ID: 32 (Default for IFM )

    Node Send Offset: 1536

    Node Recv Offset: 1408

    Can bus baudrate: 125 ( Whatever your bus baud rate)

    Can card driver: CAN_VCI ( This is for IXXAT only, I don't know PEAK)

    Motorola byte order: NO

    hope this helps

     

Log in to post a comment.