RobotStudio event

Using tables in WWServer [WebWare Server]

Hello,

a customer likes to write data from one robot to a custom database?

Is it possible to use two tables from one robot? How do I have to switch between the tables in my RAPID code.

image

 

Comments

  • Hello Kevin,

    Yes it is possible to write to multiple tables. To do so, simply adjust the SCWrite command to direct the data to the correct table. For example:


    SCWrite MyTableRec;

    SCWrite MyTable1Rec;
    I have attached a modified version of the sample custom db module contained in the WebWare Server User's Guide that creates and writes to two tables.
    Note: this sample also requires WebWare.sys to be installed on the controller.

    rob.zip

    Webware.zip

    RussD38068,7680208333
    Russell Drown