Lukas
Forum Replies Created
-
Hi Xavier,
yes, this is normal behaviour of the Arduino USB interface. This feature (reset based on DTR) is used during the programming. DTR is toggled by the system when the Virtual USB port is open/closed and it is very hard to avoid that.
But there exists kind of a hack how to prevent this behaviour. Interconnect 5V a and RESET signals at pinheader X1. (But then you must not use the reset button!)
Please take it really as an unofficial hack. It is not a solution for some product, or industrial application.
Best regards,
Lukas
- This reply was modified 1 year, 9 months ago by Lukas.
-
Hi nbcdntr,
Modbus is tricky. It is hard to let it running when you do not have experience with the master side (CONTROLLINO) and the slave (sensor or motor controller). I always recommend to start with simplier setup – use PC with USB-RS485 converter and some Modbus Master application and try to control the motor. Then, when you are sure you know the baudrate, address, registers and their meaning, switch to CONTROLLINO.
Good luck!
Lukas
-
Hi Barrels,
at first to the Modbus. Before you start the integration of the sensor with the CONTROLLINO, please try to control the sensor from a PC with RS485-USB converter and some Modbus RTU Master application. You will easily fine proper registry numbers and meanings etc.
To the analog measurement. You cannot directly connect current loop 4-20 mA to CONTROLLINO analog input. You should use external 500 Ohm resistor to convert it to voltage suitable for the CONTROLLINO analog input.
Good luck!
Lukas
-
Hi Keith,
well … it sounds like a very ambitious project 🙂
In principle it should be possible with CONTROLLINO. The only limitation may be program flash memory of ATmega2560. All the rest is about your work with wiring and programming.
Good luck!
Lukas
-
Let´s try to check c:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\wiring_analog.c
-
Hi magloman,
this is strange. Is it 100% replicable and always with the same result? (same corrupted address)
Are you sure that it is not cause by the USB cable? Corrupted or too long, or connected via hub?
Thanks,
Lukas
-
Hello beetroot,
I will forward your request to responsible person at CONTROLLINO.
Best regards,
Lukas
-
Hi,
Do you have problem with register read (like in your sketch) or with register write (like in the title of the issue)?
Do you have any progress so far?
Thanks,
Lukas
-
Hi all,
we will try to fix this in the new release of the CONTROLLINO Library.
I hope it happens in the next two weeks.
Thanks,
Lukas
-
Hi Jelle,
Hi Steve,
as far as I know from the CONTROLLINO management the myPLC serial production was not launched because of the world wide chip shortage.
That is the reason why the NEO is based on the RP2040 MCU which is available in high amounts and with reasonable price.
I hope it will be released soon.
Thanks,
Lukas
- This reply was modified 1 year, 9 months ago by Lukas.
-
I am sorry, but it should be invented by the Arduino community 🙂