SYNEAC
Hi guys, me noob come to bother again

Questions :

Do I must have/connect to a physical device to run the program? If not, how can I force a contact/coil to true?

Long story:

I'm using the "general modbus TCP device" in the slave device tab on the runtime site, and trying to link it to scadabr. On scadabr I pasted the address appears in the same "general modbus TCP device" tab and added some points, but can't tell if it works because my program has no true value at its initial state, so even I checked "read data" in scadabr's data source page I get all false values, and also because I can't figure a way to force some contacts/coils true I can't test my program to see if it has successfully linked. Maybe it has, but I don't have a clue.

I watched some vedio tutorials, the programs they're using are all dynamic, they have value changes all the time so it's easily to see it's correct or not. Mine is cold dark and confusing.

Thanks for anyone who is willing to reply, I'm looking forward it.
Reply 0 0
SYNEAC
Update: I found the botton write can turn coils on, but can't work on contacts, is there a way to manipulate contacts value? I will try more things and see.
Reply 0 0
SYNEAC
Update: I set everything to coil status in scadabr and redefine the locations in original program, seems I can toggle things now, need more test to see if my program is really working
Reply 0 0
thiagoralves
You shouldn’t add ScadaBR as OpenPLC slave device. ScadaBR should be the master, not the slave. Check this video to learn how to properly connect OpenPLC to ScadaBR:

https://youtu.be/KrcL6lhAHKw
Reply 0 0
SYNEAC
You shouldn’t add ScadaBR as OpenPLC slave device. ScadaBR should be the master, not the slave. Check this video to learn how to properly connect OpenPLC to ScadaBR:

https://www.youtube.com/watch?v=KrcL6lhAHKw?


Hi dear sir,

I have already checked your video and seafox's video before I posted. At 12:49 of your video, I put the slave address from openplc runtime page to the place you mentioned, at around 7:48 of seafox's video (link:https://m.youtube.com/watch?v=bSdW4XXBlLo) while he's discussing something like "IP address of the PC that openplc runs on", and that's what I did in the aforementioned slave address from openplc runtime.

Sorry for my dumbness, but I don't have a physical device that's connecting my PC, what can I actually put in that place? The only device or virtual device I can think about is the one on the openplc page.

At last, thanks for sparing time answering me.
Reply 0 0
thiagoralves
If you are running OpenPLC Runtime on your PC, then you should put your PC's IP address in that box. If OpenPLC Runtime is running on a Raspberry Pi, then you put the Raspberry Pi's IP address, and so on for whatever device you have the runtime running at.
Reply 0 0
SYNEAC
If you are running OpenPLC Runtime on your PC, then you should put your PC's IP address in that box. If OpenPLC Runtime is running on a Raspberry Pi, then you put the Raspberry Pi's IP address, and so on for whatever device you have the runtime running at.


Hello I changed every digital signal to coils so I can either display or set value of them. And I deleted the slaves--thanks for the advice. Only have a last question, I did the exact pulse clock like you did in your video, but when I'm in graphic design page on scadabr, the pulse led flashes very slow(like 15-20s or so and I set it 1s) . 

It runs fine on the editor and the modbus reading data tab on scadabr's data source page(by fast clicking it to check data update), but when I assign the pulse signal to a binary graphic it becomes a very slow clock. 

I allocated 1000MB for scadabr virtual machine, will this be the bottleneck? Thanks for your kind patience.
Reply 0 0
SYNEAC
PS : I set the scadabr data update/refresh time to 50ms, forgot to mention
Reply 0 0
Reply