日本中文一级网站,国产精品视频亚洲精品视频,日本精品免费在线视频,婷婷五月深爱憿情网综合,国产一级特黄AⅤ大片免费,国产农民嫖妓200视频

首頁
產(chǎn)品
卓越 ? 易用 ? 可靠
視頻
讓中國物聯(lián)網(wǎng)領(lǐng)先世界
搜索
歷史搜索
搜索發(fā)現(xiàn)
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.


聯(lián)系銷售
銷售王經(jīng)理微信 銷售王經(jīng)理
微信公眾號 微信公眾號
服務(wù)熱線
400-6688-400
牡丹江市| 古丈县| 开鲁县| 登封市| 抚宁县| 宁强县| 柳江县| 赣州市| 崇左市| 辰溪县| 玉溪市| 贵港市| 大城县| 启东市| 扎赉特旗| 白朗县| 舞阳县| 和政县|