发表于:2021/8/15 18:20:52
#0楼
//Input Mapping
YC011.INP_SwtchOpn := Local:1:I.Data.0;
YC011.INP_SwtchCls := Local:1:I.Data.1;
//YC011.INP_Fail := 故障状态;
YC011.INP_InptModlHlth := Local:1:I.fault.0 or Local:1:I.fault.1 ;
YC011.CMD_ModlFltRst := SYSTEM.CMD.AckAllAlrms;
//Output Mapping
//Local:3:O.Data.0 := YC011.OUT_Opn;
Local:3:O.Data.0 := YC011.OUT_Cls;
YC011.INP_OutptModlHlth := Local:3:I.fault.0 ;
//Safety Interlocks
YC011.INP_SftyIntrlk := 0;
//Process Interlocks
YC011.INP_PrcsIntrlk := 0;
//Simulation
YC011.STS_Sim := SYSTEM.STS.Sim;
YC011.INP_SwtchOpn := Local:1:I.Data.0;
YC011.INP_SwtchCls := Local:1:I.Data.1;
//YC011.INP_Fail := 故障状态;
YC011.INP_InptModlHlth := Local:1:I.fault.0 or Local:1:I.fault.1 ;
YC011.CMD_ModlFltRst := SYSTEM.CMD.AckAllAlrms;
//Output Mapping
//Local:3:O.Data.0 := YC011.OUT_Opn;
Local:3:O.Data.0 := YC011.OUT_Cls;
YC011.INP_OutptModlHlth := Local:3:I.fault.0 ;
//Safety Interlocks
YC011.INP_SftyIntrlk := 0;
//Process Interlocks
YC011.INP_PrcsIntrlk := 0;
//Simulation
YC011.STS_Sim := SYSTEM.STS.Sim;