请教,子程序中,形式参数ldr10的值来自哪里?
一西门子840D系统子程序部分内容如下:PROC L3104 (REAL ld_r10,REAL ld_r20,REAL ld_r40,REAL ld_r42,REAL ld_r0,REAL ld_r1,REAL ld_r5,REAL ld_r6,REAL ld_r65,REAL ld_r66,REAL ld_r67,REAL ld_r68,REAL ld_r70) SAVE
DEF AXIS LV_X,LV_Y,LV_Z,LV_HEAD,LV_TABLE
DEF REAL LV_RZE,LV_SHE,LV_MTA,LV_SHA, LV_SPADD1,LV_SPR,LV_MWX,LV_MWY
DEF REAL LV_STAWI,LV_XAFA,LV_YAFA,LV_XMES,LV_YMES,LV_P155,LV_SPADD2,LV_SPADD3
DEF REAL LV_X1,LV_Y1,LV_Z1,LV_X2,LV_Y2,LV_Z2,LV_ZWRZ
DEF REAL LV_NPALTX,LV_NPALTY,LV_NPALTZ
DEF REAL LV_SPST,LV_EIW
DEF INTLV_WDH,LV_ANZ,LV_NPV,LV_GROUP8
DEF BOOL LV_MIT_ROT
DEF REAL LV_XX6,LV_XY6,LV_XZ6,LV_YX6,LV_YY6,LV_YZ6,LV_ZX6,LV_ZY6,LV_ZZ6
DEF REAL LV_V1,LV_V2,LV_V3,LV_V4
DEF INTLV_V10,LV_V11,LV_V13
DEF STRING MASCH_TYP
DEF STRINGMASCH_ORI
DEF REAL LV_ALFA,LV_HEAD_POS
DEF REAL LV_MXS0_X,LV_MXS0_Y,LV_MXS0_Z,LV_MYS0_X,LV_MYS0_Y,LV_MYS0_Z
if (($p_subpar==false) and ($p_subpar==false) and ($p_subpar==false) and ($p_subpar==false) and ($p_subpar==false) and ($p_subpar==false) and ($p_subpar==false) and ($p_subpar==false) and ($p_subpar==false) and ($p_subpar==false) and ($p_subpar==false) and ($p_subpar==false) and ($p_subpar==false))
else
R10 = ld_r10
R20 = ld_r20
R40 = ld_r40
R42 = ld_r42
R0= ld_r0
R1= ld_r1
R5= ld_r5
R6= ld_r6
R65 = ld_r65
R66 = ld_r66
R67 = ld_r67
R68 = ld_r68
R70 = ld_r70
endif
…………
请教,子程序中形式参数 ld_r10等的值来自哪里? 期待高手
页:
[1]