I have read the help document about world zones and I think that I have done it well but it don’t work as expected…Here is the code :
MODULE Module1
VAR wztemporary Inside_DCM;
VAR shapedata DCM;
CONST pos corner1:=[-533.4,-190.5,1159.76];
CONST pos corner2:=[533.4,-758.09,1947.16];
PROC MAIN()
WZ_DEF;
[…]
ENDPROC
PROC WZ_DEF()
WZBoxDef \Inside, DCM, corner1, corner2;
WZDOSet \Temp, Inside_DCM \Inside, DCM, Extract_in_process, 1;
ENDPROC
The problem is that the signal is not set, but only pulse when entering the zone…why? It is not supposed to be set when entering the zone and reset when exiting the zone??
Sorry for the last post, I don’t know how to write something here other than writing directly source text without any treatment…So, I have read the help document about world zones and I think that I have done it well but it don’t work as expected…Here is the code : MODULE Module1 VAR wztemporary Inside_DCM; VAR shapedata DCM; CONST pos corner1:=[-533.4,-190.5,1159.76]; CONST pos corner2:=[533.4,-758.09,1947.16]; PROC MAIN() WZ_DEF; […] ENDPROC PROC WZ_DEF() WZBoxDef \Inside, DCM, corner1, corner2; WZDOSet \Temp, Inside_DCM \Inside, DCM, Extract_in_process, 1; ENDPROC. The problem is that the signal is not set, but only pulse when entering the zone…why? It is not supposed to be set when entering the zone and reset when exiting the zone??