carlz0r
Title has an error, should say %QX100.7, but I am unable to get coil 7 to actuate, regardless of the pin assigned to it. Querying the coil status via ScadaBR shows it as TRUE when I have it activated but the Arduino output does not change. I have confirmed with a basic Arduino program that all outputs function correctly, so I imagine this is related to the firmware running on the Arduino.

Has anyone ran into this problem before?
Quote 0 0
thiagoralves
Check your PLC program. If you have an instruction in your ladder logic that keeps %QX100.7 false, it will superimpose your Modbus commands.
Quote 0 0
carlz0r
Check your PLC program. If you have an instruction in your ladder logic that keeps %QX100.7 false, it will superimpose your Modbus commands.


There are no instructions keeping it false, it fails to actuate even with the sample blank program loaded.
Quote 0 0
thiagoralves
Did you modify the Arduino firmware from the OpenPLC website?
Quote 0 0
jreyes
Hello, 

I have experienced the same thing. I could not get %QX100.7 to actuate.The board was an arduino mega. Based on testing, when %QX101.7 is energized, pin 37(The one assigned for QX100.7) is the one to actuate. I could not get pin 53 ( the one assigned to QX101.7 to actuate in any test conditions.

I did not modify the arduino firmware.
Quote 0 0
jreyes
For clarity, what I meant was. I the value of %QX100.7 and %QX101.7 can be polled to be 1 or 0. However nothing happens to pin 37 when %QX100.7 is one. When %QX101.7 is 1, pin 37 is the one to respond to the respective QX. Pin 53 however cannot be actuated in anyway I have tested.
Quote 0 0
thiagoralves
Hmm, I guess I will have to buy an Arduino Mega to test it out...
Quote 0 0