当前位置:网站首页>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 .
边栏推荐
- 【backtrader源码解析46】cerebro.py代码注释(枯燥,backtrader核心代码之一,推荐阅读,注释仅供参考)
- Energy storage operation and configuration analysis of high proportion wind power system (realized by Matlab)
- China's SaaS development lags behind that of the United States for 10 years, and it still needs to rely on innovation, open source, M & A and other strategies | archsummit
- 【Multisim仿真】555闪灯实验
- 關於分布式鎖的續命問題——基於Redis實現的分布式鎖
- What do you need to do to "surpass" the general database in the time sequence scenario?
- Network information system emergency response
- 三级分类展示
- Live share experience
- 火山引擎云数据库 veDB 在字节内部的业务实践
猜你喜欢

面试造航母,入职拧螺丝,工资...

Musk says he doesn't like being a CEO, but rather wants to do technology and design; Wu Enda's "machine learning" course is about to close its registration | geek headlines

论文导读 | 机器学习在数据库基数估计中的应用

马斯克称自己不喜欢做CEO,更想做技术和设计;吴恩达的《机器学习》课程即将关闭注册|极客头条...

On the continuing Life of Distributed Locks - - Distributed Locks Based on redis
![InfoQ geek media's 15th anniversary essay solicitation - dynamic ranking of mobile terminal development [mui+flask+mongodb]](/img/92/50a92eb6b5c2ac3f58c499796a1e8c.png)
InfoQ geek media's 15th anniversary essay solicitation - dynamic ranking of mobile terminal development [mui+flask+mongodb]

TeaTalk·Online 演讲实录 | 圆满完结!安全上云,选对数据迁移策略很重要

Is byte really the end of the universe?

Dbutil auxiliary class, manual commit transaction, metadata

關於分布式鎖的續命問題——基於Redis實現的分布式鎖
随机推荐
一个时代的终结!十年了吴恩达经典《机器学习》课程本月关闭注册,上线新课!...
CS structure and BS structure
Teatalk · online speech record | complete! It is important to select the right data migration strategy for safe cloud deployment
Customize terrain providers (terrain plugin framework) -04
31w赛题奖金!当 AI for Science 撞上“先导杯”,会擦出什么样的火花?
Dbutil auxiliary class, manual commit transaction, metadata
jdbctemplate数据后台管理,不知道为什么添加用户的时候显示roleId为空
After five years of losing the lawsuit, the trillion reptile army is ready to move
Nomad application scheduling scheme 08 of hashicopy (detection job)
Jdbctemplate data background management. I don't know why roleid is empty when adding users
LNMP部署
Hamad application scheduling scheme 06 of hashicopy (configure task)
高比例风电电力系统储能运行及配置分析(Matlab实现)
How can tampermonkey replace flash player with H5 player?
Interview to build an aircraft carrier, screw on the job, pay
不谈赛道,不聊风口,开源数据库巨头Cassandra如何在国内讲好“新故事” | C位面对面
Setting tcp/ip network in Debian
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
Quic resistance
AGV机器人RFID传感器CK-G06A与西门子1200PLC应用手册