LouisJenkins
Hi, All,

Can anybody help with this please? I thought that variables for slave 1 should have the sub text of 100.0 1 2 3 ect?
Where am I going wrong?

Screenshot (1).png
 
Reply 0 0
thiagoralves
Slave devices only work on Windows and Linux-based runtime. Check this video for more information:  https://youtu.be/dQ8GcfpGDuA
Reply 0 0
LouisJenkins
thiagoralves,

Thanks, that is an excellent video, as is all the openplc content on youtube. But I believe I have followed this to a Tee. I am trying to slave an Arduino so that the internal led is triggered on the master and slaves at the same time. How can PLCeditor state that %QX100.3 does not exist?

The video is great but unless I am being dumb, it has not helped.
Reply 0 0
thiagoralves
The code that addresses the slave (%QX100.3) must be uploaded to the master. After all, it is the master that is controlling the slave, not the slave that is controlling itself. The Arduino board receives a blank program to act as a slave, as you can see on the video. 
Reply 0 0
LouisJenkins
Thanks for the reply,

I have my master connected currently (comm port 4)  , and I am trying to upload that program on to it now. So I am trying to put it on the master already. I have already uploaded you blank program to the slave that had no issues. How is PLCEDITOR showing Wrong location for VARQX100.3. As far as you say this is correct, how is the error still persistent? I'm sure thousands have done this with success, but in your video you used QX100.3 and I did not see and error in the compiler, why is it and error for me?? any thoughts thanks.
Reply 0 0
thiagoralves
Watch the video closely. I am not uploading that code with QX100.3 to an Arduino, because Arduino boards cannot work as masters, only slaves. That code is uploaded to a Raspberry Pi that can, indeed, work as master.
Reply 0 0
LouisJenkins
Ohhhhhhhh now I see. Excellent thankyou very very much! It all makes sense now.

That is a real shame that Arduino's cannot be masters. I am an electrician in the UK, trying to study instrumentation and controls automation, so please forgive my ignorance, and thankyou again. 
Reply 0 0
Reply