mb2hal parse_common_section DEBUG: [MB2HAL_INIT] [SLOWDOWN] [0.000] mb2hal parse_common_section DEBUG: [MB2HAL_INIT] [TOTAL_TRANSACTIONS] [4] mb2hal parse_transaction_section DEBUG: [TRANSACTION_00] [LINK_TYPE] [serial] [0] mb2hal parse_serial_subsection DEBUG: [TRANSACTION_00] [SERIAL_PORT] [/dev/ttyUSB0] mb2hal parse_serial_subsection DEBUG: [TRANSACTION_00] [SERIAL_BAUD] [19200] 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] [2] mb2hal parse_serial_subsection DEBUG: [TRANSACTION_00] [SERIAL_DELAY_MS] [0] mb2hal parse_transaction_section DEBUG: [TRANSACTION_00] [MB_SLAVE_ID] [1] mb2hal parse_transaction_section DEBUG: [TRANSACTION_00] [FIRST_ELEMENT] [32769] mb2hal parse_transaction_section DEBUG: [TRANSACTION_00] [PIN_NAMES] [state] mb2hal parse_transaction_section DEBUG: [TRANSACTION_00] [NELEMENTS] [1] mb2hal parse_transaction_section DEBUG: [TRANSACTION_00] [MAX_UPDATE_RATE] [0.000] mb2hal parse_transaction_section DEBUG: [TRANSACTION_00] [MB_RESPONSE_TIMEOUT_MS] [250] mb2hal parse_transaction_section DEBUG: [TRANSACTION_00] [MB_BYTE_TIMEOUT_MS] [250] 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] [error] mb2hal parse_ini_file OK: parse_transaction_section 0 OK mb2hal parse_transaction_section DEBUG: [TRANSACTION_01] [LINK_TYPE] [serial] [0] mb2hal parse_serial_subsection DEBUG: [TRANSACTION_01] [SERIAL_PORT] [/dev/ttyUSB0] mb2hal parse_serial_subsection DEBUG: [TRANSACTION_01] [SERIAL_BAUD] [19200] mb2hal parse_serial_subsection DEBUG: [TRANSACTION_01] [SERIAL_BITS] [8] mb2hal parse_serial_subsection DEBUG: [TRANSACTION_01] [SERIAL_PARITY] [none] mb2hal parse_serial_subsection DEBUG: [TRANSACTION_01] [SERIAL_STOP] [2] mb2hal parse_serial_subsection DEBUG: [TRANSACTION_01] [SERIAL_DELAY_MS] [0] mb2hal parse_transaction_section DEBUG: [TRANSACTION_01] [MB_SLAVE_ID] [1] mb2hal parse_transaction_section DEBUG: [TRANSACTION_01] [FIRST_ELEMENT] [4098] mb2hal parse_transaction_section DEBUG: [TRANSACTION_01] [PIN_NAMES] [frequency] mb2hal parse_transaction_section DEBUG: [TRANSACTION_01] [NELEMENTS] [1] mb2hal parse_transaction_section DEBUG: [TRANSACTION_01] [MAX_UPDATE_RATE] [0.000] mb2hal parse_transaction_section DEBUG: [TRANSACTION_01] [MB_RESPONSE_TIMEOUT_MS] [250] mb2hal parse_transaction_section DEBUG: [TRANSACTION_01] [MB_BYTE_TIMEOUT_MS] [250] mb2hal parse_transaction_section DEBUG: [TRANSACTION_01] [DEBUG] [1] mb2hal parse_transaction_section DEBUG: [TRANSACTION_01] [MB_TX_CODE] [fnct_03_read_holding_registers] [2] mb2hal parse_transaction_section DEBUG: [TRANSACTION_01] [HAL_TX_NAME] [read] mb2hal parse_ini_file OK: parse_transaction_section 1 OK mb2hal parse_transaction_section DEBUG: [TRANSACTION_02] [LINK_TYPE] [serial] [0] mb2hal parse_serial_subsection DEBUG: [TRANSACTION_02] [SERIAL_PORT] [/dev/ttyUSB0] mb2hal parse_serial_subsection DEBUG: [TRANSACTION_02] [SERIAL_BAUD] [19200] mb2hal parse_serial_subsection DEBUG: [TRANSACTION_02] [SERIAL_BITS] [8] mb2hal parse_serial_subsection DEBUG: [TRANSACTION_02] [SERIAL_PARITY] [none] mb2hal parse_serial_subsection DEBUG: [TRANSACTION_02] [SERIAL_STOP] [2] mb2hal parse_serial_subsection DEBUG: [TRANSACTION_02] [SERIAL_DELAY_MS] [0] mb2hal parse_transaction_section DEBUG: [TRANSACTION_02] [MB_SLAVE_ID] [1] mb2hal parse_transaction_section DEBUG: [TRANSACTION_02] [FIRST_ELEMENT] [8193] mb2hal parse_transaction_section DEBUG: [TRANSACTION_02] [PIN_NAMES] [command] mb2hal parse_transaction_section DEBUG: [TRANSACTION_02] [NELEMENTS] [1] mb2hal parse_transaction_section DEBUG: [TRANSACTION_02] [MAX_UPDATE_RATE] [0.000] mb2hal parse_transaction_section DEBUG: [TRANSACTION_02] [MB_RESPONSE_TIMEOUT_MS] [250] mb2hal parse_transaction_section DEBUG: [TRANSACTION_02] [MB_BYTE_TIMEOUT_MS] [250] mb2hal parse_transaction_section DEBUG: [TRANSACTION_02] [DEBUG] [1] mb2hal parse_transaction_section DEBUG: [TRANSACTION_02] [MB_TX_CODE] [fnct_06_write_single_register] [4] mb2hal parse_transaction_section DEBUG: [TRANSACTION_02] [HAL_TX_NAME] [runmode] mb2hal parse_ini_file OK: parse_transaction_section 2 OK mb2hal parse_transaction_section DEBUG: [TRANSACTION_03] [LINK_TYPE] [serial] [0] mb2hal parse_serial_subsection DEBUG: [TRANSACTION_03] [SERIAL_PORT] [/dev/ttyUSB0] mb2hal parse_serial_subsection DEBUG: [TRANSACTION_03] [SERIAL_BAUD] [19200] mb2hal parse_serial_subsection DEBUG: [TRANSACTION_03] [SERIAL_BITS] [8] mb2hal parse_serial_subsection DEBUG: [TRANSACTION_03] [SERIAL_PARITY] [none] mb2hal parse_serial_subsection DEBUG: [TRANSACTION_03] [SERIAL_STOP] [2] mb2hal parse_serial_subsection DEBUG: [TRANSACTION_03] [SERIAL_DELAY_MS] [0] mb2hal parse_transaction_section DEBUG: [TRANSACTION_03] [MB_SLAVE_ID] [1] mb2hal parse_transaction_section DEBUG: [TRANSACTION_03] [FIRST_ELEMENT] [4097] mb2hal parse_transaction_section DEBUG: [TRANSACTION_03] [PIN_NAMES] [frequency] mb2hal parse_transaction_section DEBUG: [TRANSACTION_03] [NELEMENTS] [1] mb2hal parse_transaction_section DEBUG: [TRANSACTION_03] [MAX_UPDATE_RATE] [0.000] mb2hal parse_transaction_section DEBUG: [TRANSACTION_03] [MB_RESPONSE_TIMEOUT_MS] [250] mb2hal parse_transaction_section DEBUG: [TRANSACTION_03] [MB_BYTE_TIMEOUT_MS] [250] mb2hal parse_transaction_section DEBUG: [TRANSACTION_03] [DEBUG] [1] mb2hal parse_transaction_section DEBUG: [TRANSACTION_03] [MB_TX_CODE] [fnct_06_write_single_register] [4] mb2hal parse_transaction_section DEBUG: [TRANSACTION_03] [HAL_TX_NAME] [write] mb2hal parse_ini_file OK: parse_transaction_section 3 OK mb2hal main OK: parse_ini_file done OK mb2hal init_mb_links DEBUG: LINK 0 (RTU) link_type[0] device[/dev/ttyUSB0] baud[19200] data[8] parity[N] stop[2] 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 init_mb_tx DEBUG: MB_TX 1 lk_n[0] tx_n[1] cfg_dbg[1] lk_dbg[0] t_inc[0.000] nxt_t[0.000] mb2hal init_mb_tx DEBUG: MB_TX 2 lk_n[0] tx_n[2] cfg_dbg[1] lk_dbg[0] t_inc[0.000] nxt_t[0.000] mb2hal init_mb_tx DEBUG: MB_TX 3 lk_n[0] tx_n[3] 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.error.num_errors] mb2hal create_each_mb_tx_hal_pins DEBUG: mb_tx_num [0] pin_name [mb2hal.error.state] mb2hal create_each_mb_tx_hal_pins DEBUG: mb_tx_num [1] pin_name [mb2hal.read.num_errors] mb2hal create_each_mb_tx_hal_pins DEBUG: mb_tx_num [1] pin_name [mb2hal.read.frequency] mb2hal create_each_mb_tx_hal_pins DEBUG: mb_tx_num [2] pin_name [mb2hal.runmode.num_errors] mb2hal create_each_mb_tx_hal_pins DEBUG: mb_tx_num [2] pin_name [mb2hal.runmode.command] mb2hal create_each_mb_tx_hal_pins DEBUG: mb_tx_num [3] pin_name [mb2hal.write.num_errors] mb2hal create_each_mb_tx_hal_pins DEBUG: mb_tx_num [3] pin_name [mb2hal.write.frequency] mb2hal main OK: HAL components created OK mb2hal main OK: Link thread loop and logic 0 created OK mb2hal main OK: mb2hal is running halcmd: mb2hal fnct_03_read_holding_registers ERR: mb_tx[0] mb_links[0] slave[1] = ret[-1] fd[4] mb2hal link_loop_and_logic ERR: mb_tx_num[0] mb_links[0] thread[0] fd[4] transaction failure, num_errors[1] mb2hal fnct_03_read_holding_registers ERR: mb_tx[0] mb_links[0] slave[1] = ret[-1] fd[4] mb2hal link_loop_and_logic ERR: mb_tx_num[0] mb_links[0] thread[0] fd[4] transaction failure, num_errors[2] mb2hal fnct_06_write_single_register ERR: mb_tx[3] mb_links[0] slave[1] = ret[-1] fd[4] mb2hal link_loop_and_logic ERR: mb_tx_num[3] mb_links[0] thread[0] fd[4] transaction failure, num_errors[1] mb2hal fnct_03_read_holding_registers ERR: mb_tx[0] mb_links[0] slave[1] = ret[-1] fd[4] mb2hal link_loop_and_logic ERR: mb_tx_num[0] mb_links[0] thread[0] fd[4] transaction failure, num_errors[3] mb2hal fnct_03_read_holding_registers ERR: mb_tx[0] mb_links[0] slave[1] = ret[-1] fd[4] mb2hal link_loop_and_logic ERR: mb_tx_num[0] mb_links[0] thread[0] fd[4] transaction failure, num_errors[4] mb2hal fnct_03_read_holding_registers ERR: mb_tx[0] mb_links[0] slave[1] = ret[-1] fd[4] mb2hal link_loop_and_logic ERR: mb_tx_num[0] mb_links[0] thread[0] fd[4] transaction failure, num_errors[5] mb2hal fnct_06_write_single_register ERR: mb_tx[3] mb_links[0] slave[1] = ret[-1] fd[4] mb2hal link_loop_and_logic ERR: mb_tx_num[3] mb_links[0] thread[0] fd[4] transaction failure, num_errors[1] mb2hal fnct_03_read_holding_registers ERR: mb_tx[0] mb_links[0] slave[1] = ret[-1] fd[4] mb2hal link_loop_and_logic ERR: mb_tx_num[0] mb_links[0] thread[0] fd[4] transaction failure, num_errors[6] mb2hal fnct_03_read_holding_registers ERR: mb_tx[0] mb_links[0] slave[1] = ret[-1] fd[4] mb2hal link_loop_and_logic ERR: mb_tx_num[0] mb_links[0] thread[0] fd[4] transaction failure, num_errors[7] mb2hal fnct_06_write_single_register ERR: mb_tx[3] mb_links[0] slave[1] = ret[-1] fd[4] mb2hal link_loop_and_logic ERR: mb_tx_num[3] mb_links[0] thread[0] fd[4] transaction failure, num_errors[1] mb2hal fnct_03_read_holding_registers ERR: mb_tx[0] mb_links[0] slave[1] = ret[-1] fd[4] mb2hal link_loop_and_logic ERR: mb_tx_num[0] mb_links[0] thread[0] fd[4] transaction failure, num_errors[8] mb2hal fnct_03_read_holding_registers ERR: mb_tx[0] mb_links[0] slave[1] = ret[-1] fd[4] mb2hal link_loop_and_logic ERR: mb_tx_num[0] mb_links[0] thread[0] fd[4] transaction failure, num_errors[9] mb2hal fnct_06_write_single_register ERR: mb_tx[3] mb_links[0] slave[1] = ret[-1] fd[4] mb2hal link_loop_and_logic ERR: mb_tx_num[3] mb_links[0] thread[0] fd[4] transaction failure, num_errors[1] mb2hal fnct_03_read_holding_registers ERR: mb_tx[0] mb_links[0] slave[1] = ret[-1] fd[4] mb2hal link_loop_and_logic ERR: mb_tx_num[0] mb_links[0] thread[0] fd[4] transaction failure, num_errors[10] mb2hal fnct_06_write_single_register ERR: mb_tx[3] mb_links[0] slave[1] = ret[-1] fd[4] mb2hal link_loop_and_logic ERR: mb_tx_num[3] mb_links[0] thread[0] fd[4] transaction failure, num_errors[2] mb2hal fnct_03_read_holding_registers ERR: mb_tx[0] mb_links[0] slave[1] = ret[-1] fd[4] mb2hal link_loop_and_logic ERR: mb_tx_num[0] mb_links[0] thread[0] fd[4] transaction failure, num_errors[11] mb2hal fnct_06_write_single_register ERR: mb_tx[3] mb_links[0] slave[1] = ret[-1] fd[4] mb2hal link_loop_and_logic ERR: mb_tx_num[3] mb_links[0] thread[0] fd[4] transaction failure, num_errors[3] mb2hal fnct_03_read_holding_registers ERR: mb_tx[0] mb_links[0] slave[1] = ret[-1] fd[4] mb2hal link_loop_and_logic ERR: mb_tx_num[0] mb_links[0] thread[0] fd[4] transaction failure, num_errors[12] mb2hal fnct_06_write_single_register ERR: mb_tx[3] mb_links[0] slave[1] = ret[-1] fd[4] mb2hal link_loop_and_logic ERR: mb_tx_num[3] mb_links[0] thread[0] fd[4] transaction failure, num_errors[4] mb2hal fnct_03_read_holding_registers ERR: mb_tx[0] mb_links[0] slave[1] = ret[-1] fd[4] mb2hal link_loop_and_logic ERR: mb_tx_num[0] mb_links[0] thread[0] fd[4] transaction failure, num_errors[13] mb2hal fnct_03_read_holding_registers ERR: mb_tx[0] mb_links[0] slave[1] = ret[-1] fd[4] mb2hal link_loop_and_logic ERR: mb_tx_num[0] mb_links[0] thread[0] fd[4] transaction failure, num_errors[14] mb2hal fnct_03_read_holding_registers ERR: mb_tx[0] mb_links[0] slave[1] = ret[-1] fd[4] mb2hal link_loop_and_logic ERR: mb_tx_num[0] mb_links[0] thread[0] fd[4] transaction failure, num_errors[15] mb2hal fnct_03_read_holding_registers ERR: mb_tx[0] mb_links[0] slave[1] = ret[-1] fd[4] mb2hal link_loop_and_logic ERR: mb_tx_num[0] mb_links[0] thread[0] fd[4] transaction failure, num_errors[16] mb2hal fnct_06_write_single_register ERR: mb_tx[3] mb_links[0] slave[1] = ret[-1] fd[4] mb2hal link_loop_and_logic ERR: mb_tx_num[3] mb_links[0] thread[0] fd[4] transaction failure, num_errors[1] mb2hal fnct_03_read_holding_registers ERR: mb_tx[0] mb_links[0] slave[1] = ret[-1] fd[4] mb2hal link_loop_and_logic ERR: mb_tx_num[0] mb_links[0] thread[0] fd[4] transaction failure, num_errors[17] mb2hal quit_signal DEBUG: signal [2] received mb2hal quit_cleanup DEBUG: started mb2hal quit_cleanup DEBUG: unloading HAL module [4] ret[0] mb2hal quit_cleanup DEBUG: done OK mb2hal main OK: going to exit! Note: Using POSIX realtime