Toshiba PROSEC T1 T1S, 6F3B0250 user manual Program control instructions, Next

Models: PROSEC T1 T1S 6F3B0250

1 313
Download 313 pages 21.99 Kb
Page 132
Image 132

6F3B0250

7. Instructions

Program control instructions

FUN

Name

 

 

Expression

Function

 

Steps

Speed

Available

Page

No.

 

 

 

 

 

 

 

 

(ms)

T1

T1S

 

128

Subroutine call

-[ CALL N. n ]-

Calls the subroutine number n.

2

21.0

Ö

Ö

221

129

Subroutine

ú--[ RET ]

Indicates the end of a

 

1

(in a

Ö

Ö

222

 

return

 

 

 

 

subroutine.

 

 

pair)

 

 

 

132

FOR

-[ FOR n ]-

When the input of FOR is ON,

2

22.0

Ö

Ö

223

 

 

 

 

 

 

executes the segment from

 

(in a

 

 

 

133

NEXT

-[ NEXT ]-

FOR to NEXT the number of

1

pair)

Ö

Ö

224

 

 

 

 

 

 

times specified by n.

 

 

 

 

 

 

137

Subroutine

ú-[ SUBR (n) ]--ê

Indicates the start of the

2

included

Ö

Ö

225

 

entry

 

 

 

 

subroutine number n.

 

 

in CALL

 

 

 

140

Enable interrupt

-[

EI

]-

 

Enables execution of interrupt

1

27.6

Ö

Ö

226

 

 

 

 

 

 

program.

 

 

(in a

 

 

 

141

Disable

-[

DI

]-

 

Disables execution of interrupt

1

pair)

Ö

Ö

227

 

interrupt

 

 

 

 

program.

 

 

 

 

 

 

142

Interrupt return

ú--[ IRET ]

Indicates the end of an interrupt

1

1.4

Ö

Ö

228

 

 

 

 

 

 

program.

 

 

 

 

 

 

143

Watchdog timer

-[ WDT n ]-

Extends the scan time over

2

16.1

Ö

Ö

229

 

reset

 

 

 

 

detection time.

 

 

 

 

 

 

144

Step sequence

-[ STIZ

(n) A ]-

Resets OFF the n

These

3

59.9 -

Ö

Ö

230

 

initialize

 

 

 

 

devices stating with

configure

 

65.0

 

 

 

 

 

 

 

 

 

A, and sets ON A.

a series

 

 

 

 

 

145

Step sequence

-[ STIN

A ]-

Turns ON output if

of step

2

27.0

Ö

Ö

231

 

input

 

 

 

 

input is ON and A is

sequence

 

 

 

 

 

 

 

 

 

 

 

ON.

 

 

 

 

 

 

146

Step sequence

-[ STOT A ]

When input is ON,

 

2

27.0 -

Ö

Ö

232

 

output

 

 

 

 

resets OFF the

 

 

119.0

 

 

 

 

 

 

 

 

 

devices of STIN on

 

 

 

 

 

 

 

 

 

 

 

 

the same rung, and

 

 

 

 

 

 

 

 

 

 

 

 

sets ON A.

 

 

 

 

 

 

RAS

FUN

Name

Expression

Function

Steps

Speed

Available

Page

No.

 

 

 

 

(ms)

T1

T1S

 

154

Set calendar

-[ A CLND ]-

Sets 6 registers data starting

2

 

 

Ö

235

 

 

 

with A into clock/calendar.

 

 

 

 

 

155

Calendar

-[ A CLDS B ]-

Calculates difference between

3

 

 

Ö

236

 

operation

 

present date & time and past

 

 

 

 

 

 

 

 

date & time stored in 6 registers

 

 

 

 

 

 

 

 

starting with A, and stores the

 

 

 

 

 

 

 

 

result in 6 registers starting with

 

 

 

 

 

 

 

 

B.

 

 

 

 

 

130 T1/T1S User’s Manual

CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net

Page 132
Image 132
Toshiba PROSEC T1 T1S, 6F3B0250 user manual Program control instructions, Next