欢迎来到《圣博凯斯》变频供水设备官网
精锐于专业 / 卓然于品质 -- 20年专注于供水行业,缔造至臻品质 -- 服务热线:0731-85783205 18932453205

plc中时间继电器符号_plc中时间继电器怎么输入

DI _ status :球//需要检测的di

last _ status :球//di之前的状态

positive _ edge :球//上升沿输出

negative _ edge :球//下降沿输出

positive _ edge 3360=di _状态和NOtlast _状态; //上升沿判断

negative _ edge 3360=not di _ statusandlast _ status; //下降沿判断

//状态代入

最后状态:=第二状态; 虽然程序中经常使用上升沿和下降沿,但梯形图容易设定,ST需要多个Last_Status变量。 通过该变量的组合,实现变量的上升沿、下降沿的检测

很简单。 直接访问程序

猜你喜欢

18932453205