技术论坛

 回复:关于FM350-1,没人说得很明白

返回主题列表
作者 主题
gddtian
新手

经验值:27
发帖数:13
精华帖:0
楼主    2009-06-18 20:48:02
主题:关于FM350-1,没人说得很明白
想问一下,在FM350-1中控制程序块FC2中的L_DIRECT是直接装载预置值,L_PREPAR是允许写入预置值,这两个到底区别是在哪呢?
dcount107
侠圣

经验值:2840
发帖数:1737
精华帖:55
    2009-06-19 12:53:42
精华帖  主题:回复:关于FM350-1,没人说得很明白
LDIRECT是直接写技术值,L_PREPAR只是将LOAD_VAL写到preparation预置值中,那么预置值什么时候写入计数值?手册上有一段话:
You can load the load value in preparation only (control signal L_PREPAR). A load
value that is loaded in preparation is accepted by the FM 350-1 as a new counter
value in response to the following events:
In the single counting and periodic counting Count modes
– When the upper or lower limit is reached if no main counting direction is set.
– When the set upper counting limit is reached for main counting direction up.
– When 0 is reached for main counting direction down.
In all Count modes
– The counting process is started by the interrupting SW or HW gate (the load
value is not accepted when the counting continues).
– Synchronization
– Latch/retrigger
非淡泊无以明志,非宁静无以致远
您收到0封站内信:
×
×
信息提示
很抱歉!您所访问的页面不存在,或网址发生了变化,请稍后再试。