Runa Write (Run Access Write) - IDEC FC4A-C10R2 User Manual

Fc4a series microsmart micro programmable logic controller
Table of Contents

Advertisement

RUNA WRITE (Run Access Write)

RUNA(*)
DATA(R)
WRITE
*****
Applicable CPU Modules
FC4A-C10R2/C
FC4A-C16R2/C
Valid Operands (Run Access Write)
Operand
Function
DATA
First operand number to extract data from
STATUS
Operating status code
SLOT
Intelligent module slot number
ADDRESS
First address in intelligent module to write data to
BYTE
Bytes of data to write
For the valid operand number range, see pages 6-1 and 6-2.
DATA:
Specify the first operand number to extract the data to write to the intelligent module.
When T (timer) or C (counter) is used as DATA for Run Access Write, the timer/counter current value is
written to the intelligent module.
All data registers, including special data registers, AS-Interface data registers, and expansion data registers,
can be designated as DATA.
When a constant is designated as DATA, Repeat cannot be selected. For details about the data movement
with or without Repeat, see page 23-7.
STATUS:
Specify a data register to store the operating status code. Only data registers D0 through D1299 can be des-
ignated as STATUS. Special data registers, AS-Interface data registers, and expansion data registers cannot
be designated whether the AS-Interface master module is used or not. For status code description, see
page 23-6.
SLOT:
Enter the slot number where the intelligent module is mounted. A maximum of seven intelligent modules
can be used.
ADDRESS: Specify the first address in the intelligent module to store the data.
BYTE:
Specify the quantity of data to write in bytes.
The RUNA WRITE instruction cannot be used in an interrupt program. If used, a user program execution error will result,
turning on special internal relay M8004 and the ERR LED on the CPU module.
Valid Data Types
W (word)
I (integer)
X
X
STATUS
SLOT
ADDRESS
*****
*
FC4A-C24R2/C
X
When a bit operand such as I (input), Q (output), M (internal relay), or R (shift register) is
designated as DATA, 16 points are used.
When a word operand such as T (timer), C (counter), or D (data register) is designated as
DATA, 1 point is used.
« FC4A M
ICRO
23: I
NTELLIGENT
While input is on, data in the area starting at the
BYTE
operand designated by DATA is written to
***
***
ADDRESS in the intelligent module designated by
SLOT.
BYTE designates the quantity of data to write.
STATUS stores the operating status code.
FC4A-D20K3/S3
X
I
Q
X
X
— — — — — —
— — — — — — —
— — — — — — —
— — — — — — —
S
U
'
M
»
MART
SER
S
ANUAL
M
A
ODULE
CCESS
FC4A-D20RK1/RS1 & FC4A-D40K3/S3
X
M
R
T
C
D
Constant
X
X
X
X
X
X
1-7
0-127
1-127
I
NSTRUCTIONS
Repeat
X
X
23-3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents