Serial initialization
D8120 Description:
※ According to MD320 Communication protocol, no frame head and frame tail, then (BIT9,BIT8) = (0,0).
※BIT13~15 is a set item when a computer is linked to a communication, it must be set to 0 when using the RS command.
※RS485 does not consider the method of setting the control line, when using FX2N-485-BD, FX0N-485ADP, (bit11,bit10) = (in).
※ If the communication parameters between the PLC and the inverter are as follows: 8 bits data bit, no check, 2 bit stop bit, baud rate 9600, no frame head no frame tail, no protocol mode, then d8120=h0c89 (h = 16) (0000 1100 1001B)
M8002
│──| | ──────────[MOV h0c89 D8120]
Sequential control program for sending and receiving data
│m8000
│──| | ──────────[RS D0 K8 D10 K8]
│d0~d7 Send register D10~D17 Accept Register
│ Send request Pulse
│──| | ──────────[write the contents of the sent data]
││───[SET M8122]
│ send request, automatic reset after sending
│m8123
│──| | ──────────[processing the content of receiving data]
││───[RST M8123]
│ After the reception is complete, manual reset
│
Mitsubishi FX2N PLC Serial Communication process