|
|
@@ -51,13 +51,14 @@ public class TjPlcConfig {
|
|
|
this.scanFeedbackBit = parseInt(pro.getProperty(prefix + "scanFeedbackBit"), a1 ? 0 : 1);
|
|
|
this.allowEntryByte = parseInt(pro.getProperty(prefix + "allowEntryByte"), 64);
|
|
|
this.allowEntryBit = parseInt(pro.getProperty(prefix + "allowEntryBit"), a1 ? 2 : 3);
|
|
|
- this.pathDoneByte = parseInt(pro.getProperty(prefix + "pathDoneByte"), a1 ? 64 : 76);
|
|
|
+ this.pathDoneByte = parseInt(pro.getProperty(prefix + "pathDoneByte"), a1 ? 64 : 74);
|
|
|
this.pathDoneBit = parseInt(pro.getProperty(prefix + "pathDoneBit"), a1 ? 4 : 0);
|
|
|
- this.allDoneByte = parseInt(firstNonBlank(pro.getProperty(prefix + "allDoneByte"), pro.getProperty(prefix + "glueDoneByte")), a1 ? 64 : 76);
|
|
|
+ this.allDoneByte = parseInt(firstNonBlank(pro.getProperty(prefix + "allDoneByte"), pro.getProperty(prefix + "glueDoneByte")), a1 ? 64 : 74);
|
|
|
this.allDoneBit = parseInt(firstNonBlank(pro.getProperty(prefix + "allDoneBit"), pro.getProperty(prefix + "glueDoneBit")), a1 ? 5 : 1);
|
|
|
- this.seqOffset = parseInt(pro.getProperty(prefix + "seqOffset"), a1 ? 66 : 78);
|
|
|
- this.glueSpeedOffset = parseInt(pro.getProperty(prefix + "glueSpeedOffset"), a1 ? 68 : 80);
|
|
|
- this.glueLengthOffset = parseInt(pro.getProperty(prefix + "glueLengthOffset"), a1 ? 72 : 84);
|
|
|
+ this.seqOffset = parseInt(pro.getProperty(prefix + "seqOffset"), a1 ? 66 : 76);
|
|
|
+ this.glueSpeedOffset = parseInt(pro.getProperty(prefix + "glueSpeedOffset"), a1 ? 68 : 78);
|
|
|
+ // 涂胶长度:博途为 Word(非 Real)
|
|
|
+ this.glueLengthOffset = parseInt(pro.getProperty(prefix + "glueLengthOffset"), a1 ? 72 : 82);
|
|
|
}
|
|
|
|
|
|
public String frameCodeAddr(int db) {
|
|
|
@@ -89,7 +90,7 @@ public class TjPlcConfig {
|
|
|
}
|
|
|
|
|
|
public String glueLengthAddr(int db) {
|
|
|
- return String.format("DB%d.DBD%d", db, glueLengthOffset);
|
|
|
+ return String.format("DB%d.DBW%d", db, glueLengthOffset);
|
|
|
}
|
|
|
}
|
|
|
|