FC6A S
ERIES
MICROS
MART
U
SER
’
S
M
ANUAL
FC9Y-B1722
8-11
8: I
NSTRUCTIONS
R
EFERENCE
Discontinuity of Device Areas
Each device area is discrete and does not continue, for example, from input to output or from output to internal relay. In addition,
special internal relays M8000 through M8997 are in a separate area from internal relays M0 through M7997 and M10000 through
M21247. Data registers D0 through D7999, D10000 through D61999, and D70000 through D269999, and special data registers
D8000 through D8899 are in separate areas and do not continue with each other.
Advanced instructions execute operation only on the available devices in the valid area. If a user program syntax error is found
during programming, WindLDR rejects the program instruction and shows an error message.
NOP (No Operation)
Details of the other advanced instructions are described in the following chapters.
The internal relay ends at M7997. Since the MOV (move) instruction reads 16 internal
relays, the last internal relay exceeds the valid range, resulting in a user program
syntax error.
M8125
REP
S1 –
M7990
D1 –
D0
MOV(W)
This program results in a user program syntax error. The destination of the
MUL (multiplication) instruction requires two data registers D61999 and
D62000. Since D62000 exceeds the valid range, a user program syntax error
occurs.
I0
REP
S1 –
D100
S2 –
D200
MUL(W)
D1 –
D61999
The MOV (move) instruction sets data of data register D0 to 16 internal relays M7980
through M7997 in the first repeat cycle. The destination of the second cycle is the next
16 internal relays M8000 through M8017, which are invalid, resulting in a user program
syntax error.
For details about repeat operations of each advanced instruction, see "Advanced
Instruction List" on page 8-3.
M8125
REP
2
S1 –
D0
D1 R
M7980
MOV(W)
No operation is executed by the NOP instruction.
The NOP instruction may serve as a place holder. It can also be used to add a delay to the CPU scan time, in order to
simulate communication with a machine or application, for debugging purposes.
The NOP instruction does not require an input and device.
NOP
Содержание MICROSmart FC6A Series
Страница 1: ...B 1722 8 FC6A SERIES User s Manual...
Страница 12: ...TABLE OF CONTENTS Preface 11 FC6A SERIES MICROSMART USER S MANUAL FC9Y B1722...
Страница 182: ...2 PRODUCT SPECIFICATIONS 2 152 FC6A SERIES MICROSMART USER S MANUAL FC9Y B1722...
Страница 434: ...8 INSTRUCTIONS REFERENCE 8 18 FC6A SERIES MICROSMART USER S MANUAL FC9Y B1722...
Страница 520: ...11 SD MEMORY CARD 11 54 FC6A SERIES MICROSMART USER S MANUAL FC9Y B1722...
Страница 554: ...13 TROUBLESHOOTING 13 26 FC6A SERIES MICROSMART USER S MANUAL FC9Y B1722...
Страница 567: ...FC6A SERIES MICROSMART USER S MANUAL FC9Y B1722 A 13 APPENDIX ASCII Character Code Table...