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

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:

regards,
Johannes

Now it works fine, thanks :wink: