FB "Read Data Carrier Data"
FB Name
File Name
Functional Overview
Program Example
When contact W1.00 is ON, ID sensor reads 4-byte data from address 10.
After normal readout, contact W1.02 is set to ON by 1 cycle and the readout value is outputted
to D2000.
If an error occurs by any reason, contact W1.03 is set to ON by 1 cycle.
W1.0
↑
W1.1
Data Carrier read address
Bytes to read from Data Carrier
Read data storage area type
Read data storage word address
Communications designation
Processing designation
_V60x200_ReadData
_V60x200_ReadData10.cxf
Reads data to a Data Carrier.
(BOOL)
EN
Unit No.
(INT)
&1
UnitNo
Head No.
(INT)
&1
HeadNo
(WORD)
&10
CarrierAddress
(WORD)
&4
ReadBytes
(WORD)
StoreAreaID
P_DM
(INT)
StoreAreaNo
&2000
(INT)
Communications
&0
(INT)
ByteOrder
&0
(BOOL)
Cancel
Cancel
W1.15
2-8 RFID (ID Sensor)
V600-H
_V60x200_ReadData
(BOOL)
ENO
(BOOL)
BUSY
(BOOL)
OK
(BOOL)
NG
(WORD)
ErrorCode
Busy flag
W1.1
Normal end
W1.2
Error end
W1.3
Error code