P0922YK输入模块
功能块还可以提供脉冲输出以驱动远程计数器。脉冲输出功能集成输入信号使用相同的时基和输出脉冲,其速率由PUL SCAL配置确定参数该参数确定了必须发生的积分器总值的变化,以产生新的输出脉冲。
在上述示例中,如果PUL SCAL等于10,则在同一时间段内将发生总共30个脉冲。这个PUL SCAL值也是用于将加仑的精确值读取到远程计数器的乘数。脉冲输出功能对模拟输入的绝对值进行操作。无论是负还是正值要被累加,比较器块可用于感测模拟输入和CMP的极性然后,输出可以向计数器指示方向。确保PUL SCAL设置不需要大于的扫描周期时间的脉冲率输出最大输入条件下的控制器。使用相同的示例,如果最大A输入为60.0循环时间为0.1秒,最大所需脉冲速率为0.1/秒。由于最大输出要求小于0.1秒循环时间下可用的最大脉冲速率5/秒,因此满足该条件。这个如果选择的脉冲标度为1,也将满足要求,这将需要最大脉冲速率为1/秒。
通电-在热启动期间,如果配置参数PU LAST设置为YES,则积分器功能将使用断电前的最后一个值初始化,所有输出将初始化为断电前的最终值断电。如果设置为“否”,或在冷启动期间,积分器和所有输出将初始化为0。输入EC允许批量累加器块与另一个功能块一起使用,例如提供计数信号。
输入A未配置时,将设置为(0.0)。
EC输入与初始值相加用作总数。该值现在将在操作员面板上显示为总计,预设值将起作用在此值上提供输出A1和A2。BATSW功能块可用于每个循环一个原因每个都与PID功能块一起使用,以消除:启动条件下的超调。当放置在控制器的反馈路径:导致复位要减少的控制器组件(如果是控制器动作为Rev)。在以下过程中不使用批处理开关:启动时,控制器输出(O1=GE+R)将等于复位后的全输出将结束。这需要超调设定点的过程,以使控制器输出下降。在反馈路径,当出现以下情况时,将出现较低的重置值发生交叉,从而减少或消除过冲。
The function block can also provide a pulse output to drive a remote counter. The pulse output function integrates
the input signal using the same time base and output pulses at a rate determined by the PUL SCAL configuration
parameter. This parameter determines the change to the integrator total that must occur to cause a new output pulse.
In the above example, if PUL SCAL equals 10, a total of 30 pulses will have occurred in the same time period. The
PUL SCAL value is also the multiplier that would be used to read the exact value of gallons to a remote counter.
The pulse output function operates on the absolute value of the analog input. When both negative and positive
values are to be totalized, a CoMParator block can be used to sense the polarity of the analog input and the CMP
output can then indicate a direction to the counter.
Be sure that the PUL SCAL setting does not require a pulse rate output greater than the scan cycle time of the
controller under the maximum input conditions. Using the same example, if the maximum A input is 60.0 and the
cycle time is 0.1 sec, the maximum required pulse rate is 0.1/sec. The condition is satisfied since the maximum output requirement is less than the maximum pulse rate of 5/sec available with a 0.1 sec cycle time. The
requirement would also be satisfied if a PUL SCAL of 1 was selected which would have required a maximum pulse
rate of 1/sec.
POWER UP - During a warm start, if the configuration parameter PU LAST was set to YES, the integrator function
will initialize with the last value prior to power down and all outputs will be initialized to the last value prior to
power down. If set to NO, or during a cold start, the integrator and all outputs will initialize to 0.
Input EC allows the batch totalizer block to be used with another function block, such as the DINU that provides a
count signal. When input A is not configured it will be set to (0.0). The EC input is summed with the initial value
for use as the total. This value will now be displayed as the total on the operator faceplate and the presets will act
on this value to provide outputs A1 and A2. BATSW function blocks can be used on a one per loop
basis. Each is used with a PID function block to eliminate
overshoot during startup conditions. When placed in the
feedback path of the controller it causes the reset
component of the controller to be reduced (if controller
action is Rev). Without the use of a batch switch during
startup, the controller output (O1 = GE + R) will equal
full output since the reset will wind up. This requires the
process to overshoot the setpoint in order to bring the
controller output back down. With a batch switch in the
feedback path, a lower reset value will be present when
crossover occurs, thus reducing or eliminating overshoot.