The text of a manual · part 24 of 37
Sharp Programmable Controller New Satellite JW10 User's Manual: Chapter 9 Description of Instructions, page 196
Page 196 of 307, from Sharp Programmable Controller New Satellite JW10 User's Manual
The original document is the PDF (5.0 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
Filed in the catalog under the Sharp jW-10CM
Page 196
[4] Program check • If there is any grammatical errors on a ladder program, "user program error 1" occurs due to selfdiagnosis function (error code: 24(H)) and the JW10 cannot start operation. (See page 8・8 "8-3 Self diagnosis".) • Error detected program address can be seen in system memory #052 and #053. (See page 7・12). • A support tool such as the hand-held programmer JW-13PG may be possible to check grammatical error on the ladder program. This function is referred to "program check." • The table below shows error messages and their program check contents using the hand-held programmer JW-13PG. (See page appendix・15 for operation procedure of JW-13PG). Error message STACK OVER
Error address Stack over occurred address.
STACK UNDER
Stack under occurred address.
MCR ERROR
MCR error occurred address.
JCS ERROR
F-41(JCS) double used address.
JCR ERROR
JCR error occurred address.
DOUBLE OUT
DOUBLE NUMBER NO END ERROR
The same OUT instruction detected address. The same TMR/ CNT number double used address. End address.
LEVEL ERROR
Level error occurred address.
NO LABEL
No label F-141 (JMP) or F-142 (CALL) address.
DOUBLE LABEL
2nd same label detected address.
FOR/NEXT ERROR
FOR - NEXT error occurred address
Cause
Hints for countermeasure Delete STR (NOT) STR (NOT) instruction was instruction or insert AND used too often. (OR) STR instruction. Lack of STR (NOT) Insert STR (NOT) instruction or too much use instruction or delete AND of AND (OR) STR instruction. (OR) STR instruction. F-31 (MCR) is used on nonDelete F-31 (MCR) or F-30 (MCS) program. insert F-30 (MCS). Use of another F-41 (JCS) Delete F-41 (JCS). within the range of previous F-41 (JCS). F-42 (JCR) is used on non-F- Delete F-42 (JCR) or 41 (JCS) program. insert F-41 (JCS). Used the same relay number of OUT instruction twice. Used the same TMR/CNT number twice. F-40 (END) instruction does not exist on the program. F-47 (ONLS) is used in the range of F-47 (ONLS). F-48 (ONLR) is used in the non-F-47 (ONLS). There is no label on jump destination of F-141 (JMP) or subroutine destination of F142 (CALL). The same label number I is used as F-140 (LABL). F-144 (FOR) is used in the F144 (FOR) range. F-145 (NEXT) is used in the non-F-144 (FOR) range.
Change assigned relay number of OUT instruction. Change TMR/CNT number. Write F-40 (END) instruction. Deleted F-47 (ONLS). Delete F-48 (ONLR) or insert F-47 (ONLS). Insert F-140 (LABL).
Correct label number of F-140 (LABL). Delete F-144 (FOR). Delete F-145 (NEXT) or insert F-144 (FOR).
Note 1 : If 55(H) is stored in the register #055 in the system memory, the JW10 can continue operation, even if it detects an error while checking the program.(The option is available in version 1.4 or later ROM code.) However, we recommend setting register #055 to 00(H) which is "stop operation on error" because the JW10 may not operate as intended after an error is encountered. 9・121
9