MC PROFINET 编码器, 设定控制位

问题
对于MC编码器 PROFINET (6FX2001-5FNxx), 为确保实际值输出哪一位必须预置?Which bits must be preset with the MC encoder PROFINET (6FX2001-5FNxx) to ensure that the actual value is output ?

回答
1. STW2_ENC
在 “encoder control word”(STW2_ENC)设置 0400 hex,位10设定为1。这样MC编码器的循环数据有效。0400 hex in the “encoder control word” (STW2_ENC), the bit 10 is immediately set to 1 (control by PLC). Thus, the cyclic data of the MC encoder are declared valid.

STW2_ENC Bit 10 = 1-G1_STW的位已经被释放。

2. G1_STW
在 “sensor control word” (G1_STW)输入2000 hex. 这样,位13等于1 (绝对值循环请求)。

G1_STW Bit 13 = 1-绝对值循环请求。

3. G1_XIST1 and G1_XIST2
“实际位置值格式 G1_X”,请参考Operating Instructions第3.2章节 (article ID: 66000696).

原创文章,作者:ximenziask,如若转载,请注明出处:https://www.zhaoplc.com/plc325959.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2020年11月5日
下一篇 2021年4月12日

相关推荐

发表回复

登录后才能评论