Data transfer within the PLC
Body
Reads 4 words of data stored in the addresses starting from 19, specified in AddrDataToRead, of
the intelligent unit's shared memory (located in slot 3). Then it stores them in the array
DestAddrCPU, when Start turns on.
0
1
Intelligent unit
0
17
18
19
20
21
22
23
24
LD
ST
When programming with structured text, enter the following:
IF
start
THEN
F150_READ( s1_BankSlot:= SlotNo,
s2_Start:= AddrDataToRead,
n_Number:= NoWordsToRead,
d_Start:= DestAddrCPU[0]);
END_IF;
850
2
3
4
(Slot No.)
DestAddCPU[0]
DestAddCPU[1]
DestAddCPU[2]
DestAddCPU[3]
CPU
4 words