Memory space

image\dummy.gif

You may use up to 200 blocks in your circuit program.

The maximum memory space used by a LOGO! circuit program is:

The Info Window displays the memory space used when you call the Tools -> Determine LOGO! function, or when you press the function key [F2].

 

 

 

 

 

 

image\0ba3_logo_sn.gif

The following specifications apply

LOGO! series

Blocks

Par

RAM

Timer

REM

Flags

LOGO! 0BA4 ... 0BA5

130

Not restricted

Not restricted

Not restricted

60

24

LOGO! 0BA2 ... 0BA3

56

48

27

16

15

8

LOGO! 0BA1

56

48

27

16

15

4

LOGO! 0BA0

30

27

24

10

0/7

0

 

 

image\0ba3_logo_sn.gif

Program path

A program path consists of a number of blocks, which start with an input and end with an output.

 

Nesting depth (LOGO! series 0BA0, 0BA1)

The number of blocks in a program path describes the nesting depth.

I/Os in the sense of nesting depth are:

  • Inputs (I, AI)

  • High, Low (Hi, Lo)

  • Memory markers (M)

  • Outputs (Q)

Blocks in the sense of nesting depth are:

  • Basic functions

  • Special functions

 

Further inputs/outputs according to the nesting depth are:

  • Inputs AS-Interface (Ia)

  • Outputs AS-Interface (Qa)

 

LOGO! restricts the nesting depth for your circuit program. Your circuit program has a maximum nesting depth of 58 objects.

 

This determines the following::

 

 


+
+

1 input
56 blocks
1 output

 

max. depth of the program path::

=

58 objects

 

During a simulation or download the system returns an error message if you enter a program path in LOGO!Soft Comfort that exceeds the maximum nesting depth

 

Implementing longer program paths

Longer program paths can be implemented by means of signal recursion. This is done by appending a flag block to the end of the path. The remaining blocks are connected to the output of the flag block. LOGO! interprets the flag as output of the first program path and also as terminal block of the downstream blocks. LOGO! interprets the long path with flag as two separate paths. If no more flags are available, you can use an output block instead.