User program configuration – Toshiba T2N User Manual

Page 151

Advertising
background image

2. User Program Configuration

138

PROSEC T2N

Main program

Sub-program #1

Timer interrupt program

I/O interrupt program #1

I/O interrupt program #2

I/O interrupt program #3

I/O interrupt program #4

Sub-routine

Also, in each program type, the user program is arranged by units called
‘blocks’.

Internally, a block definition label is present at the head of each block.
The program type, block number and programming language
information are in the block definition label (there is no need for the user
to be concerned with the block definition label).

Although the 2 programming languages of ladder diagram and SFC can
be used in combination in the T2N, only 1 language can be used in any
1 block.

1. In each program type and block, there is no limit to the program

capacity (number of steps). The only limit is the total capacity
(23.5K steps).

2. The block numbers need not be consecutive. In other words, there

may be vacant blocks in the sequence.

User Program Configuration

(Program Types)

Program Type Internal Configuration

(Blocks)

~

~

Block 1

Block 2

Block 3

Block n

(n = max. 256)

Block 1

Advertising