Configuration
3.19
Error Code
Some examples of error conditions:
Error Code: "Exceed String Length or string not valid."
a)
OUT1=IN1&IN2&IN2|IN4^IN5|IN6;
Note that they are 29 characters on the string and the maximum allowed is 24.
b) OUT1=IN1&in2;
Note that the logic is case sensitive. All characters must be in capital letters.
Error Code: "Non valid operand."
OUT1=IN1%IN2;
Note that the % is not allowed. See the table that describes the Logic Operation and Command
line.
Error Code: "No implemented logic or missing ';' ."
OUT1=IN1
Note that the “; “ is missing at the end of the logic line.
Error Code: "Missing parentheses or argument not valid."
OUT1=TP10(IN1;
Note that the parentheses is missing in the timer pulse function.
Error Code: "Non valid resource."
OUT1=TP18(IN1);
Note that there are 16 resources for each function
Error Code: "Argument not valid."
OUT1=TP10(IN10);
Note that there are only 8 inputs. IN10 is not a valid argument.
Error Code: "Function not valid."
OUT1=TR10(IN1);
Note that TR is not a valid function.
Error Code: "Non available resource."
OUT1=TP10(IN1);
A03=TP10(IN7);
Note that there are 16 resources for each function. The resource 10 for the timer has already been
used and can not be used again. However, the result of the function can be assigned to an auxiliary
variable and this auxiliary variable can be used several times.
A03=TP10(IN7);
A03=TP10(IN7);
Error Code: "Non valid attribution."
IN1=IN2^TP03(IN4);
Note that is not allowed attribution to inputs.
Error Code: "First Argument not valid."
OUT1=CTD01(!IN1,IN2);
Note that the arguments are necessarily simple variables and not functions.
Summary of Contents for DC302
Page 1: ...DC302 OPERATION MAINTENANCE INSTRUCTIONS MANUAL FIELDBUS REMOTE I O FOUNDATION D C 3 0 2 M E...
Page 6: ...DC302 Operation and Maintenance Instruction Manual VI...
Page 8: ...DC302 Operation and Maintenance Instruction Manual VIII...
Page 39: ...Configuration 3 23...
Page 43: ...DC302 Operation and Maintenance Instruction Manual 4 4...