当前位置:网站首页>Operating instructions for communication between RS485 (Modbus RTU) industrial RFID reader ck-fr03-a01 and PLC Mitsubishi fx5u
Operating instructions for communication between RS485 (Modbus RTU) industrial RFID reader ck-fr03-a01 and PLC Mitsubishi fx5u
2022-06-11 13:26:00 【Huaxiang Tiancheng Technology】
RS485(Modbus RTU) Industry RFID Reader writer CK-FR03-A01 Support the major PLC Integration and Application , This article will re introduce CK-FR03-A01 Use MELSOFT series GX Works3 Program ( Version is GX Works3 Version 1.065T) With MITSUBISHI FX5U PLC Of Modbus RTU signal communication .

1、 Instructions for use of the equipment
1.1、 Routine software and hardware description
The software and hardware used in this example are as follows :
Software | GX-Works3 Version 1.065T |
PLC | Mitsubishi FX5U |
Reader | CK-FR03-A01 |
This example mainly shows Mitsubishi FX5U And CK-FR03-A01 On going Modbus RTU signal communication , The equipment used is different , The reading and writing of relevant data will also be different , It can be adjusted according to the corresponding development instructions .
Put the card reader device A,B Line and PLC Of FX5U The ports can be connected correspondingly for communication .
Card reader device A,B Line , You can query the corresponding manual .
FX5U Need to put SDA And RDA After docking, it is connected with the card reader A Wire connection ,SDB And RDB After docking, it is connected with the card reader B Just connect the wires .
2、 Mitsubishi PLC Program
Ben PLC Use MELSOFT series GX Works3 Program , Version is GX Works3 Version 1.065T.
2.1、 Communication parameter configuration
After the new project , Conduct Modbus RTU Communication parameter configuration .
Open the project in the navigation box —— Parameters —— Module parameters ——485 A serial port .

chart 2.1 Configure communication
In the basic setup , Protocol format selection MODBUS_RTU signal communication .
Detailed settings , Parity check , The stop bit and baud rate select appropriate parameters according to the corresponding reader configuration , In this example, the card reader CK-FR03-A01 For example , Parity is set to none , The stop bit is set to 1bit, The baud rate is set to 115200bps.

chart 2.2 Configure communication parameters
2.2、PLC Program
This routine only reads and writes the card reader as an example , It can be changed according to actual use .
The communication instruction used in this example is ADPRW, Used to communicate with the card reader Modbus RTU signal communication .

chart 2.3 ADPRW Instructions

chart 2.4 ADPRW Command parameters
With a card reader CK-FR03-A01 For example , The default station number is 2.
So the slave station number s1 fill 2, Function code s2 According to the required operation , For example, read data operation , be s2 fill 03.s3 Indicates the register address of the operation ,s4 Is the number of registers for the operation ,s5/d1 Is the starting address of the cache where the read data is stored ,d2 Is the execution state of the instruction .
Detailed instructions can be found by clicking GX-Works3—GX-Works3 help - Cross document search , Enter the corresponding command and click search .
2.2.2、PLC routine
This routine takes the card reader CK-FR03-A01 For example , Allocate according to the register , The starting address of the user area data of the tag is 10, Therefore, this example takes the read-write address 10 Take the data on as an example .
The operation of reading data is as follows :

chart 2.5 Read data operation
This function is triggered by M1 Read data operation , Read the address of the card reader register 10 At the beginning 4 A register , And store the read data in D1000 In the start data register .
Write data as follows :

chart 2.6 Write data operations
This function is triggered by M2 Read data operation , Put the data register D2000 At the beginning 4 A data register is written to the address of the reader register 10 At the beginning 4 In registers .
边栏推荐
- JDBC connection pool is used for batch import. 5million data are run each time, but various problems will occur in the middle
- [bug resolution] the form is paged to display the total data res.data total
- Hamad application scheduling scheme 06 of hashicopy (configure task)
- 代码对比工具,我就用这6个
- Shader shader
- 优化调度(火电、风、储能)(Matlab实现)
- 为什么每运行一部都显示一次数据库已存在,都要删除数据库,然后才能成功,每运行一部都要删除一次数据库,重新运行整体才成功.
- 2022工具钳工(中级)操作证考试题库及答案
- Terraformer导入云上资源
- Deep learning and CV tutorial (14) | image segmentation (FCN, segnet, u-net, pspnet, deeplab, refinenet)
猜你喜欢

How about NFT market? Why is NFT so popular? How to build NFT platform

cadence SPB17.4 - allegro - allegro_free_viewer

Interview to build an aircraft carrier, screw on the job, pay

Today in history: Apple II comes out; Microsoft acquires gecad; The scientific and technological pioneer who invented the word "software engineering" was born
![[bug resolution] the form is paged to display the total data res.data total](/img/92/1ddde16d35465f8dd53ebf90e249b8.png)
[bug resolution] the form is paged to display the total data res.data total

Explain in detail the differences between real participation formal parameters in C language

ecplise无法连接sql server

JDBC连接池去做批量导入,每次运行500万数据,但是在中间就会出各种问题

关于分布式锁的续命问题——基于Redis实现的分布式锁

程序员到了35岁之后的一些转型思考
随机推荐
Clear the selected data in the modal box after the modal box is closed
Shader shader
How can tampermonkey replace flash player with H5 player?
[signal de-noising] chromatographic baseline estimation and de-noising based on sparsity (beads) with matlab code and papers
2022工具钳工(中级)操作证考试题库及答案
Is the securities account opened in qiniu safe? How to apply for a low commission stock account?
面试造航母,入职拧螺丝,工资...
TeaTalk·Online 演讲实录 | 圆满完结!安全上云,选对数据迁移策略很重要
长连接简介
代码对比工具,我就用这6个
Why does each running Department display that the database already exists, delete the database, and then succeed? Each running department must delete the database, and re run the whole successfully
Debian下设定 TCP/IP 网络
漫谈软件缺陷与漏洞
create_engine mysql connector加密方式报错
Microsoft exposes another "scandal": watching VR porn in the office, "the father of hololens" is about to leave!
[the path of system analyst] collection of wrong topics of system analyst
About PHP: the original deployment environment written by PHP is deployed in phpstudy, PHP + MySQL + Apache. However, the computer must be turned on every time
From real-time computing to streaming data warehouse, where will Flink go next?
Jdbctemplate data background management. I don't know why roleid is empty when adding users
ecplise无法连接sql server