Description
FBM216B P0927AJ Bus Network Communication Software
FBM216B P0927AJ communication program to complete the function is that when the PC is to be online debugging with a PLC, first of all, in the dialogue box of the control panel, enter the two applications for online command word, three PC machine number and three PLC machine number composed of the string, click the OK button, the PC communication program will be the eight-bit string through the RS-232C bus to the microcontroller When the PLC is not occupied, it receives the on-line permission signal from the microcontroller and lights up the green indicator on the control panel.
FBM216B P0927AJ receives the resource occupation signal from the microcontroller and lights up the yellow indicator on the control panel; when the online debugging between the PC and a PLC is completed, enter the string consisting of two quit online command words, three PC machine numbers and three PLC machine numbers into the dialogue box of the control panel, click the OK button, and the communication program of the PC will send the eight-bit string through the RS-232C bus at this time. The PC communication programme sends the eight-digit string to the serial port of the microcontroller through the RS-232C bus and switches off the indicator lights on the control panel. Click the Exit button to exit the communication programme.
FBM216B P0927AJ In the process of data communication between microcontroller and PC, each communication is sent by the corresponding PC to send the command data frame, the function completed by the microcontroller communication program is to poll the serial port to receive the command characters sent by the PC and analyse and judge the characters to determine which PC is connected with which PLC, and then send an on-line control signal to both of them by the software when the PLC is not occupied. When the PLC is not occupied, then the software sends out the online control signal to the corresponding switch chip of the two, so that the chip conducts, so that the PC and the selected PLC online debugging, and send back to the PC to allow online signal.