162
D320 PLC User's Manual
Instruction
Mnemonic
Bit Data Receive
Range
Bit
■
Word
RECVB
Bit data receive command using
link network
Double words
Ladder
Read the bit value from link network NN3, station
NN4, register type NN5, bit address NR6, and store
to bit address BR1.
Description
1. BR1: Bit address to write (bit).
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: Bit address to read in hexadecimal form (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 network bit address to read (NR6) is represented in hexadecimal form, where the low 4
bits indicate the bit number to read (from 0 to F), and the high 12 bits represent the word
number. For example, to read the 5
th
bit of word 3, the value of NR6 would be $0035.
4. The RECVB instruction can only by executed once in a given scan. To prevent reading over
the link network more than once per scan, place the RECVB 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 read the
2
nd
bit of word 1 of register type F (Fr = 7:$0012) from
link network 1, station 4 (Nt = 1:4), and write to bit
address R2.0 (To = R2.0).
RECVB
To = BR1
Nt = NN3:NN4
Fr = NN5:NR6
R
NNx: number (1 to 3)
NRx: number/register
in case of number
display in hexadecimal
BRx: bit register
RECVB
To = R2.0
Nt = 1:4
Fr = 7:$0012
F3.3 F3.10
Summary of Contents for D320 PLC
Page 1: ...D320 PLC User s Manual...
Page 18: ...6 D320 PLC User s Manual...
Page 28: ...16 D320 PLC User s Manual...
Page 34: ...22 D320 PLC User s Manual...
Page 78: ...66 D320 PLC User s Manual...
Page 176: ...164 D320 PLC User s Manual...
Page 210: ...198 D320 PLC User s Manual...
Page 258: ...246 D320 PLC User s Manual...