15: R
EFRESH
I
NSTRUCTIONS
15-2
FT1A S
MART
A
XIS
U
SER
’
S
M
ANUAL
FT9Y-B1382
Example: IOREF
The following example demonstrates a program to transfer the input I0 status to output Q0 using the IOREF instruction. Input I2
is designated as an interrupt input. For the interrupt input function, see page 5-34 (
Basic Vol.)
.
M8120 is the initialize pulse special internal relay.
D8033 stores 0 to designate jump destination label 0 for interrupt input I2.
When input I2 is on, program execution jumps to label 0.
M8125 is the in-operation output special internal relay.
IOREF immediately reads input I0 status to internal relay M300.
M300 turns on or off the output Q0 internal memory.
Another IOREF immediately writes the output Q0 internal memory status to actual
output Q0.
Program execution returns to the main program.
M8120
END
Main Program
M8125
Q0
REP
S1 –
0
D1 –
D8033
MOV(W)
IOREF
S1
I0
M300
M8125
IOREF
S1
Q0
LRET
LABEL
0
Содержание microsmart pentra
Страница 1: ...FT1A SERIES FC9Y B1382 Ladder Programming Manual ...
Страница 6: ...Preface 5 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 104: ...7 DATA COMPARISON INSTRUCTIONS 7 10 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 122: ...8 BINARY ARITHMETIC INSTRUCTIONS 8 18 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 138: ...10 SHIFT ROTATE INSTRUCTIONS 10 12 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 162: ...11 DATA CONVERSION INSTRUCTIONS 11 24 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 188: ...12 CALENDAR COMPARISON INSTRUCTIONS 12 26 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 198: ...15 REFRESH INSTRUCTIONS 15 4 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 202: ...16 INTERRUPT CONTROL INSTRUCTIONS 16 4 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 266: ...20 DUAL TEACHING TIMER INSTRUCTIONS 20 4 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Страница 318: ...25 USER COMMUNICATION INSTRUCTIONS 25 22 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...