ResetVector
Hello,
I'm finishing to integrate an JLING-14MR Chinese PLC (clone of FX1N) to be compatible with Open PLC.
I'll post the result as soon as I'll correct the last problem:
 
All is working as I want (download debug remote Modbus RTU...) except for the HMI channel.
The board has 2 serial ports, one wired on a subd9 connector (I use for download [USART1 on PA9-PA10]) and another
4 pins for connecting an HMI.
 
This connector goes to the PC10-PC11 pins on the STM32F103RCT6 processor.
It's USART4 pins PC10-PC11 (by default)
 
If I select 'serial' in the 'Transfert to PLC -> Communication' menu (it's USART1 on PA9-PA10) and connect the HMI to
the subd9 port, it works.
 
I see there is also serial1, serial2, serial3 options available in Open PLC Editor.
Does those options are relative to :
serial1 -> USART2 (on PA2-PA3) ?
serial2 -> USART3 (on PB10-PB11) ?
serial3 -> USART4 (on PC10-PC11) ?
 
serial compiles OK
serial1 give error : Baremetal.ino.cpp🙁.text.setup+0x58): undefined reference to `Serial1'
serial2 compiles OK
serial3 give error : Baremetal.ino.cpp🙁.text.setup+0x58): undefined reference to `Serial3'
 
Someone have any idea or workaround ?
 
Thanks
Reply 0 0
ResetVector
HI,
I've solved my problem with serial3 for my HMI.
Thanks🙏🙏🙏🙏 to dieter.l and is post about is FX3U-24MR driver (in Aug 22);
Learn his .cpp file and understood how to setup new serial ports on the STM proc 😊
I've made some mods to my JLING-14MR.cpp file to setup the serial3 port as he does.
It works and let the programming port free 😊
It's so good to have a community to learn 🙋😊😊😊😊😊
I'll post my work quickly
 
cheers !
Reply 0 0
DJack
Hello, how did you go with the integration for the JLING-14MR ?
Reply 0 0
ResetVector
Hello,
The JLING-14MR is fully functional.

I use it to manage compressed air purges on an individual micro-purification plant.The parameters are accessible via a Schneider HMI.
The system is active since October 2024...
Reply 0 0
Reply