重获密码
产品
下载
联系我们
网站地图
返回首页
 Logic Sample Program
 >Logitouch Editor >Encode Process

DATA_D that has the bit positions (#n) in the conversion source register, DATA_S (integer 32-bit data) is created. An encode process can be actualized with much fewer steps than creating DATA_D with the Compare instruction (EQ) and the Movement instruction (M0V). If there's "1" in multiple bits, the encode process will be made with the higher bit.


In the case of conversion to values according to external input bit, if a circuit is created with the Compare/Movement formulas and the external input bit in a sequencer program, the Compare formula will increase by the number of input bits. Using the encode instruction above enables you to convert bits from 0 to 31 into numeric data with 2 rungs + (within Sub Routine) 3 rungs.


Download a sample program file and detailed description.



Return to Top Back
常见问题 | 个人信息保护 | 关于知识产权 | 使用条款
版权 (C) 2005- Schneider Electric Japan Holdings Ltd.,和普洛菲斯国际贸易(上海)有限公司版权所有,保留所有权利。沪ICP备05028659号