您现在所在的是:

PLC论坛

回帖:3个,阅读:543 [上一页] [1] [下一页]
* 帖子主题:

译码指令

513
李明旺
文章数:3
年度积分:50
历史总积分:513
注册时间:2016/6/21
发站内信
发表于:2016/6/21 16:42:21
#0楼
DECO D0 D10 k4谁能拿它当例子给讲讲,谢谢
此帖发自手机工控论坛
4582
zhengpan2010
文章数:2684
年度积分:48
历史总积分:4582
注册时间:2010/9/13
发站内信
发表于:2016/6/21 19:28:54
#1楼
DECB(BINARY DECODING)



Function

DECB decodes one, two, or four-byte binary code data. When one of the specified eight consecutive numbers matches the code data, a logical high value (value 1) is set in the output data bit which corresponds to the specified number. When these numbers do not match, a logical low value (value 0) is set.

Use this instruction for decoding data of the M or T function.

In PMC-SB5/SB6/SB7 for Series 16i/160i/18i/180i/Power Mate i and PMC-SA5 for Series 21i/210i, the setting of the format specification parameter is extended. With this setting, DECB can decode multiple (8* n) bytes.
7780
hnhyczj
文章数:3780
年度积分:53
历史总积分:7780
注册时间:2011/8/27
发站内信
发表于:2016/6/22 9:39:21
#2楼
看下三菱的编程手册,上面有详细解释。
20178
高雅的雅
文章数:15776
年度积分:-210
历史总积分:20178
注册时间:2015/5/12
发站内信
2018论坛解答高手
发表于:2016/6/22 19:56:31
#3楼
楼主是不是完全不看编程手册的呀?
那一瞬间忽然不再想你,因为去一趟漠河,走了一趟西藏,逛了一趟天涯海角,泡了一会栖谷温泉,回来就是:一切随他去吧,该咋过咋过!!车祸不死感言

关于我们 | 联系我们 | 广告服务 | 本站动态 | 友情链接 | 法律声明 | 非法和不良信息举报

工控网客服热线:0755-86369299
版权所有 工控网 Copyright©2025 Gkong.com, All Rights Reserved

62.4004