西门子plc 的STL语言求解
//RampGeneratorL#Final_SetpointAN#Stop//Stop=1=>rampdownto0JCleadL0.000000e+000lead:L...
//Ramp Generator
L #Final_Setpoint
AN #Stop //Stop = 1 => ramp down to 0
JC lead
L 0.000000e+000
lead: L #Leading_Value
*R
T #final_x_leading
L #min_Setpoint //final*leading < -(max.Setpoint)?
<R
JC lim //=> final*leading := -(max.Setpoint)
L #final_x_leading
L #max_Setpoint //final*leading > max.Setpoint
>R
JC lim //final*leading := max.Setpoint
JU up 展开
L #Final_Setpoint
AN #Stop //Stop = 1 => ramp down to 0
JC lead
L 0.000000e+000
lead: L #Leading_Value
*R
T #final_x_leading
L #min_Setpoint //final*leading < -(max.Setpoint)?
<R
JC lim //=> final*leading := -(max.Setpoint)
L #final_x_leading
L #max_Setpoint //final*leading > max.Setpoint
>R
JC lim //final*leading := max.Setpoint
JU up 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询