The invention relates to the technical field of communication, and discloses a method for industrial
wireless communication and
data transmission, which is applied to a gateway of an industrial detection
system, and the industrial detection
system comprises: a PLC device configured to collect detection data of a target device; the gateway is configured to communicate with the PLC equipment and receive detection data sent by the PLC equipment; the
router is configured to wirelessly communicate with the gateway and receive the detection data sent by the gateway; the
server is configured to communicate with the
router and draw a detection curve for detection analysis according to the detection data sent by the
router; the method comprises the following steps: storing detection data sent by PLC equipment in a
message queue of a gateway; determining target data in the
message queue according to the message ID in the request instruction under the condition that the request instruction for requesting the detection data sent by the router is received for the nth time, n being equal to 1, 2,...; and sending the target data and the received message ID to the router, and storing the received message ID. According to the method, the communication process is simpler, and the communication efficiency is improved.