Channel %1 block %2 axis parameter missing on procedure call %3
%1 = Channel number %2 = Block number, label %3 = Source string
When calling the subroutine, an AXIS parameter is missing which, according to the EXTERN declaration, should be present.
With the EXTERN instruction, user-defined subroutines (procedures) are made "known" that have a parameter transfer.
Procedures without parameter transfer require no EXTERN declaration.
Subroutine XYZ (with the formal parameters):
PROC XYZ (INT X, VAR INT Y, AXIS A, AXIS B)
EXTERN instruction (with variable types):
EXTERN XYZ (INT, VAR INT, AXIS, AXIS) Subroutine call (with actual parameters): N10 XYZ (, Y1, R_TABLE)
Variable X is defaulted with value 0
Variable Y is supplied with the value of the variable Y1 and returns the results to the calling program after the subroutine run Variable A is supplied with the axis in R_TABLE Variable B missing!
- Correction block
- Interface signals are set.
- Alarm display.
Press the NC Stop key and select the function "Correction block" with the softkey PROGRAM CORRECT. The correction pointer positions on the incorrect block.
Program the missing AXIS parameter in the call.
Clear alarm with NC START or RESET key and continue the program.
© Siemens AG 2005 All Rights Reserved