RobotStudio event

Weekly Backup with Recovery in RAPID/ Wöchentliches Backup mit Nachholung in RAPID

Hi everyone,

I’ve successfully created a RAPID program that triggers an automatic backup on my ABB robot every Tuesday. If the robot happens to be powered off on that day, the backup is executed as soon as it’s powered back on.

However, the problem arises with robots running Robware version 05.xx.xx. For these, I get the following error message: "2600-101012/RAPID/T_ROB1/AutoBackup(41,12): Type error (56): Type signaldo for the left operand of the operator "=" or "<>" is not of type "value" or "semi-value"." I’ve also attached a screenshot.

What do I need to do differently for these older robots to make it work? I appreciate any help.

Hallo zusammen,

ich habe erfolgreich ein RAPID-Programm erstellt, das jeden Dienstag ein automatisches Backup auf meinem ABB-Roboter auslöst. Sollte der Roboter an diesem Tag ausgeschaltet sein, wird das Backup ausgeführt, sobald er wieder eingeschaltet wird.

Allerdings tritt das Problem bei Robotern auf, die mit der Robware-Version 05.xx.xx laufen. Bei diesen erhalte ich die folgende Fehlermeldung: "2600-101012/RAPID/T_ROB1/AutoBackup(41,12): Typenfehler (56): Typ signaldo für den linken Operanden des Operators "=" oder "<>" ist nicht vom Typ "value" oder "semi-value"." Ich habe auch einen Screenshot beigefügt.

Was muss ich bei diesen älteren Robotern anders machen, damit es funktioniert? Für jede Hilfe bin ich dankbar.

Screenshot-2024-10-23-152447

Comments

  • lemster68
    lemster68 ✭✭✭
    edited October 23
    Replace with IF DoutPut(vdo_Backup) = 1
    Lee Justice
  • @lemster68 First of all, thank you very much, the program no longer gives any errors. Could you maybe explain to me how it works exactly and why the way I had it before didn’t work? Thanks a lot.
  • lemster68
    lemster68 ✭✭✭
    Here is an excerpt from the Instructions, functions and datatypes manual:

    2.62 DOutput - Reads the value of a digital output signal Usage

    DOutput is used to read the current value of a digital output signal.

    Note that the function DOutput is a legacy function that no longer has to be used. See the examples for an alternative and recommended way of programming.

    Basic examples The following example illustrates the function DOutput. See also More examples on page 1209.

    Example 1 IF DOutput(do2) = 1 THEN ... ...

    IF do2 = 1 THEN ...

    If the current value of the signal do2 is equal to 1, then ...

    This robot has an older version of Robotware and so you must use the DouPut function.
    Lee Justice
  • lemster68 said:
    Here is an excerpt from the Instructions, functions and datatypes manual:

    2.62 DOutput - Reads the value of a digital output signal Usage

    DOutput is used to read the current value of a digital output signal.

    Note that the function DOutput is a legacy function that no longer has to be used. See the examples for an alternative and recommended way of programming.

    Basic examples The following example illustrates the function DOutput. See also More examples on page 1209.

    Example 1 IF DOutput(do2) = 1 THEN ... ...

    IF do2 = 1 THEN ...

    If the current value of the signal do2 is equal to 1, then ...

    This robot has an older version of Robotware and so you must use the DouPut function.
    Thank you for your explanation it’s all somewhat new territory for me :) My program is now working as it should—thank you!