@S7Variable(byteOffset =1,bitOffset =7, type = S7Type.BOOL)
public boolean tAG18;
@S7Variable(byteOffset =2,type = S7Type.INT)
public int a1;
Java连接S7-1200,S7Type.INT没有,请问用什么可以替代
@S7Variable(byteOffset =1,bitOffset =7, type = S7Type.BOOL)
public boolean tAG18;
@S7Variable(byteOffset =2,type = S7Type.INT)
public int a1;
Java连接S7-1200,S7Type.INT没有,请问用什么可以替代
S7Type.WORD
WORD(IntegerConverter.class, 2, 0);
看看源码