Discontinuity Of Device Areas; Nop (No Operation) - IDEC MICROSmart FC6A Series User Manual

Hide thumbs Also See for MICROSmart FC6A Series:
Table of Contents

Advertisement

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.
MOV(W)
S1 –
M7990
M8125
MUL(W)
S1 –
D100
I0
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.
MOV(W)
S1 –
M8125

NOP (No Operation)

No operation is executed by the NOP instruction.
NOP
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.
Details of the other advanced instructions are described in the following chapters.
D1 –
REP
D0
S2 –
D1 –
REP
D200
D61999
D1 R
REP
D0
M7980
2
FC6A S
MICROS
ERIES
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.
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.
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.
U
'
M
FC9Y-B1722
MART
SER
S
ANUAL
8: I
R
NSTRUCTIONS
EFERENCE
8-11

Advertisement

Table of Contents
loading

Table of Contents