28
Shared Memory instruction - READ in WinGPC
[Programming Example]
READ
To = RR1
Sz = NR3
Fr = NN5:NR6
NN5 : Slot no. of SCU mounted.
(Number, and first I/0 slot start
from 0)
NR6 : Start address of shared memory of
SCU (Word address)
NR3 : Number of words to be read
RR1 : Start word operand of PLC for
storing read data
If M0.0 turns ON , 2 words data is read from shared memory address 251 (CH1
receiving buffer) of SCU installed in slot no.0, and send them to W0 of data register
of PLC.
READ
To = 2W0
Sz = 2
Fr = 0:251
M0.0
NN5(0) : Slot no. of SCU mounted.
(Slot 0)
NR6(251) : shared memory address of
SCU (address 251)
NR3(2) : the number of words to read (2
words)
RR1(W0) : First word operand of PLC to
store read data (W0)
• The kinds of Operand (Data memory) for NX700/
NX70 PLC
Data memory
: R, L, K, M, F, W, SR ..
• As READ instruction is executed in the unit of word,
10 byte data become 5 words
IMPORTANT
Содержание Samsung NX-SCU
Страница 4: ...4 ...
Страница 8: ...8 ...
Страница 47: ...47 Troubleshooting ...
Страница 48: ...48 ...
Страница 49: ...49 ...
Страница 54: ...54 Power Unit Dimensions mm CPU I O Special Unit Dimensions mm COM1 RS232C RS485 COM2 RS232C RS485 ...
Страница 56: ...56 ...
Страница 57: ......