99精品国产在热久久无码,av无码精品一区二区三区四区_国产69精品久久久久9999_精品久久久中文字幕无码_国产精品麻豆VA在线播放_亚洲日韩欧美专区制服_色久视频_婷婷久久综合,久久久精品国产免费,欧美精品久久久久久久自慰,无码国产精品一区二区高潮,国内精品九九久久久精品_国产99久久久久久免费看_中文精品99久久国产

Home
News
Let China lead the world in iot
About
Build a smart world where everything is connected
search
History search
Search and find
HOME > SERVICE > Problem > I/O

How to parse DI return instructions

2022-03-31 10:35:49| | 0

  Demonstrate with DAM0404 instruction

  Query optocoupler (4-way optocoupler)

  Send command code: FE 02 00 00 00 04 6D C6

 

QQ截圖20220325145127.png

  Optocoupler return information:

  Return code: FE 02 01 00 91 9C

 QQ截圖20220325145150.png


  For example, the return command query status is FE 02 01 03 D1 9D

  FE is the device address, 02 is the query command, 01 is the number of bytes returned, 03 is the current state, and the last is the check digit.

  03 is the current state:

  03 is hexadecimal data and needs to be converted to binary as 0011

  The state needs to be viewed from right to left,

  0 0 1 1

      圖片7.png

  That is, the first channel and the second channel are currently open.


Contactus
Manager Wang Manager Wang
Official Accounts OfficialAccounts
Service hotline
400-6688-400
会昌县| 扶余县| 绥滨县| 五莲县| 邹城市| 三原县| 松滋市| 中卫市| 天长市| 育儿| 宝坻区| 铁岭市| 松江区| 濉溪县| 安徽省| 土默特左旗| 溆浦县| 北宁市| 会东县| 旺苍县| 开远市| 古蔺县| 高邮市| 岑巩县| 阿荣旗| 新丰县| 西峡县| 西昌市| 隆林| 福泉市| 闽清县| 平凉市| 冕宁县| 博野县| 五家渠市| 南雄市| 连城县| 葵青区| 建湖县| 深圳市| 伊春市|