Advertising

Syntax for command files (.CM)

  • Ok thanks. I did find out how to write to the MNUFRAME and MNUTOOL:


    Each element on the is equal to the XYZWPR respectively


    KCL SET VARIABLE $MNUTOOL[1, 1 ]= 1 , 2 , 3 , 4 , 5 , 6


    I am having trouble with the payload variables. they are all write protected even controlled start. Any ideas on how to get around this. I have something like this:


    KCL SET VARIABLE $PLST_GRP1[1].$COMMENT = 'Hello World'
    KCL SET VARIABLE $PLST_GRP1[1].$PAYLOAD = 12.706
    KCL SET VARIABLE $PLST_GRP1[1].$PAYLOAD_X = 0.0410
    KCL SET VARIABLE $PLST_GRP1[1].$PAYLOAD_Y = -1.3870
    KCL SET VARIABLE $PLST_GRP1[1].$PAYLOAD_Z = 3.2050
    KCL SET VARIABLE $PLST_GRP1[1].$PAYLOAD_IX = 0.9010
    KCL SET VARIABLE $PLST_GRP1[1].$PAYLOAD_IY = 1.3140
    KCL SET VARIABLE $PLST_GRP1[1].$PAYLOAD_IZ = 1.3140

  • Hi,
    anyone knows how to prompt user before continuing with cm execution?
    Something like press ok to continue, or press 1 to do this and 2 to do that...


    Thanks in advance

  • I am creating a CM load file, and Im trying to set the collision detection in there but I get variable write protected. If i create a TP program I can set collision guard, but isnt allowing me to in CM load, was using KCL variable.


    Is there something I am doing wrong or can I not do it unless in a TP load?? any advice would be great


    Thanks :help:


  • Hi,
    anyone knows how to prompt user before continuing with cm execution?
    Something like press ok to continue, or press 1 to do this and 2 to do that...


    Thanks in advance


    not possible afaik.



    I am creating a CM load file, and Im trying to set the collision detection in there but I get variable write protected. If i create a TP program I can set collision guard, but isnt allowing me to in CM load, was using KCL variable.


    Is there something I am doing wrong or can I not do it unless in a TP load?? any advice would be great


    Thanks :help:


    a .CM load file? can you elaborate?

  • When I run a TP program with this variable it works ;
    150: !Set Coll Guard to 140;
    151: $HSCDMNGRP[1].$THRESHOLD=140;
    ****************************************************
    Heres the CM file ive created and am trying to set collision guard within it..


    !
    PRINT "Set Coll Guard to 140"
    KCL SET VAR $HSCDMNGRP[1].$THRESHOLD=140
    !
    PRINT "Enable Coll Guard"
    KCL SET VAR $HSCDMNGRP[1].$COLL_MODE=True
    !


    And it gives me the write protected error


    Thank you,
    Derock

  • Has anyone found a way to set up the password protection system using .cm files? We are looking at 30-50 users on 90 robots, and i have had nothing but disaster trying to load SYSPASS files from robot to robot. Being able to go through and set up each robot with a cm file would be incredible.

  • Another useful CM file i would be interested in would be one that would read through the entire System Variable tree and print the name of the variable and the value. I would then be able to make small controlled changes and compare the print out before and after to narrow down exactly which system variable controls what parameters.

  • In attached a simple config that show how fanuc charge each option inside the controller.


    They create a simple orderfil.dat including the variuous option and then by using a simple usb or cf reboot the controller and select the option "software install" in boot mode.


    The CM file inside the device automatrically add each option inside the desidered path and load each components of controller.


    I found this by debugging a Fanuc mistake...


    Example of option charge



    Best regards


    :justice:


  • Has anyone found a way to set up the password protection system using .cm files? We are looking at 30-50 users on 90 robots, and i have had nothing but disaster trying to load SYSPASS files from robot to robot. Being able to go through and set up each robot with a cm file would be incredible.


    Hello, try this... else as you already used replace the syspass [it work well only on the same fw relase...]


    The following program cracks the rbt passwd, remember that in this case you will lost the older psw.


    Let us know.


    Regards


    M


    :dance2:

  • Is there a way to generate a Folder named like a System variable?

    I tryed with the KCL code but it dose not work. In Karel i got it work with this code:

    KCL('MKDIR UD1:\E'+$APPLICATION[3]+'',STATUS)

  • Another useful CM file i would be interested in would be one that would read through the entire System Variable tree and print the name of the variable and the value. I would then be able to make small controlled changes and compare the print out before and after to narrow down exactly which system variable controls what parameters.

    You can do that with Robogoide.


    In the Workcell tree, you can go to Variables, SystemVariables, right click, save, save as *.VA
    Then you get the ASCII Code of the System Variables.

    If you do that before and after your changes, you can compare the two files with a texteditor / compare program like Meld

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account
Sign up for a new account in our community. It's easy!
Register a new account
Sign in
Already have an account? Sign in here.
Sign in Now