当前位置:网站首页>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 .
边栏推荐
猜你喜欢

On the continuing Life of Distributed Locks - - Distributed Locks Based on redis

字节真的是宇宙尽头吗?

RS485(Modbus RTU)工业RFID读写器CK-FR03-A01与PLC三菱FX5U的通讯操作说明

Business practice of volcano engine cloud database VEDB in bytes

看不懂Kotlin源码?从Contracts 函数说起~

The application of machine learning in database cardinality estimation

网络信息系统应急响应

LNMP部署

高比例风电电力系统储能运行及配置分析(Matlab实现)

InfoQ 极客传媒 15 周年庆征文|移动端开发之动态排行【MUI+Flask+MongoDB】
随机推荐
InfoQ 极客传媒 15 周年庆征文|移动端开发之动态排行【MUI+Flask+MongoDB】
LNMP部署
Checkout design in SAP Spartacus
无延时/无延迟视频直播实例效果案例
[the path of system analyst] collection of wrong topics of system analyst
AGV机器人RFID传感器CK-G06A与西门子1200PLC应用手册
create_engine mysql connector加密方式报错
论文导读 | 机器学习在数据库基数估计中的应用
Stochastic dynamic economic dispatching model of wind power (realized by matlab code)
【Multisim仿真】555闪灯实验
kubernetes 二进制安装(v1.20.15)(六)部署WorkNode节点
马斯克称自己不喜欢做CEO,更想做技术和设计;吴恩达的《机器学习》课程即将关闭注册|极客头条...
RS485(Modbus RTU)工业RFID读写器CK-FR03-A01与PLC三菱FX5U的通讯操作说明
Kubernetes certificate collection
【滤波器】基于matlab时变维纳滤波器设计【含Matlab源码 1870期】
Add environment path
Quic resistance
利用 VSCode 的代码模板提高 MobX 的编码效率
Dbutil auxiliary class, manual commit transaction, metadata
2022工具钳工(中级)操作证考试题库及答案