Hi everybody. I have a problem with adding the MONITOR instruction. Syntax error:
" INTP-274 (JOB_DROP_1, 1) CH program error
" INTP-202 (JOB_DROP_1, 1) Syntax error " STOP.L
HELP Please.
Below are the program codes:
1. The processing program (JOB_DROP_1) in which I need to control the input
2. Monitoring program (C_MONITOR)
3. event response program (FAULT1)
*************************************
/PROG JOB_DROP_1
DEFAULT_GROUP = 1,*,*,*,*;
CONTROL_CODE = 00000000 00000000;
LOCAL_REGISTERS = 0,0,0;
/APPL
AUTO_SINGULARITY_HEADER;
ENABLE_SINGULARITY_AVOIDANCE : TRUE;
/MN
1: MONITOR C_MONITOR ;
2:J P[1] 100% FINE ;
3: ;
4:J P[2] 100% FINE ;
5: ;
6: MONITOR END C_MONITOR ;
/POS
******************************************
/PROG C_MONITOR Cond
...
DEFAULT_GROUP = *,*,*,*,*;
CONTROL_CODE = 00000000 00000000;
...
AUTO_SINGULARITY_HEADER;
ENABLE_SINGULARITY_AVOIDANCE : TRUE;
/MN
1: ;
2: WHEN DI[2]=ON,CALL FAULT1 ;
3: ;
/POS
/END
**********************************************
/PROG FAULT1
...
DEFAULT_GROUP = *,*,*,*,*;
CONTROL_CODE = 00000000 00000000;
LOCAL_REGISTERS = 0,0,0;
/APPL
AUTO_SINGULARITY_HEADER;
ENABLE_SINGULARITY_AVOIDANCE : TRUE;
/MN
1: DO[5]=ON ;
/POS
/END