Load Configuration files to Omnicore with RS2024 RoboWare 7.18.1

BiteBytesButes
edited April 28 in RobotStudio
Hi All, 
Please:

I am trying to figure out the way to Load to the Controller the EIO, without use the USB stick in the FlexPendent.
I saw a post about this matter, but really, it is not clear with the procedure to be used. 
When I am trying to load the EIO.cfg file, is reported an error.
I did already a double check and all seems fine with this syntax, so, I think is better to use the RS to can do this in an easier way.
i.e. I am using this kind of approach below for the Inputs and outputs:

These details about the Ethernet connection are on the top of the EIO.

DOEIO:CFG_1.0:6:1::
#
ETHERNETIP_INTERNAL_DEVICE:      -Name "EN_Internal_Device" -VendorName "ABB Robotics"\      -ProductName "EtherNet/IP Internal Adapter Device"


#ETHERNETIP_DEVICE:               -Name "EN_InternalDevice" -Label "CompactLogixETH"\      -Address "192.168.10.130" -SubnetMask "255.255.255.0" -Gateway "0.0.0.0"


Then this comes from there a long list of I/O. First all Outputs, then all Inputs.

The structure below is typical of what I have:

 #0 GO        -Name "RobotSpeed" -SignalType "GO" -Device "EN_InternalDevice"\       -Access "All" -Label "ROBOT>PLC DINT 00-31-0 Data[0]"-DeviceMap "0-31" 


SYSSIG_OUT:
#7 DO-Status "MotorOn" -Signal "MotorOn_Status"               

 #100 DI   Sets the controller in the Motors On state      -Name "MotorON_Cmd" -SignalType "DI" -Device "EN_InternalDevice"\       -Access "All" -Label "PLC>ROBOT DINT 00-31-0 Data[0].0"-DeviceMap "0" 



SYSSIG_IN:  
#100 DI-Signal "MotorON_Cmd" -Action "MotorOn"                   -Arg1 "Continuous"


Any tips?

Thank you gents!
3B
Post edited by BiteBytesButes on

Best Answers

  • KennyJiang
    Answer ✓
    It seems that RW7.18.1 is the most updated version. Try RS2025 instead of RS2024.
  • KennyJiang
    Answer ✓
    Hi 3B,

    I tried with RS2025 and RW7.18.1 on the 2 cases you mentioned above. An add-in called 'I/O Engineering' that should be installed automatically when installing RW7 is used for some I/O configuration function.

    For issue 421 -Status "CycleOn" -Signal "CycleON_Status"                #Program is executed (System output: CycleOn), I configured this system output through 'I/O System' and 'Controller' in the configuration of a virtual controller. The result is:
    (in EIO config) 
    -Name "CycleOn" -SignalType "DO" -Access "All"
    (in SYS config) -Name "CycleOn" -Status "CycleOn"

    For issue -Name "RobotAtPosition_InspectionRECPP3Out" -SignalType "DO" -Device "EN_InternalDevice"\  
          -Access "All" -Label "ROBOT>PLC DINT 257-287-102 Data[8].1"-DeviceMap "257", I configured it through I/O Engineering, and fixed 2 problems (1) the name of the signal is too long, which should be less than 32 for a string (2) the devicemap 257 is outside EN_InternalDevice
    After adjustment, in the EIO config, it looks like: 
    -Name "RobotAtPos_InspectionRECPP3Out" -SignalType "DO"\
          -Device "EN_Internal_Device" -Label "ROBOT>PLC DINT 257-287-102 Data[8].1"\
          -DeviceMap "1" -Access "All"

    I would suggest to work on IO in RS directly other than working on the config file. Once the RW version in RS is selected correctly, there should be no format issue for the configuration.

Answers

  • Hi Kenny, thank you!
    Sure, I can try something like that, but the my idea here is how to load the EIO and other files to the Controller using the Robot Studio. I never did this before.
    Tks!
    3B
  • Select 'Controller', then select 'Load Parameters' under 'Configuration' section. Select EIO file to be loaded in the popped out window, and select the way to load the file (usually 'Delete existing topic and load instances' is preferred).
  • Hi Kenny
    Great support from you, thank you!

    I have now the RS2025, following per your suggestions.
    I am getting now this error regarding the version indicated as:

     "The version string in configuration file EIO_MDX.cfg has illegal format"
    (my EIO head >> EIO:CFG_1.0:6:1::)


    1st Error message: 
    Re-edit the configuration file and change the version string according to this layout:  "domain":CFG_1.0:"version":"revision"::.


    2nd Error message:
    The cfg domain version is wrong in file EIO_MDX.cfg. This version of RobotWare is made for reading domain EIO with version 7.0.

    My doubt now is: Where can I  modify the EIO to version 7?. (I tried to change the head name to EIO:CFG_1.0:7:1::  but this does not solved the issue. 


    Seems that the documentation is a little weak in this explanation, or maybe I'm not looking in the right place.

    Thank you!
    3B
  • Hi Kenny,
    I forgot to tell....When I try to create a new configuration file, I have enable just the version 6.01 (and other older versions). I do not have the version 7 in the RS2025 as required.
    I presume this is an Add-In, could be?
  • Hi Kenny,
    I think I solved the issue with the cfg version, I changed the head reference to EIO:CFG_1.0:7:0:: manually.
    Seems being "working".

    Now, I am getting some errors like:
    ..The name or the value of attribute '#Program' in line 421 in file EIO_MDX.cfg is not recognized.

    The line 421 is that one:
    #10 DO
    421 -Status "CycleOn" -Signal "CycleON_Status"                #Program is executed (System output: CycleOn)

    I do not have any attribute "Program" in this line. 


    This is other error:
    Missing instance name on line 391 in file EIO_MDX.cfg.

    The line 391 is that one:
    #102 DO   
          -Name "RobotAtPosition_InspectionRECPP3Out" -SignalType "DO" -Device "EN_InternalDevice"\  
          -Access "All" -Label "ROBOT>PLC DINT 257-287-102 Data[8].1"-DeviceMap "257"


    This line will be the signal in the I/O that will tell me (to the PLC) that the TCP is in a certain position, I have about 50 positions to be recognized.
    I will still have to develop this part that will tell me the value of TCP


    Other think that I solved was, I was using "Signal" instead of "Name" in the SYSSIG_IN:

    Now fixed:
    #100 DI
    -Name "MotorON_Cmd" -Action "MotorOn"                   #Switch ON motors request (System input: MotorOn).
    -Arg1 "Continuous"


    Thank you, really appreciated your support on this!
    3B

  • Hi Kenny, great support!
    I will check....thank you!
    3B
  • Hi Kenny

    I followed all your instructions.
    It's desperate to realize what's wrong, I read the HELP file from RS, Manuals....
    What can be wrong here?
    The Controller does not have any file loaded inside him, the EIO is the first one that I am trying to load.

    *************************

    Error:
    Missing mandatory attribute Name on line 940 in file EIO_MDX.cfg.

    Line 939 and 940:
    -Name "MotOnStart" -Action "MotOnStart"             
    -Arg1 "Continuous"

    *************************

    Error:
    Missing mandatory attribute Name on line 958 in file EIO_MDX.cfg.

    Line 957 and 958:
    -Name "Pp to Main" -Action "Pp to main"             
    -Arg7 "T_ROB1"


    *************************

    Error:
    Missing instance name on line 859 in file EIO_MDX.cfg.

    Line 859 and 859:
    -Name "RegainDistError" -Status "RegainDistError"             
    -Arg1 "ROB_1"

    Error:
    The attribute name 'SubnetMask' is not recognized.
    Below what I have in the EIO:

    ETHERNETIP_DEVICE:
             
          -Name "EN_InternalDevice" -Label "CompactLogixETH"\
          -Address "192.168.10.130" -SubnetMask "255.255.255.0" -Gateway "192.168.10.1"


    Regarding to the error ('SubnetMask' is not recognized) should I load first the I/O Engineering?

    Each time that I am trying to load the file, the error is different.

    Really appreciated your support.
    Thank you!
    3B


  • DenisFR
    DenisFR ✭✭✭
    Hello,
    When lines are split, you should have "\" at end of firsts (858).
    For SubnetMask, test by omitting it. Same for Gateway, I thinks.

    ☑️2024 - RobotStudio® User Group

  • Hi Denis,
    Thank you for your support.

    Yes, was one of the errors, after that I found "Incorrect character encoding"...names, tag sizes i.e....
    I was able to load into the controller.

    Now I have a new doubt:
    I am doing the I/O Engineering, the EN_Internal_Device and the Scanner as (EtherNetIP_Generic_Device).
    And, the Signal Editor will be exactly the same. I mean, seems that are needed both the EN_Internal_Device and the Scanner apart from being the same.
    I supposed that was just needed the 
    EN_Internal_Device.
    Is this correct?

    I don't know if I was able to explain myself
    Thank you! really appreciated!
    3B