IDEC FC4A-C10R2 User Manual page 385

Fc4a series microsmart micro programmable logic controller
Table of Contents

Advertisement

Example: RUNA READ
The following example illustrates the data movement of the RUNA READ instruction. The data movement of the STPA
READ is the same as the RUNA READ instruction.
RUNA(W)
DATA
READ
I0
CPU Module
High
Low
D9
02h
01h
04h
03h
D10
D11
05h
Example: RUNA WRITE without Repeat
The following example illustrates the data movement of the RUNA WRITE instruction without repeat designation. The
data movement of the STPA WRITE is the same as the RUNA WRITE instruction.
RUNA(W)
DATA –
WRITE
D19
I1
CPU Module
High
Low
D19
02h
01h
D20
D21
Example: RUNA WRITE with Repeat
The following example illustrates the data movement of the RUNA WRITE instruction with repeat designation. The data
movement of the STPA WRITE is the same as the RUNA WRITE instruction.
RUNA(W)
DATA R
WRITE
D22
I2
CPU Module
High
Low
04h
03h
D22
D23
06h
05h
07h
D24
STATUS
SLOT
D9
D100
1
Intelligent Module 1
Address 0
Address 1
Address 2
Address 3
Address 4
Address 5
STATUS
SLOT
D101
1
Intelligent Module 1
Address 0
Address 1
Address 2
Address 3
Address 4
Address 5
STATUS
SLOT
D102
1
Intelligent Module 1
Address 6
Address 7
Address 8
Address 9
Address 10
Address 11
« FC4A M
23: I
NTELLIGENT
While input I0 is on, data of 5 bytes is read from
ADDRESS
BYTE
the area starting at address 1 in intelligent mod-
1
5
ule 1 and stored to the 5-byte area in data regis-
ters starting at D9.
Status code is stored in data register D100.
00h
01h
02h
03h
04h
05h
While input I1 is on, data in data register D19 is
ADDRESS
BYTE
written to the 5-byte area starting at address 1 in
1
5
intelligent module 1.
Status code is stored in data register D101.
01h
02h
01h
02h
01h
While input I2 is on, data in 5-byte area starting
ADDRESS
BYTE
at data register D22 is written to the 5-byte area
7
5
starting at address 7 in intelligent module 1.
Status code is stored in data register D102.
03h
04h
05h
06h
07h
S
U
'
M
ICRO
MART
SER
S
ANUAL
M
A
ODULE
CCESS
»
I
NSTRUCTIONS
23-7

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents