Адаптация Maple Mini под FX2N

Данный форум предназначен для обсуждения всех типов систем, построенных на основе STM32.
qamar
Сообщений: 6
Зарегистрирован: 23 ноя 2019, 04:01

Re: Адаптация Maple Mini под FX2N

Сообщение qamar » 30 ноя 2019, 14:18

Modbus Slave Error with Modbus Poll
Вложения
STM32 PLC Modbus Test Error.PNG
STM32 PLC Modbus Test Error.PNG (43.86 KiB) 34664 просмотра
STM32 PLC Modbus Test Error.PNG
STM32 PLC Modbus Test Error.PNG (43.86 KiB) 34664 просмотра

Admin
Администратор
Сообщений: 96
Зарегистрирован: 22 мар 2018, 06:59

Re: Адаптация Maple Mini под FX2N

Сообщение Admin » 02 дек 2019, 13:29

Hi qamar.
Sorry for delay with answer. On you screenshot you are not receive answer.
Please, try to change RX and TX wire on you connector.
For communication you not need any license. Also,this version demo- without posibility to licensing.
With best regards, support team.

qamar
Сообщений: 6
Зарегистрирован: 23 ноя 2019, 04:01

Re: Адаптация Maple Mini под FX2N

Сообщение qamar » 03 дек 2019, 11:37

Hi i have already tried that already both ways it seems like something wrong with the PLC configuration tool, or may be iam missing something int he settings could please send me some screen shot on how to setup modbus points simple test.

Thanks
Qamar.

qamar
Сообщений: 6
Зарегистрирован: 23 ноя 2019, 04:01

Re: Адаптация Maple Mini под FX2N

Сообщение qamar » 03 дек 2019, 11:39

Also i want to know is it possible to setup "Analog input" and "Analog output" with this Firmware version?

Regards,
Qamar.

Admin
Администратор
Сообщений: 96
Зарегистрирован: 22 мар 2018, 06:59

Re: Адаптация Maple Mini под FX2N

Сообщение Admin » 03 дек 2019, 16:21

Also, you carefully read readme file on the github, where you download this firmware?
Here copy of this text -

Software Implementation of PLC with STM32 "bluepill" hardware.

Version G34 -
For now you can use all 8000 steps in you program. This version not for field of industral use, and now you can use only 4 input and 4 output. Also you can use all posibility for master and slave modbus, but only 50 requests.
From this version modbus slave adress is fixed - 111 for UART1 and 112 for UART2.
Also you can program device from any port( not only USB VCP), connected as modbus slave.

Please, use modbus address 111 and 112. This can solve you problem.

With best regard, support team.

kumbakarna87
Сообщений: 2
Зарегистрирован: 20 янв 2021, 23:59

Re: Адаптация Maple Mini под FX2N

Сообщение kumbakarna87 » 04 фев 2021, 08:51

I also have the same problem when using G.34 version (https://github.com/Greeds74/STM32_PLC/t ... ersion_G34)
Вложения
2021-02-04 15_47_51-QModBus.png
2021-02-04 15_47_51-QModBus.png (49.94 KiB) 33008 просмотра
2021-02-04 15_11_33-PLC configurator v 468 for  STM32F103C8T6 from firmware G029   __Active port - C.png
2021-02-04 15_11_33-PLC configurator v 468 for STM32F103C8T6 from firmware G029 __Active port - C.png (19.31 KiB) 33008 просмотра
2021-02-04 15_07_50-Файл_BP-PLC+RS-485.png — BP-PLC.png
2021-02-04 15_07_50-Файл_BP-PLC+RS-485.png — BP-PLC.png (229.77 KiB) 33008 просмотра

Admin
Администратор
Сообщений: 96
Зарегистрирован: 22 мар 2018, 06:59

Re: Адаптация Maple Mini под FX2N

Сообщение Admin » 04 фев 2021, 09:23

Sorry, but why you use for modbus RTU communication setting for modbus ASCII communication?
This is not same. Please use 8 bit istead of 7. In this release used 8N1 configuration.

kumbakarna87
Сообщений: 2
Зарегистрирован: 20 янв 2021, 23:59

Re: Адаптация Maple Mini под FX2N

Сообщение kumbakarna87 » 04 фев 2021, 09:35

I have used 3 modules of RS485 and the results are the same, namely "did not received any data"
Вложения
2021-02-04 16_30_46-QModBus.png
2021-02-04 16_30_46-QModBus.png (50.26 KiB) 33007 просмотра
2021-02-04 15_11_33-PLC configurator v 468 for  STM32F103C8T6 from firmware G029   __Active port - C.png
2021-02-04 15_11_33-PLC configurator v 468 for STM32F103C8T6 from firmware G029 __Active port - C.png (19.31 KiB) 33007 просмотра

Admin
Администратор
Сообщений: 96
Зарегистрирован: 22 мар 2018, 06:59

Re: Адаптация Maple Mini под FX2N

Сообщение Admin » 04 фев 2021, 12:23

Better if first you try to use direct connection with com-tty converter without any rs485 konverters.


Вернуться в «Системы на основе STM32»

Кто сейчас на форуме

Количество пользователей, которые сейчас просматривают этот форум: нет зарегистрированных пользователей и 7 гостей