Skip to content

Interbus remote devices in PLCnE Project

Hello,

 

I need to convert a PC Worx Interbus project to PLCnE with AXC F 2152 and AXC F XT IB.

But I don´t find any device library that includes FLS and IBS devices. So I can not include the devices in my project.

Also, I would like to know how to include not from Phoenix interbus devices in my project.

 

Thanks

Angel

Comments

  • Hello Angel,

    you don't need to include the device library, please dobble click to axcf2152 in the PLANT area in PLCnext Engineer and select the device under Extention module.

    ETH_Mod.gif

    Best,

    Eduard

  • Hello Eduard,

     

    I mean about interbus AXC F XT IB Module and not the ethernet extension module.

    After including the interbus AXC F XT IB module and the interbus physical library I don´t know where to find interbus remote modules such FLS IB M12 DI8 M12.

    Also, I would like to know how to include another external (not from Phoenix) interbus devices in the project.

     

    Thanks,

    Angel

     

  • Hello Angel,

    it's the same way, you have select the AXC F XT IB as Interbus Hardware Extention. After that you will find the AXC F IL ADAPT/AXC XT IB node in the PLANT area. Please also include the FW library "Inline" and "Interbus physical"

    AXC XT IB under Librarys in the COMPONENTS area.

    Best,

    Eduard

  •  Additionally you can also include in your PN busconfiguration IL PN BK-PAC and then configure the needed IL-devices under this IL PN BK.

     

    After including the interbus AXC F XT IB module and the interbus physical library I don´t know where to find interbus remote modules such FLS IB M12 DI8 M12.

    -> I'll try to configure this module and give you a feedback as soon as possible.

     

    Also, I would like to know how to include another external (not from Phoenix) interbus devices in the project.

    -> In this case you have to import the GSDML-data to PLCnEng.

     

    Best Regards

    Eduard

  • Hello Eduard,

     

    yes you are right but what I'm trying to use are remote IB Devices such as FLS IB M12 DI8 M12.

    The GSDML files don´t not work for me when I import them, neither in GSDML V2. format nor GSDML format.

     

    thanks,

    best regards

     

    Angel

     

     

     

     

     

     

  • Hi Angel,

    I am not so familiar with this module, but I have just been chatting with Oliver here an we believe that you cannot (currently) configure this module in the same way as you configure the Inline bus, or the Axioline bus in PLCnext Engineer, i.e. by dragging and dropping I/O modules from a library.

    What is required, we think, is to add the IB256 "module" to the AXC XT IB extension module, and then use the IB_CONTROL_NEXT function block in your PLCnext Engineer program to send a series of commands to the IB module, to initialise it and start it running.

    Then, you will be able to access the I/O for each of the actual Interbus modules on the bus ... somewhere in the 256 bytes of Input and Output data on the IB master module. Exactly where the data is located for each I/O module will take some figuring out.

    If you want to go down this road, then:

    • You can check the source code for the BusConductor app to see what commands you need to send to the IB master to get it configured and running.
    • If you need to configure any of the I/O modules, then you will need to use the PCP_WRITE function blocks (or the AsynCom Library from the PLCnext Store) to send configuration data to the I/O modules.
    • You will also need to figure out where in the 256 bytes of I/O, the I/O for each of the interbus modules is located (we may be able to help you figure that out).

    This will be a quite difficult exercise, and not at all easy for an end-user. If you really need to do this, and you need more help, please let us know.

    Martin.

     

  • Hello Martin,

     

    Ok, then I guess that the library IB_Master_Control_1 must be used, musn´t it? 

    Is there any example?

    This library is installed with the PLCnE 2019.6 Version.

     

    Thanks,

    Angel

  • Hello Martin,

     

    I'm reading the library but it seems not to be the library to configure an interbus but to starting/switching devices and diagnostic.

    First thing I need is to configure the bus.

    In PC Worx the FB that configures the bus is IBS_Para_V0_01 I think.

    I guess the bus configuration should be in PLCnE done with the IB_Control_Next FB.

     An example would be nice.

     

    Angel

  • Hi Angel,

    I wasn't aware of that FB Library - it is a PLCnext Store app that seems to have been released in the last week or so. This library will make the procedure I mentioned a little easier.

    We don't have any examples of using this FB library at the moment - the quickest way to get this may be to contact the App developer through the PLCnext Store (i.e. the "Contact Developer" button on the top of the App page) and ask if they have any examples they can share. If you have no joy there, please let me know and I will try other channels.

    Martin.

  • I think the FB IBM_InterbusStartup (with one IBM_IBC_Socket instance) can be used to start up the Interbus network.

    Martin.

  • You should not need to use the IB_Control_Next FB directly - I think that this is used by the IBM_InterbusStartup FB to configure the bus.

    If this library works anything like the BusConductor app, then it will scan the network during startup and then start the bus using the devices that it finds during that discovery process. There is no need (and perhaps no way) to manually specify individual devices on the Interbus network.

    You will still need to include the one-and-only IB256 "I/O Module" under the Interbus Master, in your PLCnext Engineer project.

    Martin.

  • Hello Martin,

     

    at the end of the AXC F XT IB application note there is a little example about how to read and run an interbus configuration.

    The function IB_CONTROL_NEXT is used in order to do it.

    Unfortunatly over there it is not explained how to create a bus configuration.

    I suposse it must be done the same way as before, with the same interbus services and the IB_CONTROL_NEXT FB.

     

    Im not sure if the IB_Master_Control Library (in the store) is prepared to create a bus configuration because I have not found any data type prepared to implement for instance the "Device Level" "Group Alternative" etc...

    Best regards,

    Angel

     

  • Hi Angel,

    The Application Note you mention was probably written before the IB_Master_Control FB library was available, which would explain why it uses the IB_CONTROL_NEXT function block directly.

    However, you should try using the IB_Master_Control library as follows:

    1. In the PLCnext Engineer project, create a project with the AXC F XT IB module enabled.
    2. In the PLCnext Engineer project, add one single I/O module of type IB256.
    3. In the Main program, create an instance of IBM_IBC_Socket and pass a variable of the correct type as the In/Out parameter.
    4. Create an instance of IBM_InterbusStartup and pass the same parameter from the Socket FB.
    5. Download the project to the PLC.
    6. Set the Activate flag on the IBM_InterbusStartup function block instance. The Interbus network should start up OK.

    You can now access the I/O for all devices on the network.

    There is no need (and perhaps no way) to manually specify individual devices on the Interbus network.

    If you want to read the structure of the network (includng all the interbus devices), this should be possible using the IBM_GetBusStructure function block. This should help you figure out where the device I/O is located in the IB256 array.

    - Martin.

     

  • Hello Angel,

    please find a example for Interbus configuration on the product site of AXC F XT IB - 2403018 -> Downloads->  INTERBUS startup with the AXC F XT IB leftalignable Axioline F extension module in PLCnext Engineer.

    https://www.phoenixcontact.com/online/portal/de/?uri=pxc-oc-itemdetail:pid=2403018&library=dede&pcck=P-21-14-01&tab=1&selectedCategory=ALL

     

    I talk abou the possibility of Interbus configuration (via RB-T device) with product manager, and he talk to me, that the requirement is already exists but will be not implemented in the next time.  Currently we have a only possibility to include the FLS IB M12 DI8 M12 modul via IB256 process data node (as described from Martin).

    Best Regards

    Eduard

Sign In or Register to comment.