The invention discloses a
modbus protocol and
broadband industrial
bus AUTBUS-PA protocol conversion gateway implementation method and
system, and relates to the technical field of
industrial communication, and the method comprises the steps: loading an AUTBUS-PA equipment description
XML file in gateway equipment; analyzing an AUTBUS-PA equipment description
XML file, and extracting a field identifier, a semantic tag and a data direction attribute of each real-
time data field; respectively mapping the field identifier and the semantic tag to a
Modbus register address and a register type, and generating a point table mapping relation; constructing a gateway configuration file, and generating an equipment description
XML (
Extensible Markup Language) file for AUTBUS-PA
network configuration; the gateway configuration file is loaded to a
Modbus master station protocol stack, and the gateway configuration file is registered to an AUTBUS-PA-S
protocol stack; and receiving downlink real-
time data issued by the AUTBUS-PA
master station through the AUTBUS-PA-S
protocol stack and writing the downlink real-
time data into the register of the
Modbus slave
station according to the point table mapping relationship, and periodically reading the data of the register of the Modbus slave
station through the protocol stack of the Modbus
master station and uploading the data to the AUTBUS-PA master
station according to the point table mapping relationship. According to the invention, the deployment efficiency, the communication certainty and the
system compatibility are improved.