Kawasaki MPVDCONTV113E-3 Robotics User Manual


 
TROUBLESHOOTING
D SERIES CONTROLLER
TROUBLESHOOTING AND COMPONENT REPLACEMENT
1-166 August 9, 2005
K
a
a
aw
s
k
ERROR CODE P0135 Local variable expected.
A global variable is used when defining a temporary argument for a subroutine.
Example: “SUB(a)” returns an error.
Use a local variable when defining a temporary argument for a subroutine.
Example: “SUB(.a)” is correct and does not return an error.
_____________________________________________________________________
ERROR CODE P0136 Unexpected suffix.
An array with a suffix is used when defining a temporary argument for a subroutine.
Example: “sub(.a[3])” returns an error.
Enter the temporary argument in compliance with AS Language syntax and format.
Example: “sub.a” is correct and does not return an error.
_____________________________________________________________________
ERROR CODE P0137 Mismatch of arguments at subroutine call.
The number of arguments between the source program and the destination program do
not match.
Example: Source: “SUB(.a)”; Destination: “SUB(.a,b)” returns an error.
Ensure the number of arguments between the source program and the destination
program match.
_____________________________________________________________________
ERROR CODE P0138 Mismatch of argument type at subroutine call.
At a subroutine call, the type of real value argument is different than the type of tempo-
rary argument defined.
Example: “CALL sub(1)” returns an error.
Correct the type of the argument in the called program or origin program.
Example: “CALL sub1” is correct and does not return an error.
_____________________________________________________________________