Standard Read/Write Commands - Pepperl+Fuchs IC-KP-R2-V1 Manual

Identcontrol interface with serial interface
Table of Contents

Advertisement

IC-KP-R2-V1
Commands
<Ident channel>=0 allows you to assign the trigger signal to channel '0' so that the trigger
signal is transmitted to the controller and not to a read head.
This function can be used to monitor functions via the PLC if trigger signals and reading of data
cannot occur simultaneously for application related reasons. Correlation must take place in the
PLC.
7.3.2

Standard read/write commands

Single read read only code (SF):
Command:
Response:
The R/W head makes only one attempt to read a read only code.
The length of the read only code that is output depends on the tag type. See table "Supported
Tag Types" on page 26.
Enhanced buffered read read only code (EF):
Command:
Response:
The R/W head makes attempts until successful to read a read only code. Only data that
changes is transferred via the interface, i.e. the R/W head transfers data whenever it reads a
new read/write tag or whenever it reads a read/write tag where there was previously no
read/write head within the detection range.
The status '05h' (read command) is output whenever a read/write tag leaves the detection
range.
The length of the read only code that is output depends on the tag type. See table "Supported
Tag Types" on page 26.
Single read words (SR):
Command:
Response:
The R/W head makes one attempt to read <WordNum> 32-bit words from the
address<WordAddr>.
Enhanced buffered read words (ER):
Command:
Response:
The R/W head makes attempts until successful, to read <WordNum> 32-bit words from the
address <WordAddr>. Only modified data is transferred via the interface.
When a read/write tag leaves the detection range, the status '05h' (read command) is output.
Single write words (SW):
Command:
Response:
The R/W head makes one attempt to write <WordNum> 32-bit words from the
address<WordAddr>.
SF <Ident channel><CHCK><ETX>
<Status><Ident channel><Data><CHCK><ETX>
EF <Ident channel><CHCK><ETX>
<Status><Ident channel><Data><CHCK><ETX>
SR <Ident channel><WordAddr><WordNum><CHCK><ETX>
<Status><Ident channel><Data><CHCK><ETX>
ER <Ident channel><WordAddr><WordNum><CHCK><ETX>
<Status><Ident channel><Data><CHCK><ETX>
SW <Ident channel><WordAddr><WordNum><Data> <CHCK><ETX>
<Status><Ident channel><CHCK><ETX>
31

Advertisement

Table of Contents
loading

Table of Contents