Alex76A
Hi ,

I need to have a block allowing me to send predefined SCPI (ASCII string) throught RS232 on the TX of an Controlino Mega by enabling an input( On the block). RS485 isn't an option.
I read a lot but still have no clue on how actually do it.
Is there an existing RS232 block that I could modify ?
 
Also , I would like to have a block listening on the RX and comparing the data with some predefined input that would enable output of the ladder block.
 
Thanks so much in advance
Reply 0 0
thiagoralves
There aren’t any rs232 blocks on OpenPLC. Communication is controlled by the Modbus driver (that’s actually the only comm that happens on OpenPLC). Given the open nature of the platform, one could write a serial block and add it to the library. It is not an easy task, but it is possible.
Reply 0 0
Reply