dieter.l
Hi community,
 
I just finished a new driver for an FX3U clone:
 
FX3U-24MR, bought via Amazon from seller DollaTek.
No datasheets, 14 digital inputs, 6 analog inputs, 10 relay outputs, 2 analog outputs.
STM32F103VCT6 CPU, RS485, RS232.
 
1.jpg2.jpg
 
hals.json entry:
 
"FX3U-24MR / DollaTek": {
    "core": "STMicroelectronics:stm32",
    "default_ain": "PA1, PA3, PC4, PC5, PC0, PC1",
    "default_aout": "PA4, PA5",
    "default_din": "PB13, PB14, PB11, PB12, PE15, PB10, PE13, PE14, PE11, PE12, PE9, PE10, PE7, PE8",
    "default_dout": "PC9, PC8, PA8, PA0, PB3, PD12, PB15, PA7, PA6, PA2",
    "last_update": 0,
    "platform": "STMicroelectronics:stm32:GenF1:pnum=GENERIC_F103VCTX,upload_method=serialMethod",
    "source": "fx3u-24MR-DT.cpp",
    "user_ain": "PA1, PA3, PC4, PC5, PC0, PC1",
    "user_aout": "PA4, PA5",
    "user_din": "PB13, PB14, PB11, PB12, PE15, PB10, PE13, PE14, PE11, PE12, PE9, PE10, PE7, PE8",
    "user_dout": "PC9, PC8, PA8, PA0, PB3, PD12, PB15, PA7, PA6, PA2",
    "version": "2.8.1"
  },
 
All inputs and outputs are working, ModBus/RTU slave (Serial3) is working with PA14 as RS485 TX Pin, DB9 serial is working (Serial2).
RTC (STM32 build in) is currently not tested, but should work as there is crystal and battery on board.
 
If you have questions, feel free to ask or have a look in the source files.
 
Will raise a pull request when I find time.
 
Cheers,
Dieter
Reply 0 0
thiagoralves
Awesome @dieter.l!! Looking forward to your PR.
Reply 0 0
Joluxer
Hi Dieter,
nice Hardware, I like it.
How is the input channel protection realized? Digital outputs seem to be mechanical relays, aren't they? Digital inputs seems to be isolated by optocoupler. How about the analogue inputs and outputs? How are they protected, could they be on the same protection grade like the digital I/Os?
 
Regards, J'Lo
Reply 0 0
dieter.l
Hi J'Lo,
Digital inputs are isolated via optocoupler, digital outputs are via relay. I didn't a trace for the anlog inputs and outputs, seems that they are protected via resistors.
For use in applications I would - depending on use case, using protection diodes or similar protection circuits for the analog inputs and outputs.
 
The analog inputs are 0-20mA or 0-10V, the analog outputs are 0-10V.
 
Meanwhile I got an picture of a manual.
 
Regards,
Dieter
Reply 0 0
dieter.l
MANUAL.jpg
Reply 0 0
Joluxer
Oh nice. Thanks for sharing.
There might come an interesting winter season, where I like to test some more hardware for my building management and heating system projects.
 
Grüße aus der Nordheide.
Regards, J'Lo
Reply 0 0
dieter.l
Hi Thiago,
 
couple of days ago I tried to raise a pull request on the OpenPLC Editor for this driver...but the editor is just a link.
So I raised the pull request in thiagoralves / editor.
 
Pls take a look if the PR is ok, otherwise advise how and where I should raise the PR for this driver.
 
Thanks a lot.
 
Kind Regards,
Dieter
Reply 0 0
thiagoralves
Yes, the editor source code is now on its own repository. I've just merged the PR. Thanks @dieter.l !!
Reply 0 0
dieter.l
Thank you !
Reply 0 0
Reply