Java Modbus RTU connectivity using RS485 to USB converter
₹600-1500 INR
Closed
Posted about 4 years ago
₹600-1500 INR
Paid on delivery
I have 20 Modbus devices (Rs-485) connected to ATC -820 Converter (its just simple RS485-USB converter) using multi hopping.
These devices have ID (serial number) 1 to 20 in sequence.
Each Device will have 10 parameters (memory locations - holding registers) to read.
I have to save data is mySql data base will following table structure with timestamp
I want to read data every second from all these Devices using JAVA, multi threading.
As I have single device for testing. So as of now Code can be tested on 1 device and can be tested for rest of the devices on site at client end.
Support will needed to test it at client end after lock down period is over.
SQL Table structure
DROP TABLE IF EXISTS `dl_eventlog_dtpew`;
CREATE TABLE `dl_eventlog_dtpew` (
`id` bigint(50) NOT NULL,
`event_time_epoch` LONG NOT NULL,
`event_time` timestamp NOT NULL DEFAULT '1990-01-01 00:00:00',
`line_id` int(10) DEFAULT NULL,
`machine_id` int(10) DEFAULT NULL,
`dt` varchar(15) DEFAULT NULL,
`tm` varchar(15) DEFAULT NULL,
`mould_id` int(11) DEFAULT NULL,
`left_power_d1` int(1) DEFAULT NULL,
`left_emergency_d2` int(1) DEFAULT NULL,
`left_temp_top_t1` int(1) DEFAULT NULL,
`left_temp_bottom_t2` int(1) DEFAULT NULL,
`left_pressure_p1` float DEFAULT NULL,
`right_power_d3` int(1) DEFAULT NULL,
`right_emergency_d4` int(1) DEFAULT NULL,
`right_temp_top_t3` int(1) DEFAULT NULL,
`right_temp_bottom_t4` int(1) DEFAULT NULL,
`right_pressure_p2` float DEFAULT NULL,
`uploaded` varchar(4) NOT NULL DEFAULT 'N'
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=latin1;
Have a driver that can serve this purpose. It is a .NET standard class. You can build the infra-structure around it yourself. Or I also have a complete solution built that will get the data in a MS SQL server database (any version including free versions like localDB, express, SQL-CE etc.) If any of this of interest, we can discuss more. Have used it many many times to collect data from MB slaves. My guys in India can help install it at site also, if & when needed. Are all of the slaves on a single multi-drop - just want to confirm.
Hi,
I had 3+ years of experience in software development. I had done several modbus comm projects in Java. I can share you some code samples. So i believe we can work together.
Can you share more details about your project?