RS485 communication

Post Reply
mweisbr
Posts: 1
Joined: Fri Nov 08, 2019 8:44 am

RS485 communication

Post by mweisbr » Fri Nov 08, 2019 8:46 am

Hello,
I have some problems with the RS485 interface and hope you can help me.

in the following code:
https://github.com/CONTROLLINO-PLC/CONT ... oRS485.ino

describe the use of the RS485 interface. How would I have to change the code so that I first send a data byte
for example

Code: Select all

byte a_reset[] = { 0xAA, 0x02, 0x06, 0x00, 0x02, 0x4D, 0x00, 0x01, 0x00, 0x8F, 0xE1, 0x55 };
via the Controllino/Master via RS485 and only then receive the answer from the device/slave?

Thank you
Yours sincerely
Martin

User avatar
Lukas
Posts: 50
Joined: Tue Dec 18, 2018 3:44 pm

Re: RS485 communication

Post by Lukas » Wed Jan 22, 2020 1:51 pm

Hello,

I am sorry, but I am not sure how to help you. Maybe you should ask more concrete question?

Or share with us your sketch?

Thanks,
Lukas

Post Reply