Problem with communication between Arduino and ScadaBR
I'll try to describe the operation of the engines on the bridge h .... I'm using a shield that fits in arduino which uses the following digital outputs:
variable;
Sobe> SUB - 10 +8 pin M2 and M3 Pin 11 +13
Falls> DES - M2 and M3 pin 10 +7 11 +12 pin
Front> FRE - M1 and M4 9 +4 pin pin 5 +16
The Doggy> TRA - M1 and M4 pin 9 +3 +15 pin 5
Left> ESQ - M1 and M4 pin 9 +3 +16 pin 5
Right> DIR - M1 and M4 9 +4 pin pin 5 +15
LEDs> LIGHT - 6 pin
The idea is to use the variables within the arduino when scadabr send it sends a command to the variable that controls the 4 digital outputs of the above combinations.
This file is used when i can control the set of outputs but are controlled individually and i need to be managed as i asked earlier.
Thanks for your support!
Hugs!
modbus_proteus.ino (23.9 KB)