Programming language – Toshiba T2N User Manual

Page 224

Advertising
background image

5. Programming Language

User's manual

211

On the other hand a macro program is a sub-squence which starts from
‘macro entry’ and finishes at ‘macro end’. Each macro program has its
own macro number, and corresponds 1 to 1 to macro steps which are
present in the SFC main program or other macro programs. Macro
programs are used for rendering the program easy to see by making the
SFC program an hierarchical structure. In all, 128 macro programs can
be created.

(1)

Macro steps can be used in macro programs (SFC multi-level
hierarchy). There is no limit to the number of levels.

(2)

Macro programs and macro steps must correspond 1 to 1. That
is to say, macro steps designated with the same macro number
cannot be used in multiple locations.

SFC programming becomes possible by designating blocks and then
selecting SFC by language designation.

Only one SFC main program or one macro program can be created in 1
block. (1 SFC/block)

Also, the maximum number of SFC steps per block is 128.

NOTE

Macro step

Macro entry

Macro end

Exactly the same
operation

Advertising