当前位置:网站首页>道闸控制器通讯协议
道闸控制器通讯协议
2022-06-29 06:39:00 【工控老马】
道闸控制器通讯协议
通讯采用RS485标准的8位异步数据传送格式。
数据传送格式如下:
波特率: 9600 BPS
双工: 半双工
起始位: 1位
数据位: 8位
效验位: 无
停止位: 1位
PC机发给控制器命令格式:
发送开闸命令:0xaa 0x55 0x1 0x1 0x2
发送停止命令:0xaa 0x55 0x2 0x1 0x3
发送关闸命令:0xaa 0x55 0x3 0x1 0x4
PC机查询控制器状态格式:
PC发送给控制器命令: 0xaa 0x55 0x4 0x1 0x5
控制器返回PC机信息:
0xaa 0x55 0x1 A B CRC
A: 道闸状态,1:开闸状态2:关闸状态3:其它状态
B: PT端子(地感状态)1:无信号2:有信号
CRC: A和B累加和
边栏推荐
- ES 查询语法
- [software test] interface - Basic test process
- 并发幂等性防抖
- 施努卡:3D视觉识别系统 3D视觉检测原理
- Select distinct on statement in kingbasees
- Matlab Simulink simulation and analysis of power grid sweep frequency
- Use of parameter in Simulink for AUTOSAR SWC
- Loop nesting: why can large loops inside and small loops outside improve the running efficiency of programs
- 感知健康生活 赋能无界连接 ——为OpenHarmony 3.1生态构建贡献芯海力量
- Reflection modification final
猜你喜欢

Schnuka: 3D machine vision inspection system 3D vision inspection application industry

九州云助力内蒙古“东数西算”工程,驱动测绘行业智慧新生态

Digital IC Design - UART

mmclassification安装与调试

Deploy Prometheus server service system management

项目中 if else 的代替写法

1032 Sharing
![[translation] E-Cloud. Large scale CDN using kubeedge](/img/ac/178c078589bb5bc16dbdc8f4ae9525.png)
[translation] E-Cloud. Large scale CDN using kubeedge

Autosar SWC在Simulink中Parameter的使用

解题-->在线OJ(十三)
随机推荐
About the problem that the kingbasees temporary file is too large
Schnuka: 3D visual inspection scheme 3D visual inspection application industry
from xx import*等价于from xx import *,不一定要加空格
虚拟DOM真的是最快的吗?
uva10891
tf.compat.v1.global_variables
施努卡:3d机器视觉检测系统 3d视觉检测应用行业
服裝行業的CRM品牌供應商如何選型?
【翻译】e-Cloud。使用KubeEdge的大规模CDN
Use of parameter in Simulink for AUTOSAR SWC
How to talk about salary correctly in software test interview?
What does VPS do? What are the famous brands? What is the difference with ECS?
Es query syntax
KingbaseES 中select distinct on 语句
[translation] how Bink drives the digital loyalty transactions of some of the largest banks in the UK
Comment choisir les fournisseurs de marques CRM dans l'industrie du vêtement?
tf. count_ nonzero
A hybrid model of machine learning notes time series
LeetCode_ Dynamic programming_ Medium_ 91. decoding method
Appium automation test foundation ADB common commands (III)