Download IRC5-Rapid Reference..
Transcript
8,0VJ%R[ ,QVWUXFWLRQ 5RERW:DUH26 (UURUKDQGOLQJ ,ISDUDPHWHU?%UHDN)ODJLVQRWXVHGWKHVHVLWXDWLRQVFDQWKHQEHGHDOWZLWKE\WKH HUURUKDQGOHU If there is a time-out (parameter ?0D[7LPH) before an input from the operator, the system variable ERRNO is set to ERR_TP_MAXTIME and the execution continues in the error handler. If digital input is set (parameter ?',%UHDN) before an input from the operator, the system variable ERRNO is set to ERR_TP_DIBREAK and the execution continues in the error handler. If a digital output is set (parameter ?'2%UHDN) before an input from the operator, the system variable ERRNO is set to ERR_TP_DOBREAK and the execution continues in the error handler. 7KLVVLWXDWLRQFDQRQO\EHGHDOWZLWKE\WKHHUURUKDQGOHU If there is no client, e.g. a Flex Pendant, to take care of the instruction, the system variable ERRNO is set to ERR_TP_NO_CLIENT and the execution continues in the error handler. /LPLWDWLRQV Avoid using a too small value for the time-out parameter ?0D[7LPHwhen 8,0VJ%R[ is frequently executed, for example in a loop. It can result in an unpredictable behavior of the system performance, like slow TPU response. 6\QWD[ UIMsgBox [‘\’Header’:=’ <expression (,1) of VWULQJ> ‘,’] [MsgLine1’:=’] <expression (,1) of VWULQJ> [‘\’MsgLine2’:=’<expression (,1) of VWULQJ>] [‘\’MsgLine3’:=’<expression (,1) of VWULQJ>] [‘\’MsgLine4’:=’<expression (,1) of VWULQJ>] [‘\’MsgLine5’:=’<expression (,1) of VWULQJ>] [‘\’Wrap] [‘\’Buttons’:=’ <expression (,1) of EXWWRQGDWD>] [‘\’Icon’:=’ <expression (,1) of LFRQGDWD>] [‘\’Result’:=’< var or pers (,1287) of EWQUHV!] [’\’MaxTime ’:=’ <expression (,1) of QXP>] [’\’DIBreak ’:=’ <variable (9$5) of VLJQDOGL>] [’\’DOBreak ’:=’ <variable (9$5) of VLJQDOGR>] [’\’BreakFlag ’:=’ <var or pers (,1287) of HUUQXP>]’;’ 5$3,'UHIHUHQFHPDQXDOSDUW,QVWUXFWLRQV6= 261