160
D320 PLC User's Manual
Instruction
Mnemonic
Word Data Receive
Range
Bit
■
Word
RECV
Word data receive command
using link network
Double words
Ladder
Read NR1 words from link network NN3, station
NN4, register type NN5, address NR6, and write
them to words starting at RR2.
Description
1. NR1: Number of words to read (number/register).
RR2: Starting address for storing read data (register).
NN3: Link network number (number).
NN4: Station number on the link network (number).
NN5: Register type to read (number):
0: L register
1: M register
2: R register
3: K register
4: T/C Setting Value (SV)
5: T/C Present Value (PV)
6: W register
7: F register
NR6: Starting address of register to read (number/register).
2. The link network loop number is a number from 1 to 3. The first link module in the base rack
is assigned network ID 1, the second is 2, and the third is link network 3.
3. The RECV instruction can read up to 56 words at a time (NR1 = 1 to 56).
4. The RECV instruction can only by executed once in a given scan. To prevent reading over the
link network more than once per scan, place the RECV instruction at the end of the program.
Example
Program Expression
Operation Results
Verify that the first link module has been installed (F3.3)
and sent through the first module (F3.10). Then, from link
network 1, station 3 (Nt = 1:3), register type F, address 1
(Fr = 7:1), read one word and write it to register R2
(To = 1:R2).
RECV
To = NR1:RR2
Nt =
NN3:NN4
R
NNx: number (1 to 3)
NRx: number/register
RRx: register
RECV
To = 1:R2
Nt = 1:3
Fr = 7:1
F3.3 F3.10
Содержание D320 PLC
Страница 1: ...D320 PLC User s Manual...
Страница 18: ...6 D320 PLC User s Manual...
Страница 28: ...16 D320 PLC User s Manual...
Страница 34: ...22 D320 PLC User s Manual...
Страница 78: ...66 D320 PLC User s Manual...
Страница 176: ...164 D320 PLC User s Manual...
Страница 210: ...198 D320 PLC User s Manual...
Страница 258: ...246 D320 PLC User s Manual...