- Posts: 16
- Thank you received: 2
EL6021 Modbus & Danfoss Mididrive not workin
- Kittifix
- Topic Author
- Away
- New Member
-
Less
More
1 hour 18 minutes ago - 1 hour 16 minutes ago #350666
by Kittifix
EL6021 Modbus & Danfoss Mididrive not workin was created by Kittifix
Hello , I just can't get a connection. The parameters from the mb2hal are not applied, only via "modparam" I manage to make settings.
Code:
LINUXCNC - 2.9.10
Machine configuration directory is '/home/jule/linuxcnc/configs/qtdragon_hd'
Machine configuration file is 'qtdragon_xyz.ini'
Starting LinuxCNC...
linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod
Note: Using POSIX non-realtime
twopass:invoked with <> options
twopass:found ./Basic.hal
twopass:found ././HAL/X-Treiber.hal
twopass:found ././HAL/Y-Treiber.hal
twopass:found ././HAL/Z-Treiber.hal
twopass:found ./hallib/mpg.hal
twopass:pass0: loadusr -W lcec_conf ethercat-conf2.xml
twopass:pass0: loadusr -W mb2hal config=mb2hal.ini
mb2hal parse_common_section DEBUG: [MB2HAL_INIT] [INIT_DEBUG] [3]
mb2hal parse_common_section DEBUG: [MB2HAL_INIT] [VERSION] [1001]
mb2hal parse_common_section DEBUG: [MB2HAL_INIT] [HAL_MODULE_NAME] [mb2hal]
mb2hal parse_common_section DEBUG: [MB2HAL_INIT] [SLOWDOWN] [0.000]
mb2hal parse_common_section DEBUG: [MB2HAL_INIT] [TOTAL_TRANSACTIONS] [1]
mb2hal parse_transaction_section DEBUG: [TRANSACTION_00] [LINK_TYPE] [serial] [0]
mb2hal parse_serial_subsection DEBUG: [TRANSACTION_00] [SERIAL_PORT] [/dev/lcec_vfd0]
mb2hal parse_serial_subsection DEBUG: [TRANSACTION_00] [SERIAL_BAUD] [57600]
mb2hal parse_serial_subsection DEBUG: [TRANSACTION_00] [SERIAL_BITS] [8]
mb2hal parse_serial_subsection DEBUG: [TRANSACTION_00] [SERIAL_PARITY] [none]
mb2hal parse_serial_subsection DEBUG: [TRANSACTION_00] [SERIAL_STOP] [1]
mb2hal parse_serial_subsection DEBUG: [TRANSACTION_00] [SERIAL_DELAY_MS] [10]
mb2hal parse_transaction_section DEBUG: [TRANSACTION_00] [MB_SLAVE_ID] [1]
mb2hal parse_transaction_section DEBUG: [TRANSACTION_00] [FIRST_ELEMENT] [16029]
mb2hal parse_transaction_section DEBUG: [TRANSACTION_00] [NELEMENTS] [16]
mb2hal parse_transaction_section DEBUG: [TRANSACTION_00] [MAX_UPDATE_RATE] [0.000]
mb2hal parse_transaction_section DEBUG: [TRANSACTION_00] [MB_RESPONSE_TIMEOUT_MS] [500]
mb2hal parse_transaction_section DEBUG: [TRANSACTION_00] [MB_BYTE_TIMEOUT_MS] [500]
mb2hal parse_transaction_section DEBUG: [TRANSACTION_00] [DEBUG] [1]
mb2hal parse_transaction_section DEBUG: [TRANSACTION_00] [MB_TX_CODE] [fnct_03_read_holding_registers] [2]
mb2hal parse_transaction_section DEBUG: [TRANSACTION_00] [HAL_TX_NAME] [statuswort]
mb2hal parse_ini_file OK: parse_transaction_section 0 OK
mb2hal main OK: parse_ini_file done OK
mb2hal init_mb_links DEBUG: LINK 0 (RTU) link_type[0] device[/dev/lcec_vfd0] baud[57600] data[8] parity[N] stop[1] fd[-1]
mb2hal main OK: init_gbl.mb_link done OK
mb2hal init_mb_tx DEBUG: MB_TX 0 lk_n[0] tx_n[0] cfg_dbg[1] lk_dbg[0] t_inc[0.000] nxt_t[0.000]
mb2hal main OK: init_gbl.mb_tx done OK
mb2hal create_each_mb_tx_hal_pins DEBUG: mb_tx_num [0] pin_name [mb2hal.statuswort.num_errors]
mb2hal create_each_mb_tx_hal_pins DEBUG: mb_tx_num [0] pin_name [mb2hal.statuswort.00]
[attachment=77003]Bildschirmfoto_2026-11-05_13-32-51.png[/attachment]
Last edit: 1 hour 16 minutes ago by Kittifix.
Please Log in or Create an account to join the conversation.
- rodw
-
- Away
- Platinum Member
-
12 minutes ago #350670
by rodw
Replied by rodw on topic EL6021 Modbus & Danfoss Mididrive not workin
The Beckhoff serialport driver is new and experimental. You may need to be running the right ethercat driver. Search on the forum for the link
Also, I would reduce the baud rates to 9600 to start with to eliminate some potential issues. I found some hardware ia to slow to go much faster
Also, I would reduce the baud rates to 9600 to start with to eliminate some potential issues. I found some hardware ia to slow to go much faster
Please Log in or Create an account to join the conversation.
Time to create page: 0.202 seconds