background image

 

Software Support 

Open-Source code samples can be downloaded from the GitHub repositories below :  

 

RTU-DI8 Configuration Tool 

https://github.com/synapsertu/rtu-di8

 

 

Multi RTU module Logger 

https://github.com/synapsertu/rtu-log

 

 

 

 

 

Modbus Utilities 

The following windows and Linux command line utilities are useful for development 

Windows/Linux x86 Binary 

https://www.modbusdriver.com/modpoll.html

 

 

 

Raspberry Pi/Linux  

https://github.com/epsilonrt/mbpoll

 

*Note that mbpoll does not use FC16 for Modbus writes 

 

Summary of Contents for RTU-DI8

Page 1: ...RTU DI8 8 Channel Digital In Modbus RTU Module Documentation Issue 1 1 DRAFT ...

Page 2: ...rect 5V TTL Trigger Output Pin for Ultrasonic Sensors Regulated 5V Power supply pins for powering external sensors Optional DIN Rail mountable breakout board for Maxbotix ultrasonic sensors routing power and trigger signals for sequential daisy chain operation providing maximum reading reliability These threshold registers are user writeable so a reading can be taken the registers written back to ...

Page 3: ...are designed to provide reasonable protection against harmful interference when the equipment is operated in a commercial environment This equipment generates uses and can radiate radio frequency energy and if not installed and used in accordance with the instruction manual may cause harmful interference to radio communications Operation of this equipment in a residential area is likely to cause h...

Page 4: ... Environmental Conditions Operating Temperature 20 C to 70 C Storage Temperature 40 C to 85 C Humidity 0 90 non condensing Isolation Isolation 2500 Vrms Between CPU Power and Digital Inputs Dimensions Height Length 120x101 mm Communication Protocol Modbus RTU Baud 9600 57600 19200 Factory Default Address 1 31 EMC Rating Class A Industrial Immunity EN 61000 6 2 Emissions EN 61000 6 4 IP IP Rating I...

Page 5: ...RTU Module Pin Out 1 0V 2 DC IN 8 CH8 7 CH8 6 CH7 5 CH7 4 CH6 3 CH6 2 CH5 1 CH5 3 0V 2 RS485 B 1 RS485 A QUICK COM 1 CH1 2 CH1 3 CH2 4 CH2 5 CH3 6 CH3 7 CH4 8 CH4 1 TRIG 2 5V 3 0V 4 0V ...

Page 6: ...ddress Setting 1 Modbus Address 1 2 Modbus Address 2 3 Modbus Address 4 4 Modbus Address 8 5 Modbus Address 16 No Links Use factory defaults Factory Default setting Address Id 1 Baud Rate 19200 8N1 Top Bottom Green Power On Modbus Rx Red Modbus Tx 1 5 Status LEDs ...

Page 7: ...FF ON OFF ON ON 12 OFF ON ON OFF OFF 13 OFF ON ON OFF ON 14 OFF ON ON ON OFF 15 OFF ON ON ON ON 16 ON OFF OFF OFF OFF 17 ON OFF OFF OFF ON 18 ON OFF OFF ON OFF 19 ON OFF OFF ON ON 20 ON OFF ON OFF OFF 21 ON OFF ON OFF ON 22 ON OFF ON ON OFF 23 ON OFF ON ON ON 24 ON ON OFF OFF OFF 25 ON ON OFF OFF ON 26 ON ON OFF ON OFF 27 ON ON OFF ON ON 28 ON ON ON OFF OFF 29 ON ON ON OFF ON 30 ON ON ON ON OFF 31...

Page 8: ...ve special averaging and peek max min recorders for alarm sensing PWM Olympic Average Reading This gives the per channel rolling average over 6 or 10 readings here the maximum and minimum readings from each channel are discarded from the data set and the average is then calculated over the remaining 4 or 8 readings This method is used to assist with positively eliminating any substantially outlyin...

Page 9: ...nel numbers 1 4 The sensor trigger pulse will be sent by the RTU module once to start the sequence the Maxbotix sensors should be wired in daisy chain format to allow this signal to feed through each sensor in the sequence for optimum results The breakout board can be mounted on a DIN rail by using the plastic adapter clips provided We recommend using low capacitance cabling ideally twisted pair s...

Page 10: ...Input 5 Trigger Signal From Sensor Output 6 0V J3 RTU Sensor Plug Pin Function 1 Sensor 1 Output Pulse 2 Sensor 2 Output Pulse 3 Sensor 3 Output Pulse 4 Sensor 4 Output Pulse 5 Sensor 5 Output Pulse 6 Sensor 6 Output Pulse 7 Sensor 7 Output Pulse 8 Sensor 8 Output Pulse LK2 3 4 5 6 7 8 Sensor Trigger Mode Pin Function 1 2 Factory Default Sequential Trigger 2 3 Single Simultaneous Trigger ...

Page 11: ...nter offset values allowing easy retrofitting into existing environments these offsets are stored in EEPROM again providing resilience against power outage Whilst the values for current pulse count total and offset values are stored separately these values are added together and stored in the respective Modbus register This mode of operation is mutually exclusive to PWM measurement mode i e the sy...

Page 12: ...tion shown RS485 Low Bus Pull RS485 High Bus Pull 120Ω Termination Resistor Important Only one set of bus data line pulls should be active either at the master side or on a single slave Important Termination resistors should only be enabled at far ends of bus ...

Page 13: ...lug RS485 Wiring RS485 A RS485 B RS485 0V Shield Only connect on one end of cable Belden 9481 120Ω Cable Modbus Master RS485 A RS485 B RTU Module RTU Module RTU Module 120Ω Termination High Bus Pull Low Bus Pull 120Ω Termination ...

Page 14: ...40029 32Bit Big Endian Read Only Channel 3 PWM Live Reading 40031 32Bit Big Endian Read Only Channel 4 PWM Live Reading 40033 32Bit Big Endian Read Only Channel 5 PWM Live Reading 40035 32Bit Big Endian Read Only Channel 6 PWM Live Reading 40037 32Bit Big Endian Read Only Channel 7 PWM Live Reading 40039 32Bit Big Endian Read Only Channel 8 PWM Live Reading 40041 32Bit Big Endian Read Only Channel...

Page 15: ...more registers you should use Modbus function code 3 Read holding registers 4x Range To write one or more registers you should use Modbus function code 16 Write multiple registers Note PWM readings are 32bit unsigned integer values recording microsecond values for the pulse width with a accuracy of 8uS or better Channel Maximum Minimum registers record the peek value i e the highest lowest values ...

Page 16: ...lt 40119 16bit Big Endian Read Only Channel 7 PWM Input Fault 40120 16bit Big Endian Read Only Channel 8 PWM Input Fault 40121 16bit Big Endian Read Write Long Short PWM Average 40122 16bit Big Endian Read Write Pulse Count De Bounce Setting 40123 16bit Big Endian Read Write Modbus RTU Baud Rate 40124 16bit Big Endian Read Write Configuration Register 40105 40112 Channel Mode This is a per channel...

Page 17: ...es the minimum gap between pulses before a new pulse is counted The default is 10mS i e a new pulse must start at least 10mS after the first pulse was detected this prevents relay bounce or other spurious signals causing the counter to increment whilst still allowing for 100Khz pulses to be counted Register Value Setting 10 10ms de bounce 20 20ms de bounce 100 100ms de bounce x x ms de bounce 4012...

Page 18: ...otals or erase and zero out totals for all channels Channel Offsets are not affected by this operation Register Value Setting 255 Save Current Configuration Settings to EEPROM 880 Zero Out Channel 1 Pulse Count Total 881 Zero Out Channel 2 Pulse Count Total 882 Zero Out Channel 3 Pulse Count Total 883 Zero Out Channel 4 Pulse Count Total 884 Zero Out Channel 5 Pulse Count Total 885 Zero Out Channe...

Page 19: ...psertu rtu di8 Multi RTU module Logger https github com synapsertu rtu log Modbus Utilities The following windows and Linux command line utilities are useful for development Windows Linux x86 Binary https www modbusdriver com modpoll html Raspberry Pi Linux https github com epsilonrt mbpoll Note that mbpoll does not use FC16 for Modbus writes ...

Reviews: