I’d like to program a Modbus driver on the PC in order to work as a PLC data logger. I downloaded a Modbus Library and implement a Modbus Ethernet(TCP/IP) query. The query communicates with the PLC but can only access to the holding register and read about 100 registers. I’d like to get data from PLC bulk memory which references to the Modbus File Access (6xxxx) by using the function code 20(read file record), and I am wondering how can I implement this Modbus Function Code 20. Also, I am wondering how to read 3 million registers(which needs to acquire data from PLC continuously) and export the final results to an excel spreadsheet. I guess I need to use buffer? I have no idea how this could be done since I am really a newbie to this field but I work hard on learning it...
↧