Twincat plc rfid reader communication – BECKHOFF DK9322-1109-0011 User Manual

Page 3

Advertising
background image

TwinCAT

TwinCAT Supplement ‚RFID Reader Communication‘

Application Note DK9322-1109-0011

Wear and tear
Procurement costs

high

low

Barcode

Influence of dirt/moistrue

Influence of optical coverage

failure

high

no or little influence

no or little influence

variable
depends on the technique

Manufacture by customer

possible

not possible

Data density

low

high

Bulk reading capability
Unauthorised copying

not possible
easy

possible
difficult or impossible

Complexity of the application

high

very easy

RFID

Fig. 3 Differences between barcode and RFID

TwinCAT PLC RFID Reader Communication

In order to connect RFID readers to the controller, up to now the appropriate protocols had to be implemented for the various
readers on the basis of the serial interfaces. With the ‘TwinCAT PLC RFID Reader Communication’ TwinCAT library, a general,
abstract interface has been developed that can be used for any supported reader. The user sees only one block in the user
interface. The corresponding protocols have already been implemented internally for different readers; special adaptations to a
reader can be carried out simply via the configuration setting. The TwinCAT library is based on the IEC 61131-3 standard, with
which the data from the tags can be directly accessed or changed. This way, alongside the mere presence detection, the writing
of the RFID tags is also integrated into the PLC automation.

FB_Reader

eCommand
stAccessData
stCtrl
stCfg

bExecute

tTimeout
RxBuffer
TxBuffer

bBusy

bError

iErrorID

iErrCodeRcv

bResponseRcv

eResponse

stLowLevel

stReaderCfg

stReaderInfo

stTranspInfo

eManufacturer

Fig. 4 TwinCAT function block for reader implementation

The system hardware, consisting of transponders and readers, can be chosen by the user according to his application and

New Automation Technology

Beckhoff

3

For application notes see disclaimer on the last page

Advertising