RobotStudio event

How to set SC Signals from Rapid Editor

Hi there,

i've just created a Smart Component with I/O connections and station signals.How can i set these signals from the Rapid Editor?
When i call an instruction i. e.:

SetDI di_created,1

i receive an error because the signal "di_created" is unknown!!!

Anyone who can help me?
Thank you


Comments

  • Hi,



    You cannot set station/SC signals directly from RAPID code. You must
    create a signal (output) in the controller and connect it to the SC
    signal, like this:



    image

    regards,
    Johannes


    Johannes Weiman
    Software Engineer
    ABB Robotics

  • Now it works fine, thanks  Smile



    IRB1202011-09-14 18:00:53