使输出斜升到新值。如果向模块发出E2 COMMREQ以更改斜坡设置,同时指示输出处于斜坡过程中,则新的斜坡设置将按如下方式生效:IC693ALG442模拟组合输入/输出模块12 GFK–0898F12章–IC693ALGA442模拟混合输入/输出模块12-19如果斜坡模式在斜坡期间关闭,输出将完全步进到终值(由相应的%AQ参考指示)。如果在斜坡期间开启了步进模式,则在处理COMMREQ后立即使用新的步进(假设步进有效)。如果在斜坡期间开启时间模式,模块将立即使用当前输出作为起始输出,当前时间作为起始时间,开始新的斜坡。在所有情况下,更改相应%AQ参考值将导致输出从当前输出值开始新的斜坡。错误处理如果模块接收到E2 COMMREQ数据,该数据指示无效信道或超出范围的步长或斜坡时间,模块将忽略COMMREQ,并在分配给模块的%I数据的一字节中返回错误代码。当向模块发送清除错误E2 COMMREQ或重新配置模块时,将清除错误代码。模块接收的%AQ值的范围检查在用于斜坡计算之前进行。%超出范围的AQ数据将被剪裁到近的有效值
causes the output to ramp to the new value. If an E2 COMMREQ is issued to the module to change the ramp settings while the indicated output is in the process of ramping, the new ramp settings will take effect as follows: IC693ALG442 Analog Combination I/O Module 12 GFK–0898F Chapter12 – IC693ALG442 Analog Combination I/O Module 12-19 If the ramp mode is turned off during a ramp, the output will step completely to the final value (indicated by the corresponding %AQ reference). If step mode is turned on during a ramp, the new step is used as soon as the COMMREQ is processed (assuming that the step is valid). If time mode is turned on during a ramp, the module will immediately begin a new ramp using the present output as the starting output and the present time as the start time. In all cases, changing the value of the corresponding %AQ reference will cause the output to begin a new ramp from the present output value. Error Handling If the module receives E2 COMMREQ data that indicates an invalid channel or a step height or ramp time that is out of range, the module will ignore the COMMREQ and return an error code in the first byte of %I data assigned to the module. The error code will be cleared when a Clear Errors E2 COMMREQ is sent to the module or when the module is reconfigured. Range checking of %AQ values received by the module is performed before the values are used in ramp computations. %AQ data which is out of range is clipped to the nearest valid value by


