Introduce
The communication program of the PC can be written in assembly language, various high-level languages, industrial control configuration software or the communication software of the PLC manufacturer can be used directly. This article uses C# Software, it must write the communication protocol according to the communication procedures of the connected PLC, so first briefly introduce the communication protocol of the FX series PLC.
Data transmission format Mitsubishi FX
FX series PLC adopts asynchronous format, which is composed of 1 start bit, 7 data bits, 1 even parity bit and 1 stop bit. The baud rate is 9600bps and the characters are ASCII codes.
The storage units of PLC are: X is input relay; Y is output relay; M is auxiliary relay; S is status element; T is timer; C is counter; D is data register
Install
Set COM port for SC-09 cable
Read PLC FX device
Write device data M PLC FX
Complete
See more: https://youtu.be/FmMAqsDq0vY