Mitsubishi FX2N PLC Serial Communication process

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.