mirror of
https://gitea.ecohim.ru:3000/RS485_Relay/RS485_Relay2_fw.git
synced 2025-08-07 16:20:30 +03:00
Unofficial update by Zhironkin
This commit is contained in:
@@ -12,6 +12,10 @@
|
||||
#define REL_MAIN_BIT (1u<<0)
|
||||
#define REL_AUX_BIT (1u<<1)
|
||||
|
||||
#define MOTOR_MIN 0
|
||||
#define MOTOR_MAX 255
|
||||
|
||||
|
||||
void loop_iterate();
|
||||
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* user_modbus.h
|
||||
*
|
||||
* Created on: 13 <20><><EFBFBD>. 2019 <20>.
|
||||
* Created on: 13 <20><><EFBFBD>. 2019 <20>.
|
||||
*/
|
||||
|
||||
#ifndef MODBUS_LOGIC_H_
|
||||
@@ -9,9 +9,11 @@
|
||||
#include <stdint.h>
|
||||
|
||||
#define BOARD_ADRESS 34 //Relay Module 1
|
||||
#define BOARD_ADRESS_Panel 32 //Relay Module 1
|
||||
#define BOARD_ADRESS_DAC 36 //DAC module 1
|
||||
//#define BOARD_ADRESS 35 //Relay Module 2
|
||||
|
||||
#define BUS_IDLE_TIME 3
|
||||
#define BUS_IDLE_TIME 15
|
||||
|
||||
#define MODBUS_PROTOCOL_VERSION (1)
|
||||
#define MODBUS_HEADER_SIZE (13)
|
||||
|
Reference in New Issue
Block a user