Posts by IlFincoITA

    Hi! i'm sending trought PROFINET BUS an array of CHAR coming from a PLC... following my steps...


    In config dat I've declared:


    SIGNAL ProdReName1 $IN[97] TO $IN[104] ;This is the first BYTE that contain a CHAR

    SIGNAL ProdReName2 $IN[105] TO $IN[112]

    and so on for 60 bytes

    DECL GLOBAL CHAR ProdReName[60]; Array of 60 CHAR per campo "Nome Prodotto"



    In SPS.SUB there is:


    ProdReName[1] = ProdReName1

    ProdReName[2] = ProdReName2

    ProdReName[3] = ProdReName3

    ProdReName[4] = ProdReName4

    ProdReName[5] = ProdReName5

    ProdReName[6] = ProdReName6



    Now when I visualize the variable ProdReName1 it contains correctly the ASCII value expected from PLC but when I visualize ProdReName[1] it contains nothing... did I missed something?

    It seems to me that the hibernate shutdown can cause many problem. What is your experence?


    In my case it is a potential lead to disconnecting problems and missing HMI load. In many cases I had to connect an external monitor and keyboard to be able to load the HMI interface. Or I had to disconnect the battery to reboot a cold start. KUKA discourage the use of hibernate... if I understand it right. The problem is that for many clients it is very usefull.

    Hi! I'm programming a glue path using spline block. At the beginning of the spline I need to "DISPENSING ON". The glue need a little time to exit from the head so ideally I must anticipate the "DISPENSING ON". I want to use TRIGGER WHEN PATH but I do not understand if what I'm using here is right because it seems not to work.


    If I understand it right 150 milliseconds pefore the robot arrives on "DepCollaZona1_DX_P0" the output goes on...

    What if I use "TRIGGER WHEN PATH = -10 DELAY = 0 DO O81_Dispensing = TRUE". Does It work on the first point of the spline? Moving from Over_DepCollaZona1_DX to DepCollaZona1_DX_P0 on the path between those two points the dispenser is turned on 10 mm before DepCollaZona1_DX_P0 right? The path is a movement parallel to ZX plane in tis case.



    SLIN Over_DepCollaZona1_DX Vel=2 m/s CPDAT221 Tool[1]:GLUE Base[2]:POS2


    SPLINE Deposito_Colla_Zona1_DX Vel=2 m/s CPDAT176 Tool[1]:GLUE Base[2]:POS2

    TRIGGER WHEN PATH = 0 DELAY = -150 DO O81_Dispensing = TRUE

    SPL DepCollaZona1_DX_P0 Vel=2 m/s CPDAT216 ColDetect=

    SLIN DepCollaZona1_DX_P1 Vel=0.32 m/s CPDAT187 ColDetect=

    SLIN DepCollaZona1_DX_P2 Vel=0.32 m/s CPDAT187 ColDetect=

    SPL DepCollaZona1_DX_P2a Vel=0.25 m/s CPDAT208 ColDetect=

    ...

    ...

    ENDSPLINE

    IS there a limit to the number of TRIGGER WHEN DISTANCE? I remember 4... but what if instead I use a TRIGGER calling a subprogram with multiple SET/RESET...


    Example:


    TRIGGER WHEN DISTANCE = 1 DELAY = 0 DO O117_EN_Eject_BWD=TRUE

    TRIGGER WHEN DISTANCE = 1 DELAY = 0 DO O116_EN_Eject_FWD=TRUE

    TRIGGER WHEN DISTANCE = 1 DELAY = 0 DO O119_TableAreaFree=TRUE

    TRIGGER WHEN DISTANCE = 1 DELAY = 0 DO O120_EN_RotTav=TRUE

    TRIGGER WHEN DISTANCE = 1 DELAY = 0 DO O106_RobotFI_TEST=TRUE

    PTP HOME Vel= 100 % DEFAULT


    or:


    TRIGGER WHEN DISTANCE = 1 DELAY = 0 DO MyCall() PRIO=-1

    PTP HOME Vel= 100 % DEFAULT


    ...


    DEF MyCall()

    O117_EN_Eject_BWD=TRUE

    O116_EN_Eject_FWD=TRUE

    O119_TableAreaFree=TRUE

    O120_EN_RotTav=TRUE

    O106_RobotFI_TEST=TRUE

    END

    Hi! The image was just to say that I open two different .src from the same controller and viewed in raw format one of them shows "CRLF" and the other no. Anyway this is not important.


    I found one of the error at the beginning of .DAT file the line:


    DECL MODULEPARAM_T LAST_TP_PARAMS={PARAMS[] "Kuka.VelocityFieldEnabled=True; Kuka.ColDetectFieldEnabled=True; Kuka.MovementParameterFieldEnabled=True;


    It has this caracters "} in colums 3245





    panic mode I'm so grateful for your thime sorry if I did something wrong...

    I've started rolling back the .src file deleting all the subroutines and leaving only one of them. Now the spline block is editable but once confirmed I get this messge (Picture 1).


    I've created e new program and inserted a block spline and few points. Everything is just fine. So the problem is my old.scr or .dat this is corrupted somewhere.


    I've reloaded the old file and discover that there are 4 copile errors... no way to understand what they are (Picture 2).


    I've tryed to edit a block spline into my old file ad a more complete description of the problem pops up. It indicates errors referring to some lines. Does anyone know if this can tell something? I'm referring to those numbers 61:16, 61:22, 61:27 and 61;56 (Picture 3)

    Hi! I didn't figure it out how to solve this problem but besically something is went wrong when I've inserted the spline block. Usually I use INSERT,SPLINE BLOCK then I open the folder and inserti the point one by one. A friend suggested to me to make some room before insert the points. The problem is that I can't edit the spline already inserted but I can not insert new spline...

    The only way is to make a spline into a new program then copy the spline block and it's .DAT parameters and point back into the old .SRC and .DAT file.


    Somewhere .SRC or .DAT is corrupted... but it is impossible to discover where...

    Hi! I have some problem with a spine block. As soon as I try to edit it (trought the inline form) an error pops up with the message " Unable to parse open SRC or corresponding DTA file. Bla, Bla, Bla..."


    I really do not know where te error is. I compare the spline block with others but didn't find any difference... into the syntax


    Here the spline block:


Advertising from our partners