Commit a878c044 authored by Claes Sjofors's avatar Claes Sjofors

IoConnect syntax check changed from pbmodule to iomodule

parent ae29922c
......@@ -40,7 +40,7 @@ static pwr_tStatus SyntaxCheck( ldh_tSesContext Session,
pwr_tStatus sts;
pwr_tCid plcconnect_class[] = { pwr_cClass_ABB_ACC800Fo, 0};
pwr_tCid simconnect_class[] = { pwr_cClass_ABB_ACC800Sim, 0};
pwr_tCid ioconnect_class[] = { pwr_cClass_ABB_ACC_PPO5, 0}; // TODO Change io IoArea object
pwr_tCid ioconnect_class[] = { pwr_cClass_ABB_ACC_PPO5_IoModule, 0};
if ( Object.Offset == 0) {
sts = wsx_CheckXAttrRef( Session, Object, "PlcConnect", "PlcConnect", plcconnect_class,
......
......@@ -40,7 +40,7 @@ static pwr_tStatus SyntaxCheck( ldh_tSesContext Session,
pwr_tStatus sts;
pwr_tCid plcconnect_class[] = { pwr_cClass_ABB_ACS800_1Fo, 0};
pwr_tCid simconnect_class[] = { pwr_cClass_ABB_ACS800_1Sim, 0};
pwr_tCid ioconnect_class[] = { pwr_cClass_ABB_ACS_PPO5, 0}; // TODO Change io IoArea object
pwr_tCid ioconnect_class[] = { pwr_cClass_ABB_ACS_PPO5_IoModule, 0};
if ( Object.Offset == 0) {
sts = wsx_CheckXAttrRef( Session, Object, "PlcConnect", "PlcConnect", plcconnect_class,
......
......@@ -40,7 +40,7 @@ static pwr_tStatus SyntaxCheck( ldh_tSesContext Session,
pwr_tStatus sts;
pwr_tCid plcconnect_class[] = { pwr_cClass_BaseFcPPO3Fo, 0};
pwr_tCid simconnect_class[] = { pwr_cClass_BaseFcPPO3Sim, 0};
pwr_tCid ioconnect_class[] = { pwr_cClass_BaseFcPPO3PbModule, 0}; // TODO Change io IoArea object
pwr_tCid ioconnect_class[] = { pwr_cClass_BaseFcPPO3IoModule, 0};
if ( Object.Offset == 0) {
sts = wsx_CheckXAttrRef( Session, Object, "PlcConnect", "PlcConnect", plcconnect_class,
......
......@@ -40,7 +40,7 @@ static pwr_tStatus SyntaxCheck( ldh_tSesContext Session,
pwr_tStatus sts;
pwr_tCid plcconnect_class[] = { pwr_cClass_BaseFcPPO5Fo, 0};
pwr_tCid simconnect_class[] = { pwr_cClass_BaseFcPPO5Sim, 0};
pwr_tCid ioconnect_class[] = { pwr_cClass_BaseFcPPO5PbModule, 0}; // TODO Change io IoArea object
pwr_tCid ioconnect_class[] = { pwr_cClass_BaseFcPPO5IoModule, 0};
if ( Object.Offset == 0) {
sts = wsx_CheckXAttrRef( Session, Object, "PlcConnect", "PlcConnect", plcconnect_class,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment