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

Post Reply