Particularities of GR/GR7 import

Import of GR/GR7 addresses and constants:

Import of CNDE as RETURN

FPWIN GR/FPWIN GR7 program:

Conversion result in Control FPWIN Pro7:

Import of FCAL

FPWIN GR/FPWIN GR7 program:

Conversion result in Control FPWIN Pro7:

Conversion of subroutine programs with multiple entrances and only one exit

In FPWIN GR/FPWIN GR7, subroutines with multiple entrances and only one exit (RET) can be programmed for the FP2/FP2SH/FP10SH.

Example

  1.  (1) Gr_Subroutine_11
  2.  (2) Gr_Subroutine_12
  3.  (3) Gr_Subroutine_13
  4.  (4) Gr_Subroutine_14

When, for example, Call 11 is executed, the program parts (1) to (4) are executed. When CALL 13 is executed, the program parts (3) and (4) are executed.

Control FPWIN Pro7 converts each program part of a subroutine entry into an Control FPWIN Pro7 subroutine as follows:

The FPWIN GR/FPWIN GR7 instruction Call 11 is converted into 4 boxes: GR_Subroutine11 to GR_Subroutine14 in ascending order, each of which calls its corresponding program part (1) to (4).

Call 13 is converted into 2 boxes: GR_Subroutine13 and GR_Subroutine14, each of which calls its corresponding program part (3) and (4).

Modified on: 2023-10-06Feedback on this pagePanasonic hotline