Panasonic FP Series Programming Manual page 853

Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

Data transfer within the PLC
Data types
Variable
Data type
s1
ANY16
s2
INT
n
ANY16
d
Operands
For
s1
s2
n
d
Error flags
No.
IEC address
%MX0.900.7
R9007
%MX0.900.8
R9008
In this example the function has been programmed in ladder diagram (LD) and structured text
Example
(ST).The same POU header is used for all programming languages.
POU header
All input and output variables used for programming this function have been declared in the POU
header.
Body
Five words of data defined in CPUDataToWrt are written into the addresses starting from 0 to 4 of
the intelligent unit's shared memory (located in slot 0) when Start turns on.
0
1
CPUDataToW
rt[0]
CPUDataToWrt[1]
CPUDataToWrt[2]
CPUDataToWrt[3]
CPUDataToWrt[4]
852
Function
Specifies the bank/slot number in the shared memory of the
intelligent module
Starting address for data in the shared memory of the CPU
Specifies the number of words to be written to the shared
memory
Specifies the starting address in the intelligent unit for storing
data written (destination address)
Relay
WX
WY
WR
WL
-
WY
WR
WL
WX
WY
WR
WL
WX
WY
WR
WL
Set
permanently
for an instant
2
3
4
(Slot No.)
CPU
T/C
Register
SV
EV
DT
LD
FL
SV
EV
DT
LD
FL
SV
EV
DT
LD
FL
SV
EV
DT
LD
FL
If
 s1 exceeds the limit of specified range
 the data read exceeds the area of d
Intelligent unit
0
1
2
5 words
3
4
5
6
Constant
dec. or hex.
-
dec. or hex.
dec. or hex.

Advertisement

Table of Contents
loading

Table of Contents