You have chosen a device manufactured by Pepperl+Fuchs. Pepperl+Fuchs develops,
produces and distributes electronic sensors and interface modules for the market of
automation technology on a worldwide scale.
Before installing this equipment and put into operation, read this manual carefully. This manual
con tain es instructions and notes to help you through the installation and commiss ioning s tep
by step. This makes sure bring such a trouble-free use of this product. This is for your benefit,
since this:
■
ensures the safe operation of the dev ice
■
helps you to exploit the full functionality of the device
■
avoids errors and related malfunctions
■
avoids costs by disruptions and any repairs
■
increases the effectiveness and efficiency of your plant
Keep this manual at hand for subsequent operations on the device.
After opening the packaging please check the integrity of the device and the number of pieces
of supplied.
Symbols used
The following symbols are used in this manual:
Note!
This symbol draws your attention to important information.
Handling instructions
You will find handling instructions beside this symbol
Contact
If you have any questions about the device, its functions, or accessories, please contact us at:
Pepperl+Fuchs GmbH
Lilienthalstraße 200
68307 Mannheim
Telephone: +49 621 776-4411
Fax: +49 621 776-274411
E-M a il: fa-info@pepperl-fuchs.co m
2014-02
7
Page 8
IC-KP-B17-AIDA1
Declaration of conformity
2Declaration of conformity
2.1Declaration of Conformity
All products were developed and manufactured under observance of the applicable European
standards and guidelines.
Note!
A Declaration of Conformity can be requested from the manufacturer.
The product manufacturer, Pepperl+Fuchs GmbH, 68307 Mannheim, has a certified quality
assurance system that conforms to ISO 9001.
ISO9001
2014-02
8
Page 9
IC-KP-B17-AIDA1
Safety
3Safety
3.1Symbols relevant to safety
Danger!
This symbol indicates an imminent danger.
Non-observance will result in personal injury or death.
Warning!
This symbol indicates a possible fault or danger.
Non-observance may cause personal injury or serious property damage.
Caution!
This symbol indicates a possible fault.
Non-observance could interrupt devices and any connected facilities or systems, or result in
their c o mplete failure.
3.2Intended use
The IDENTControl IC-KP-B17-AIDA1 is a control interface including an Ethernet interface for
identification systems. The device can be used as a control cabinet module or for field
applications. Besides the Ethernet connection, you can also connect suitable inductive R/W
heads, UHF antennas or trigger sensors. Use wiring suitable for the system design.
Read through these instructions thoroughly. Familiarize yourself with the device before
installing, mounting, or operating.
Always operate the device as described in these instructions to ensure that the device and
connected systems function correctly. The protection of operating personnel and plant is only
guaranteed if the device is operated in accordance with its intended use.
3.3General notes on safety
Only instructed specialist staff may operate the device in accordance with the operating
manual.
User modification and or repair are dangerou s and will void the warranty and exclude the
manufacturer from any liability. If serious faults occur, stop using the device. Secure the device
against inadvertent operation. In the event of repairs, return the device to your local
Pepperl+Fuchs representative or sales office.
The connection of the device and maintenance work when live may only be carried out by a
qualified electrical specialist.
The operating company bears responsibility for observing locally applicable safety regulations.
Store the not used device in the original packaging. This offers the device optimal protection
against impact and moisture.
Ensure that the ambient conditions comply with regulations.
Note!
Disposal
Electronic waste is hazardous waste. When disposing of the equipment, observe the current
statutory requirements in the respective country of use, as well as local regulations.
2014-02
9
Page 10
IC-KP-B17-AIDA1
read headIDENTControl
Safety
3.4Protection
In order to improve immu nity, enclos ures for our comp o nents are made from metal , either in
part or in whole.
Figure 3.1
Danger!
Electric shock
The metallic enclos ure compon ents m ust b e connected to protective grou nd to p rotect ag ainst
dangerous voltages that may occur in the event of a fault with the SELV power supply!
10
2014-02
Page 11
IC-KP-B17-AIDA1
Product Description
4Product Description
4.1Range of application
The system is suited for the following applications:
■
Automation
■
Material flow control in production
■
Acquisition of o perating data
■
Access control
■
Identification of storage vessels, pallets, work piece carriers, refuse containers, tanks,
containers, etc.
4.2Device characteristics
■
Up to 4 R/W heads can be connected
■
Alternatively up to 2 R/W heads and 2 trigger sensors can be connected
■
LCD indic ator with backg roun d illumination
■
Direct operation using 4 function keys
■
LED s tatus indicator for bus commun ication and R/W heads
4.3Product Family
The brand name IDENTControl represents a complete identification system. The system
consists of an IDENTControl control interface with bus interface, inductive read/write heads
(125 kHz and 13.56 MHz), read/write heads with electromagnetic coupling (UHF with 868
MHz) and the associated read only and read/write tags in a number of different designs.
IDENTControl is open and can be connected to other identification systems.
The system is equally well suited for use in the switching cabinet and for field use in IP67. The
interface to the controlling fieldbus is integrated into the enclosure and all connections are
implemented as plugs. This enables simple installation and quick, correct replacement in case
of device failure. The consistent EMC design (metal enclosure, grounding, shielded wires)
offers a high degree of noise immunity. Function buttons are available for parameterization and
entering commands directly into the IDENTControl.
4.3.1R/W heads
There are different R/W heads available for the IDENTControl in different designs. Depending
on your particular application, you can connect indu ctive R/W heads (125 kHz and 13.56 MHz)
or R/W heads with electromagnetic coupling (UHF with 868 MHz).
4.3.2Read Only Tags/Read/Write Tags
Read only / read/write tag 125 kHz (inductive)
A wide range of read only and read/write tag designs are available for this frequency range,
from a 3 mm thin glass tube to a transponder 50 mm in diameter. Read/write tags are available
for te mperatures up to 300 °C (max. 5 min) in che mical-resistant hous ings for installation in
metal and in degree of protection IP68/IP69K. IPC02-... read only tags offer 40-bit read only
codes. IPC03-... read/write tags have a 928-bit freely programmable memory bank and an
unmodifiable 32-bit read only code. You can define 40-bit read only codes with IPC11-... read
only tags. You can use these as permanent read only codes or continually redefine them.
2014-02
11
Page 12
IC-KP-B17-AIDA1
Product Description
Read/write tag 13.56 MHz (inductive)
Read/write tags in this frequency range save larger quantities of data and offer a considerably
higher reading speed than read/write tags of the 125 kHz system. IQH-* and IQH1-* read/write
heads from Pepperl+Fuchs are compatible with most existing read/write tags that comply with
standard ISO 15693. With the IQH2-* read/write heads you can use read/write tags that comply
with standard ISO 14443A.
The 13.56 MHz technology even allows smart labels (read/write tags in the form of adhesive
labels with printed barcode). Currently available read/write tags have a memory capacity of
64 bits of read only code and a maximum 2 KB of programmable memory.
Data carrier 868 MHz (UHF)
Data carriers in this frequency range can be passive as well as active (with battery) and use a
specially-shaped rod antenna as the resonance element. The passive transponders can be
produced very cheaply and have a range of several meters.
As material handling and the automotive sector requires ranges of 1 to 5 meters, this system
represents a low-cost alternative to microwave systems, particularly because of its low
transponder costs. The high carrier frequency supports large data volumes and extremely short
read times.
4.3.3Handhelds
There are various handheld read/write devices available for controlling proces ses (write/read
functions, initialization of data carriers).
Figure 4.1
HandheldFrequency range
IPT-HH20125 kHz
IST-HH20250 kHz
IQT1-HH2013.56 MHz
IC-HH20-V1depending on the read/write head
12
2014-02
Page 13
IC-KP-B17-AIDA1
Link1
Link2
Traf fic
CH1 CH2 CH3 CH4
Control
IC-KP-B17-AIDA1
ESC
Product Description
4.4Displays and Controls
The following displays and controls are located on the control interface.
LEDs
Description FunctionStatu s d es cri p tio n
CH1
CH2
CH3
CH4
PWR/ERRStatu s d i sp l ay fo r
Link1/Link2 Connection to the network
Tr a f fi cNetwork activityLED flashes green as soon as the IDENTControl
Statu s d i spl ay fo r t he
read/write heads
IDENTControl
for ch anne l 1/cha nnel 2
LED illuminates green as soon as there is an active
comm and on the read/write head.
LED illuminates yellow for approx. 1 second as
soon as a command is executed successfully.
LED illuminates green as soon as the
IDENTControl is connected to a power supply and
the interface is ready for operation .
LED illuminates red as soon as there is a hardware
error or a PROFINET name has been assigned and
no PROFINET connection has been established.
LED flashes green as soon as a signal has been
sent to the IDENTControl via the "Flashing"
PROFINET function or if there is an internal data
overflow.
LED is off until initial communication is made via
Ethernet.
LED illuminates green as soon as a connection to
the network is established.
sends data.
Display
Two-line multifunction display with 12 characters per line for displaying different status and
operating information and four pictograms for displaying connected reading heads.
Push buttons
Push buttons are used for controlling the display and selecting commands when programming
the control interface.
ESC
Return to higher level
Up menu item
Down menu item
2014-02
RETURN (confirm input)
13
Page 14
IC-KP-B17-AIDA1
+
A
-
+
-
B
1
2
3
4
5
1
5
3
2
4
PE
12345
signal
Protection earth
socket at housingread/write headtrigger sensortrigger switch
voltage supply
TD+
TDRD+
not used
not used
RDnot used
not used
Ethernet
1 = + 24 V
2 = GND
3 =
not used
4 = not used
5 = not used
Product Description
4.5Interfaces and connections
The control interface IC-KP-B17-AIDA1 has the following interfaces and connections:
4.6Delivery package
The delivery package contains:
■
1 IDENTControl control interface
■
1 quick start guide
■
1 grounding screw (already fitted)
■
1 serrated lock washer (already fitted)
■
2 crimp connectors (already fitted)
4.7Connection accessories
4.7.1Connection cable for R/W heads and trigger sensors
Compatible connection cables with shielding are available for connecting the R/W heads and
trigger sensors.
Figure 4.2
AccessoriesDescription
2 m long (straight female, angled male)V1-G-2M-PUR-ABG-V1-W
5 m long (straight female, angled male)V1-G-5M-PUR-ABG-V1-W
14
10 m long (straight female, angled male)V1-G-10M-PUR-ABG-V1-W
20 m long (straight female, angled male)V1-G-20M-PUR-ABG-V1-W
Field attachable fema le c on nector, straig ht, shieldedV1-G-ABG-PG9
Field attachable male connector, straight, sh ieldedV1S-G-ABG-PG9
Field attachable fema le c on nector, angled, shieldedV1-W-ABG-PG9
Field attachable male connector, angled, shieldedV1S-W-ABG-PG9
Dummy plug M12x1VAZ-V1-B3
2014-02
Page 15
IC-KP-B17-AIDA1
Product Description
4.7.2Power Supply
The IDENTControl IC-KP-B17-AIDA1 is connected to the power supply via a connector that
complies with the AIDA directive.
Figure 4.3
AccessoriesDesignation
Field attachable connector for power supplyICZ-AIDA1-MSTB
MSTB connecting cable to M12 connectorICZ-AIDA1-MSTB-0.2M-PUR-V1-G
MSTB connecting cable to open cable endICZ-AIDA1-MSTB-5M-PUR
4.7.3Network Cable to the Ethernet Interface
The IDENTControl IC-KP-B17-AIDA1 is connected to the network via a connector that
complies with the AIDA directive.
Figure 4.4
AccessoriesDesignation
Field attachable connector for RJ45ICZ-AIDA1-V45
RJ-45 connecting cable, D-coded to M12ICZ-AIDA1-V45-0,2M-PUR-V1D-G
Stopping plugsICZ-AIDA1-B
Connector Assignment
SignalMa rking on con nector
TD+Ye ll ow
TD-Orange
RD+White
RD-Blue
2014-02
15
Page 16
IC-KP-B17-AIDA1
write headControlIDENTControl
INTERBUS
Installation
5Installation
5.1Storage and transport
For storage and transport purposes, package the unit using s hockproof packaging material
and protect it against moisture. The best method of protection is to package the unit using the
original packaging. Furthermore, ensure that the ambient conditions are within allowable range.
5.2Unpacking
Check the product for damage while unpacking. In the event of damage to the product, inform
the post office or parcel service and notify the supplier.
Check the package contents with your purchase order and the shipping documents for:
■
Delivery quantity
■
Device type and version in accordance with the type plate
■
Accessories
■
Quick start guide
Retain the original packaging in case you have to store or ship the device again at a later date.
Should you have any questions, please contact Pepperl+Fuchs.
5.3EMC concept
The outstanding noise immunity of the IDENTControl against emission and immission is based
on its consistent shielding design, which uses the principle of the Faraday cage. Interference is
caught in th e sh ie ld and sa fely diverted via the ground c onn ections.
The cable shielding is used to discharge electromagnetic interference. Wh en shielding a cable,
you must connect both sides of the shield to ground with low resistance and low inductance.
Note!
If cables with double shields are used, e.g. wire mesh and metalized foil, the both shields must
be connected together, with low resistance, at the ends when making up the cable.
Power supply cables are the source of much interference, e.g. from the supply lines of 3-phase
electric motors. For this reason, the parallel laying of power supply cables with data and signal
cables should be avoided, particularly in the same cable duct.
The metal enclosure of the IDENTControl and the metal enclosure of the R/W heads complete
the consistent shielding concept.
The most important issue here is that the shields are connected to ground with low resistance
and low inductance. The metal enclosure ensures that the shielding is not interrupted, i.e. the
complete electronics system and all routed cables are located within a Faraday cage.
Caution!
If you are operating the device in an Ethernet/IP network, read the connection guide.
16
2014-02
Page 17
IC-KP-B17-AIDA1
12345
trigger switch
trigger sensor
read/write head
signal
socket at housing
2
13
4
5
+
A
-
+
-
B
1
2
3
4
5
Installation
5.4Device connection
Electrical connection using plug connectors makes installation simple.
5.4.1Power supply
Connect the power supply for the IDENTControl using a connector that conforms with AIDA. A
plug with the following pin assignment is located on the housing:
1+ 24 V
2GND
3n.c.
4n.c.
5n.c.
Compatible connecting cable see chapter 4.7.2.
5.4.2Read/Write Head and Trigger Sensors
A maximum of 4 read/write heads can be connected to the IDENTControl.
Instead of the read/write heads, a maximum of 2 trigger sensors can be connected to sockets 3
and 4. A trigger sensor can be assigned to only one read/write head. The trigger sensors must
be PNP.
Connect the read/write heads and trigger sensors to the sockets on the top of the enclosure
using M12 connectors.
For details of compatible read/write heads, see chapter 4.3.1 and of compatible connecting
cables, see chapter 4.7.1.
5.4.3Cable length between control interface and R/W heads
The maximum cable length between the control interface and a connected R/W head is 1000
meters. If you wis h to attain the maximum possible ca ble length, select a suitably large ca ble
cross-section. See chapter 4.7.1
5.4.4Ground connection
2014-02
Connect the IDENTControl interface to ground via a screw on the right under the housing.
Note!
In order to guarantee safe grounding, mount the serrated washer between the crimp connector
and the housing.
Use a ground conductor lead with a cross-section of at least 4 mm2.
17
Page 18
IC-KP-B17-AIDA1
1243
Installation
1Housing
2Serrated lock washer
3Crimp connector
4Lock screw
Connecting the IDENTControl to ground
Screw the ground conductor to the housing with a crimp connector.
5.4.5Ethernet connection guide
Network connection
Connect the network to the IDENTControl using a connector that conforms with AIDA. Two
sockets with the following pin assignment are located on the housing:
■
TD+
■
TD-
■
RD+
■
Not used
■
Not used
■
RD-
■
Not used
■
Not used
Caution!
The network socket is connected galvanically to the grounded housing. The Ethernet/IP
specification does NOT require the use of Ethernet cables with a shield connected to the RJ-45
plug at both ends.
However, we recommend using cables with a continuous shield only, in order to avoid EMC
issues.
Note!
Protection degree IP67
If you use only one of the two network connections, you must close the unused network port
with the blind plug ICZ-AIDA1-B to achieve the protection degree IP67. The blind plug ICZAIDA1-B is available as an accessory.
See chapter 4.7.3.
18
2014-02
Page 19
IC-KP-B17-AIDA1
Installation
Transfer rates, line lengths and line types
The device can be operated in 10 Base-T or 100 Base-TX networks.
The maximum total line length is 100 m in both cases and only shielded network cables from
category 5 or above can be used.
Refer to the relevant chapter for information on compatible connecting cables.
2014-02
19
Page 20
IC-KP-B17-AIDA1
Commissioning
6Commissioning
6.1Preliminary considerations
Caution!
Uncontrolled triggered processes
Before commissioning the device, make sure that all processes are running smoothly;
otherwise damage may occur in the plant.
This manual contains important information required to operate the IDENTControl interface
with Ethernet interface. Due to the wide variety of programming options in an Ethernet network,
we a re unable to include exa mples relatin g to commissioning in this manu al.
One important aspect of the operation of an extended identification system on the Ethernet is
the time response of the overall system. The answer to the question "How long after the
positioning of a data carrier in front of a read/write head will the read data be available in the
com puter or P LC?" depends on many different factors.
The most important factors that determine the response time are:
■
Nature of the higher-level host system, e.g., PLC or PC
■
Communication betwe en th e client and server.
■
Network u tilization
■
Number and nature of connected read/write heads.
■
Code / data carrier types used
■
Nature of access to the communication objects of the read/write head.
■
Nature of the commands to the read/write head.
■
Structure of the user program.
If you are planning larger projects or gaining basic experience in programming an Ethernetbased sys tem, we recom mend constructing a model of your application before in stalling the
system in the plant. Use this model to test the process of data transfer to the identification
system.
6.2Connection
Warning!
Incorrect electrical connection
Incorrect connections may damage the system .
Before commissioning, familiarize yourself with the system of communication between the
Ethernet controller and the read/write station. Check all connections before commissioning.
When the supply voltage is connected and the device is initialized, the "PWR/ERR" LED lights
up gree n. The LE D flashes green during in itialization. The LED lig h ts u p red if a device fault
occurs.a Profinet name is not assigned or there is no Profinet connection
20
2014-02
Page 21
IC-KP-B17-AIDA1
Commissioning
6.3Device settings
Warning!
Device not configured or configured incorrectly
Configure the device prior to commissioning. A device that has not been configured or
configured incorrectly may lead to faults in the plant.
You must set the various parameters prior to comm issioning.
The parameters are volatile and non-volatile parameters. Volatile parameters are reset to their
default setting when the system is switched off and on again.
Non-volatile parameters
Para metersDefault settingVa lue rang e
Ge n e r a l
Multiplex modeOffOn / off
R/W head
Trigger modeOffOn / off
Data carrier type9900 ... FF
Ethernet interface
MAC address00:0D:81:xx:xx:xx00:0D:81:xx:xx:xx
DHCPOffOn / off
IP address169.254.10.12yyy.yyy.yyy.yyy
Stand ard ga te way169.254.254.1yyy.yyy.yyy.yyy
Subnet mask255.255.0.0yyy.yyy.yyy.yyy
Assembly inst. out100d100d ... 112d
PROFINET device nameEmptyFree text
Data hold time50d x 10 ms0d ... 255d x 10 ms
Volatile parameters
Para mete rDefault settingValue rang e
R/W head
Password modeOffon / off
Password0000000000000000 ... FFFFFFFF
Configure the read/write station with the described system commands. "99" is preset as the
data carrier type.
2014-02
21
Page 22
IC-KP-B17-AIDA1
Version
information
IPH1 IPH2 IPH3 IPH4
IDENT
Control
IPH1 IPH2 IPH3 IPH4
IdentControl
Setting
IPH1 IPH2 IPH3 IPH4
Show System
Status
IPH1 IPH2 IPH3 IPH4
MultiplexM.
X
IPH1 IPH2 IPH3 IPH4
TagType
XX XX XX XX
IPH1 IPH2 IPH3 IPH4
Trigger Mode
XXX
IPH1 IPH2 IPH3 IPH4
TriggerState
CH3:x CH4:x
IPH1 IPH2 IPH3 IPH4
Reset to
Default
IPH1 IPH2 IPH3 IPH4
Setting
Channel
IPH1 IPH2 IPH3 IPH4
Activate
Command
IPH1 IPH2 IPH3 IPH4
Setting
Tagtype
IPH1 IPH2 IPH3 IPH4
Version
Channel No:
IPH1 IPH2 IPH3 IPH4
EnhancedRead
Fixcode
IPH1 IPH2 IPH3 IPH4
Channel
X
IPH1 IPH2 IPH3 IPH4
EnhancedRead
1 Word
IPH1 IPH2 IPH3 IPH4
Channel
X
IPH1 IPH2 IPH3 IPH4
Triggermode
IPH1 IPH2 IPH3 IPH4
Sensor Ch.
X
IPH1 IPH2 IPH3 IPH4
Quit
Command
IPH1 IPH2 IPH3 IPH4
Channel
X
IPH1 IPH2 IPH3 IPH4
Reset
IdentControl
IPH1 IPH2 IPH3 IPH4
Start Addres
XXXX
IPH1 IPH2 IPH3 IPH4
Channel
X
IPH1 IPH2 IPH3 IPH4
Channel
X
IPH1 IPH2 IPH3 IPH4
TagType
XX
IPH1 IPH2 IPH3 IPH4
Ch:1 Data
XX.XX.XX
IPH1 IPH2 IPH3 IPH4
MultiplexM.
XXX
IPH1 IPH2 IPH3 IPH4
Multiplex
Mode
IPH1 IPH2 IPH3 IPH4
Proceed
with Return
IPH1 IPH2 IPH3 IPH4
Ident Ch.
X
IPH1 IPH2 IPH3 IPH4
Triggermode
X
IPH1 IPH2 IPH3 IPH4
Command
executed
IPH1 IPH2 IPH3 IPH4
Starting
System
IPH1 IPH2 IPH3 IPH4
Commissioning
6.4Operating the device
22
Figure 6. 1Bedienung am Gerät Teil 1
2014-02
Page 23
IC-KP-B17-AIDA1
Version
information
IPH1 IPH2 IPH3 IPH4
IDENT
Gateway
IPH1 IPH2 IPH3 IPH4
Setting
Display
IPH1 IPH2 IPH3 IPH4
Setting
Language
IPH1 IPH2 IPH3 IPH4
LCD light
on/off
IPH1 IPH2 IPH3 IPH4
LCD Contrast
Setting
IPH1 IPH2 IPH3 IPH4
LCD Default
Settinfg
IPH1 IPH2 IPH3 IPH4
Setting
XXXXX
IPH1 IPH2 IPH3 IPH4
LCD Kontrast
XX
IPH1 IPH2 IPH3 IPH4
SetBUS Address
IPH1 IPH2 IPH3 IPH4
Setting
Network
IPH1 IPH2 IPH3 IPH4
Setting
IPH1 IPH2 IPH3 IPH4
Setting
IP-Address
IPH1 IPH2 IPH3 IPH4
Setting
Subnet mask
IPH1 IPH2 IPH3 IPH4
StandardGateway
IPH1 IPH2 IPH3 IPH4
Display
MAC Adresse
IPH1 IPH2 IPH3 IPH4
DHCP
off
IPH1 IPH2 IPH3 IPH4
IP XXX.XXX.
XXX.XXX
IPH1 IPH2 IPH3 IPH4
SM XXX.XXX.
XXX.XXX
IPH1 IPH2 IPH3 IPH4
SG XXX.XXX.
XXX.XXX
IPH1 IPH2 IPH3 IPH4
Mac XX:XX:XX
XX:XX:XX
IPH1 IPH2 IPH3 IPH4
Setting
ProfinetIO
IPH1 IPH2 IPH3 IPH4
Device-
IPH1 IPH2 IPH3 IPH4
XXXXX
IPH1 IPH2 IPH3 IPH4
Datahold
Time
IPH1 IPH2 IPH3 IPH4
Data hold
XXX x 10 ms
IPH1 IPH2 IPH3 IPH4
Setting
Ethernet/IP
IPH1 IPH2 IPH3 IPH4
Assembly
IPH1 IPH2 IPH3 IPH4
Out XXX In XXX
IPH1 IPH2 IPH3 IPH4
Datahold
Time
Instance
IPH1 IPH2 IPH3 IPH4
Data hold
XXX x 10 ms
IPH1 IPH2 IPH3 IPH4
Reset?
X
IPH1 IPH2 IPH3 IPH4
Reset?
X
IPH1 IPH2 IPH3 IPH4
Reset?
X
IPH1 IPH2 IPH3 IPH4
Reset?
X
IPH1 IPH2 IPH3 IPH4
Reset?
X
IPH1 IPH2 IPH3 IPH4
Reset?
X
IPH1 IPH2 IPH3 IPH4
Reset?
X
IPH1 IPH2 IPH3 IPH4
DHCP
Speed and
Duplexmode
IPH1 IPH2 IPH3 IPH4
Automatic
Detection
IPH1 IPH2 IPH3 IPH4
Reset?
X
IPH1 IPH2 IPH3 IPH4
name
IDENT
Control
IPH1 IPH2 IPH3 IPH4
name
stands for pressing
ESC
stands for pressing
stands for pressing
stands for pressing
Direction
Direction
Direction
Direction
Commissioning
6.5Setting the IP address
2014-02
Figure 6.2Bedienung am Gerät Teil 2
The IP address of the IDENTControl is preset to 169.254.10.12. The way in which the IP
address is modified depends on if you are using a DHCP server.
If you are not using a DHCP server the IP address is assigned manually: You preset the IP
address on the web page or via the function keys. The device can be addressed via the preset
IP address.
Note!
You can reset the device to the preset IP address by pressing the "ESC" and "Return" buttons
simu ltaneously when switchin g o n the dev ice un til the P W R/ERR LED lights up p erm anently.
If you are using a DHCP server (or operating via a PROFINET) the server assigns the IP
address to the IDENTControl.
23
Page 24
IC-KP-B17-AIDA1
Commissioning
If you intend to use a DHCP server, you must select the "Use DHCP" option on the web page.
See chapter 8.2
Note!
We recommend using a fixed preset IP address in order to avoid system malfunctions.
6.5.1Using the identification system without a DHCP server
The following parameters must be set manually on the web page.
■
DHCP-OFF
■
IP address
■
Subnet mask
■
Gateway address
■
Assembly inst. Out
■
PROFINET device name
■
Data hold time
1)
: Parameters can also be set manually via the display.
1)
1)
1)
1)
1)
1)
Caution!
Always use parameters that you know are compatible with your network.
See chapter 8.2.
6.5.2Using the identification system in conjunction with a DHCP server
In this case, the parameters of a DHCP server are assigned to the identification system.
However, if an IP address is not assigned to the device, the corresponding settings on the
DCHP server must be configured accordingly.
The identification system ignores the permanent IP address, subnet mask and gateway
address parameters preset in the device.
24
2014-02
Page 25
IC-KP-B17-AIDA1
Command
ControlIDENT Control
* in case of an "enhanced" command
Confirmation
(Status FFh)
Response
(Execution Status)
Response *
(Execution Status)
Commands
7Commands
7.1Data Exchange
The transferred data is composed of command, confirmation and response telegrams.
The control software (client) sends a command to the IDENTControl (server). The
IDENTControl then sends confirmation of receipt (not with MODBUS TCP/IP). The
IDENTControl sends the response after the command is executed.
The IDENTControl can send multiple responses for enhanced commands. However, only a
single confirmation is sent.
A command consists of the telegram length (TCP/IP und MODBUS TCP/IP only), the
command code, the channel associated with the read/write head (ident channel), a specified
number of parame te rs and the data relatin g to the com man d.
The confirmation consists of the telegram length (TCP/IP and MODBUS TCP/IP only), the echo
of the command code, the echo of the ident channel, the status FFh and the reply counter.
The response consists of the telegram length (TCP/IP and MODBUS TCP/IP only), the echo of
the command code, the ident channel, the status, the reply counter and the requested data.
Note!
Power Supply Reset
The IDENTControl communicates via one of the following protocols:
■
TCP/IP
■
MODBUS TCP
■
Ethernet/IP
■
PROFINET IO
The Java applet of the IDENTControl web function also uses the TCP/IP protocol. To change
the protocol that the IDENTControl uses to communicate, reset the power supply.
2014-02
25
Page 26
IC-KP-B17-AIDA1
Control software
Client
IC-KP-...
(Server)
Connection
on TCP/IP level
Connection
on TCP/IP level
Data exchangeData exchange
Disconnection
on TCP/IP-level
Disconnection
on TCP/IP-level
Commands
7.2Communication via TCP/IP
7.2.1General information on data communication via TCP/IP
The IC-KP-B17-AIDA1 device was designed to act as a TCP/IP server, which means that the
so-called client must send a command to actuate each function.
Communication is established via the TCP port 10000. Programming control software requires
accurate knowledge of TCP/IP sockets.
The following illustration shows the basic communication flow:
A connection must be established on the TCP/IP level before data can be exchanged. From this
point onwards, commands can be sent from the client to the IC-KP-B17-AIDA1 device.
Command:
Byte 0Telegram length, high byte [(N+1) div 256]
Byte 1Telegram length, low byte [(N+1) mod 256]
Byte 2Command code
Byte 3Channel / Toggle bit = 0
Byte 4Parameter
Byte 5Parameter
Byte 6Write data
......
Byte NWrite data
Confirmation:
Byte 0Telegram length, high byte 0
Byte 1Telegram length, low byte 6
Byte 2Command code (echo)
Byte 3Channel / Toggle bit (echo) = 0
Byte 4Status FFh
Byte 5Reply counter
26
2014-02
Page 27
IC-KP-B17-AIDA1
Commands
Response:
Byte 0Telegram length, h ig h b yte [(N+ 1) div 256]
Byte 1Telegram length, low byte [(N+1) mod 256]
Byte 2Command code (echo)
Byte 3Channel / Toggle bit = 0
Byte 4Status
Byte 5Reply counter
Byte 6Read data
......
Byte NRead data
Note!
The toggle bit is not required for TCP/IP.
7.2.2Command examples TCP / IP
Example 1: Preset tag type using the change tag command
Command: Change tag type on channel 1 to IPC03.
00:06:04:02:30:33 (hexadecimal format)
00:06Telegram length (6 bytes)
04Command code (CT)
02Reserved / Channel (l), toggle bit (0)
30:33Tag ty p e (I PC 0 3)
Confirmation
00:06:04:02:FF:01
00:06Telegram length (5 bytes)
04Repeat command code (CT)
02Reserved / Channel (l), toggle bit (0)
FFStatus FFh (processing command)
01Reply counter
Response: There is a type IPH-... read/write head on channel 1.
00:06:04:02:00:02
00:06Telegram length (6 bytes)
04Repeat command code (CT)
02Reserved / Channel (l), toggle bit (0)
00Status 0 (comm and was executed without error)
02Reply counter
2014-02
27
Page 28
IC-KP-B17-AIDA1
Commands
Alternative response: There is no head on channel 1.
00:06:04:02:06:02
00:06Tel e g ra m l en gt h ( 6 b y te s)
04Repeat command code (CT)
02Reserved / Channel (l), toggle bit (0)
06Status 6 (hardware error)
02Reply counter
Example 2: Read tag using the single read command
For this command example, it is assumed that
■
th e tag type IP C03 i s set.
■
one type IPH-… read head is connected to channel 1.
Command: Read two words from address 0 on channel 1.
00:06:10:22:00:00
00:06Tel e g ra m l en gt h ( 6 b y te s)
10Command code (SR)
22Word number (2) / Channel (1), toggle bit (0)
00:00Word address (0000)
Confirmation
00:06:10:22:FF:01
00:06Tel e g ra m l en gt h ( 6 b y te s)
10Repeat command code (SR)
22Word number (2) / Channel (1), toggle bit (0)
FFStatus FFh (processing command)
01Reply counter
Response: A type IPC03 tag is located in front of the read head. The highlighted part is
the content of the tag.
00:0E:10:22:00:02:31:32:33:34:35:36:37:38
00:0ETelegram length (14 bytes)
10Repeat command code (SR)
22Word number (2) / Channel (1), toggle bit (0)
00Status 0 (comm and was executed without error)
02Reply counter
31:32:33:34:35:36:37:38Data
Alternative response: No tag in front of the read head.
00:06:10:02:05:02
00:06Tel e g ra m l en gt h ( 6 b y te s)
10Repeat command code (SR)
02
05Statu s 5 (no tag in the detection rang e )
02Reply counter
Tab le 7 . 1
1)
: No data in the telegram
Word number (0)1) / Channel (1), toggle bit (0)
2014-02
28
Page 29
IC-KP-B17-AIDA1
Commands
7.3Communication via MODBUS TCP/IP
7.3.1General Information on Data Communication via MODBUS/TCP
Data is exchanged between a MODBUS master (controller) and a MO DBUS slave
(identification system) by reading and writing registers. The slave contains read and write
registers. Data exchange is always initiated by the master. The master initiates an identification
system function by transferring an identification command to the write register. The master can
then retrieve the response via the read registers. The functions read holding registers, write multiple registers and read/write multiple registers are available for this purpose on the ICKP-B17-AIDA1 device. MODBUS communication occurs via port 502. The terms "input
register" and "output register" are defined from a PLC perspective.
7.3.2Overview of the characteristics of the integrated MODBUS slave
■
Multimaster c apa bility.
■
Data exchange using the commands read holding registers, write multiple registers
and read/write multiple registers.
■
Each channel is assigned a separate register area so that different controllers can each
adopt a R/W head. Only one master has write permissions for each register area.
■
The output register data is stored temporarily in a FIFO memory.
■
A monitor master can also read the data from the identification system.
■
The same identification commands used with TCP/IP are also used here.
Multimaster capability
The device can communicate with several masters. An ident channel can be addressed by two
masters. The first ma ster is the control master and addresses the device using device ID 1.
This master possesses both write and read permissions. Another master can be used to read
the data and is a protocolling master. This master then addresses the device using device ID 2.
The device can therefore be addressed on each channel once using device ID 1 and once
using device ID 2. If another master attempts to address the device on the same channel,
access to this channel is denied. A maximum of ten m asters can communicate with the device
at any one time.
MODBUS commands
The device supports the comma nds read holding registers, write multiple registers and
read/write multiple registers.
2014-02
29
Page 30
IC-KP-B17-AIDA1
Channel 0
(IDENTControl)
Channel 1
Channel 2
Channel 3
Channel 4
Group 1Group 2Group 3
0
122
0
124
0
124
3
2
3
2
1000
1122
3
2
3
2
1000
1124
1000
1124
2000
2122
3
2
3
2
2000
2124
2000
2124
3000
3122
3
2
3
2
3000
3124
3000
3124
4000
4122
3
2
3
2
4000
4124
4000
4124
Commands
Division of the register
The device contains four ident channels and a configuration channel. Each channel is
assigned a separate register area
so that a single master addresses all channels or a separate master addresses each individual
channel.
The following three register groups are assigned to each channel:
1. Group 1: Output register (device ID 1)
2. Group 2: FIFO input register (device ID 1)
3. Group 3: FIFO monitor register (device ID 2)
30
2014-02
Page 31
IC-KP-B17-AIDA1
Commands
Application example
Example 1:
Group 1Group 2Group 3
Channel 0
(IDENTControl)
Channel 1
Channel 2
Channel 3
Channel 4
122
1000
1122
2000
2122
3000
3122
4000
4122
2
3
0
124
1000
1124
2000
2124
3000
3124
4000
4124
0
2
3
2
3
2
3
2
3
124
1000
1124
2000
2124
3000
3124
4000
4124
2
3
0
2
3
2
3
2
3
2
3
ControllingLogging
MasterMaster
Description:
A master communicates with all channels. Optionally, an additional master can be used to log
data communication between the controlling master and the identification system.
2014-02
31
Page 32
IC-KP-B17-AIDA1
Channel 0
(IDENT Control)
Channel 1
Channel 2
Channel 3
Channel 4
Group 1Group 2Group 3
0
122
0
124
0
124
3
2
3
2
1000
1122
3
2
3
2
1000
1124
1000
1124
2000
2122
3
2
3
2
2000
2124
2000
2124
3000
3122
3
2
3
2
3000
3124
3000
3124
4000
4122
3
2
3
2
4000
4124
4000
4124
Controlling
Logging
Master 4
Master 4
Controlling
Logging
Master 3
Master 3
Controlling
Logging
Master 2
Master 2
Controlling
Logging
Master 1
Master 1
Controlling
Logging
Master 0
Master 0
Controlling
Logging
Master 5
Master 5
Commands
Example 2:
Description:
One controlling and one protocolling master are used for each channel. A protocolling master
can also access channels here.
Dual access to a register group within one channel is never permitted.
Group 1: Output register
Each area of this group is divided as follows:
Address
(0-based,
decimal)
0 + K-Reserved
1 + KByte 0Telegram length, h ig h byte [(N+ 1) div 256]
2 + KByte 2Command code
I + KByte N-1Parameters
Table 7.2Output register
K = 0, 1000, 2000, 3000, 4000
I = 3, 4, 5...
If the deletion bit is set, all data stored in the FIFO of the relevant channel (defined by K) is
deleted. The delete operation only starts if the status of the deletion bit changes from 0 to 1.
Byte number of the
Use
identification telegram
-Reserved/Deletion bit (LSB)
Byte 1Telegram length, low byte [(N+1) mod 256]
Byte 3Reserved/Toggle bit
Byte NParameters
2014-02
32
Page 33
IC-KP-B17-AIDA1
Commands
Groups 2 and 3: FIFO input register and FIFO monitor input register
Each area of these groups is divided as follows:
Address
(0-based,
decimal)
0 + K-Reserved
1 + KByte 0Telegram length, high byte [(N+1) div 256]
2 + KByte 2Command code (Echo)
3 + KByte 4Statu s
I + KByte N-1Data
Table 7.3FIFO input re gister and F IFO m onitor input register
K = 0, 1000, 2000, 3000, 4000
I = 4, 5, 6...
Utilization indicates the percentage of the FIFO memory occupied by data that ha s not been
retrieved. If the response data of the device is retrieved at a lower rate than the response data is
generated, the FIFO memory overflows, which results in a loss of data. Therefore, make sure
that a sufficiently high polling rate is set to ensure that the utilization value remains as far below
15 % as possible.
Byte number of the
identification telegram
-Utilization A
Byte 1Telegram le ngth, low b yte [(N+1) mod 25 6]
Byte 3Reserved/Channel/Toggle bit
Byte 5Re ply counter
Byte NData
Use
Utilization valueMeaning
0No data available
1 .. 100Data available
101Data available, but data lost due to FIFO overflow
Table 7.4Utilization value and occupancy of the FIFO memory in percent
FIFO memory
The input data of each channel is stored in two FIFO memories with identical structures. Each
FIFO memory is composed of 32 elements.
The utilization of a FIFO memory is indicated in the first register of the relevant channel. When
registers are read from the memory, the channel content in the memory is shifted along one
memory element. A master can therefore read data from the memory only once.
A protocolling master addresses the device using device ID 2. The protocolling master only has
read permissions for the third group.
7.3.3Supported MODBUS commands
write multiple registers (10h)
This MODBUS command (request) is used to start system commands and read/write
commands. The device sends a response to a write multiple registers command as outlined
in the MODBUS specification. In the event of a fault, a corresponding response is issued with
an exception code.
Process:
2014-02
33
Page 34
IC-KP-B17-AIDA1
Commands
1. A request is issued. Th e followin g pa rameters mus t be known here:
Start address (depending on channel)Channel 00d
Number of registers to be written:Maximum 123d
Table 7.5Required request parameters
2. The identification system sends a response to the MODBUS master. If an error occurs, the
response contains an exception code. A write command must be executed from the first
address from the respective channel.
If an identification command is initiated several times (e.g., if you wish to execute a read
command several times in succession), the first four bytes of the identification telegram must
be modified accordingly. The toggle bit can be used for this.
Example:
Channel 11000d
Channel 22000d
Channel 33000d
Channel 44000d
In the following example, the tag type IPC03 is set to channel 2 and then a read command is
executed. The following prerequisites must be fulfilled:
■
One type IPH-XX read head is connected to channel 2.
■
The IP address is configured.
■
A network connection is established.
■
A MODBUS master is available (PC-based or PLC).
First step
The following parameter settings must be configured in the MODBUS master:
Slave IP address:Identification system IP address
Timeout time:1000 ms
Device ID:1
Start address:2000d
Number of registers to be written.4d
Table 7.6Required parameter settings on the MODBUS master
34
2014-02
Page 35
IC-KP-B17-AIDA1
Commands
Second step
The identification command change tag must be sent to the identification system to set the tag
type.
Address
(0-based)
2000dHigh byte Reserved00h-
2001dHigh byte
2002dHigh byte
2003dHigh byte
Table 7.7Required parameter settings for the data carrier type
The slave must confirm that the executed MO DBUS transaction was successful. If this is not
the case, the master generates an error message.
Register division
By te number of th e
identification
telegram
Low byteReserved/Deletion bit
Byte 0
Low byte
Byte 1
Byte 2
Low byte
Byte 3
Byte 4
Low byte
Byte 5
UseContentsMeaning
(LSB)
Length of the identification telegram from this
byte onwards
Length of the
identification telegram
Command code 04hchange tag
Reserved/Channel/
Toggle bit
Data carrier type
High byte
Data carrier type
Low byte
00hNo delete operation
00h-
06h6 bytes long
command
00hNo channel
specification requ ired
30hIPC03
33hIPC03
Third step
In this example, the read command is initiated by the identification command enhanced read .
Address
(0-based)
2000dHigh byte Reserved00h-
2001dHigh byte
2002dHigh byte
2003dHigh byte
2014-02
Table 7.8Executing the read comma nd
Register division
Byte nu mber of th e
identification
telegram
Low byteReserved/Deletion bit
Byte 0
Low byte
Byte 1
Byte 2
Low byte
Byte 3
Byte 4
Low byte
Byte 5
UseContentsMeaning
(LSB)
Length of the
ide ntification telegram
from this byte onwards
Length of the
ide ntification
telegram
Command code 19henhanced read
Word number/Channel/
To gg le bit
Word address
High byte
Word address
Low byte
00hNo delete operation
00h-
06h6 bytes long
command
40hRead 4 words, no
ch annel specification
required
00hRea d from data carrier
address 0
00h Same as previous
byte
35
Page 36
IC-KP-B17-AIDA1
Commands
Note!
When all 3 steps have been completed successfully, LED 2 under the display mu st light up
green. If you then hold a type IPC03 data carrier in front of the reading head, the LED should
light up orange. If you wish to transfer an identification command to the identification system a
second time, the toggle bit must be inverted to enable the transfer of cyclic data to a PLC.
read holding registers (03h)
This MODBUS command (request) can be used to export the input register from the
identification system. When data becomes available, the device writes it to the input register. If
the data is not retrieved immediately, up to 32 responses can be stored temporarily before data
is lost. If no response data is available, the content of the register is 0.
Process:
1. A request is issued. Th e followin g pa rameters mus t be known here:
Start address (depending on channel)Channel 00d
Number of registers to be read:Maximum 125d
Table 7.9Parameters required for a request
Channel 11000d
Channel 22000d
Channel 33000d
Channel 44000d
2. The identification system sends a response to the MODBUS master. This response includes
the content of the requested register. If an error occurs, the response contains an exception
code. A read/write command mus t be executed from the first address of the relevant channel.
Example:
In this example, the responses generated in the previous example are retrieved. The following
prerequisite must be fulfilled:
■
The example of the write multiple registers was executed successfully.
First step
The MODBUS master parameters must be configured:
Slave IP address:Identification system IP address
Timeout time:1000 ms
Device ID:1
Start address:2000d
Number of registers to be read:12d
Table 7.10MODBUS ma ster parameters
Second step
A read holding registers MODBUS command must be executed. The contents of the register
indicate the response to the executed iden tification command change tag.
36
2014-02
Page 37
IC-KP-B17-AIDA1
Commands
Address
(0-based)
2000dHigh byte Reserved00h-
2001dHigh byte
2002dHigh byte
2003dHigh byte
2004d 2011d
Table 7.11 Responses to the executed identification command change tag
Register division
Byte nu mber of th e
identification
telegram
Low byteUtilization register06h6% of the FIFO
Byte 0
Low byte
Byte 1
Byte 2
Low byte
Byte 3
Byte 4
Low byte
Byte 5
High byte-00h-
Low byte-00h-
UseContentsMeaning
Length of the
ide ntification
telegram from this byte
onwards
Length of the
ide ntification
telegram
Command code 04hchange tag
Reserved/Channel/
To gg le bit
Statu s00h00h = com mand
Reply counter01hIncreases by 1 after
00h-
06h6 bytes long
04h4 corresponds to
memory is utilized
command
channel 2. Channel
number shifted 1 bit to
the left.
executed (meaning of
the identification
statuses see chapter
10.1)
each additional
response.
Third step
A read holding registers - MODBUS command must be executed. The registers contain the
response to the executed identification command enhanced read.
Address
(0-based)
2000dHigh byte Reserve d00h-
2001d High byte
2014-02
Register division
Byte number of the
identification
telegram
Low byteUtilization regis te r03h3% of the FIFO
Byte 0
Low byte
Byte 1
UseContentsMeaning
memory is utilized
Length of the
identification
telegram from this byte
onwards
Length of the
identification
telegram
00h-
06h6 bytes long
37
Page 38
IC-KP-B17-AIDA1
Commands
Address
(0-based)
2002dHigh byte
2003dHigh byte
2004d 2011d
Table 7.12Response to the executed identification command enhanced read
Register division
Byte number of the
ide ntification
telegram
Byte 2
Low byte
Byte 3
Byte 4
Low byte
Byte 5
High byteData00hNo d ata read beca use
Low byteData00hNo d ata r ead beca use
UseContentsMeaning
Command code 19henhanced read
Word number/Channel/
To gg le b it
Status05h05h = identification
Reply counter02hIncreases by 1 after
04hWord count = 0.
command
4 corresponds to
channel 2. Channel
number shifted 1 bit to
the left.
read error (meaning of
the identification
statuses see chapter
10.1)
each additional
response.
no data carrier in front
of the read head.
no data carrier in front
of the read head.
Note!
If a type IPC03 data carrier is held in front of the reading head, the data can be viewed if a read
holding registers command is executed repeatedly.
read/write multiple registers (17h)
This MODBUS command combines the functionality of the read holding registerscommand
with the write multiple registerscommand. This command should always be used when data
is exchanged cyclically via a controller. The following should be noted:
If an identification command is initiated via this MODBUS command (for example, a read
command), the answer to this command is not included in the response associated with this
request. The data is only available after the time required to process the command has
elapsed.
If an identification command is initiated several times (e.g., if you wish to execute a read
command several times in succession), the first four bytes of the identification telegram must
be modified accordingly. The toggle bit can be used for this.
Process:
1. A request is issued. Th e followin g pa rameters mus t be known here:
Writing:
Start address (depending on channel)Channel 00d
Channel 11000d
Channel 22000d
Channel 33000d
Channel 44000d
Number of registers to be written:Maximum 121d
Table 7.13Parameters required for a request
2014-02
38
Page 39
IC-KP-B17-AIDA1
Commands
Reading:
Start addressWriting start address
Number of registers to be read:Maximum 125d
Table 7.14Parameters required for a request
2. The identification system sends a response to the MODBUS master. If an error occurs, the
response contains an exception code.
7.3.4General notes on creating the control program
TCP connection:
Many MODBUS masters enable the use of transactions accompanied by a TCP link
connection and disconnection. As outlined in the MODBUS specification, we recommend
maintaining as opposed to terminating the connection following a transaction.
Tr an s a c t io n tim e o u t :
The timeout time heavily influences the load on the network you are using. 1000 ms can be
accepted as a guide value.
Transaction cycle time:
The repeat rate must be higher than the number of data carriers read per time unit (per
channel). A correspondingly short cycle time must be selected. The FIFO load register can be
monitored to determine whether the refresh rate of the controller is sufficiently high.
Cyclic reading and writing of registers:
Writing:
An identical identification command can only be executed again in succession if the first four
telegram bytes change. The toggle bit can be used for this. In this way, the controller can
transfer a register set several times during a cyclic data exchange without issuing a second
identification command unintentionally.
All identification commands contain a channel number. This is ignored when MODBUS/TCP is
used. The channel is defined using the register address only. The ident channel is still included
in the telegram when the register is read.
Reading:
The identification system only transfers a response to an identification command once. Note
therefore that the controller evaluates each telegram transferred via the bus. When using
enhancedcommands, the following procedure for distinguishing between old and new data is
recom mended because the controller CPU cycle is usually quicker than the bus cycle:
1. Check whether a telegram is available: Telegram length > 0?
2. Is the reply counter for this telegram different to the previous one?
3. If the status set to 0?
Can all three cases be answered with "YES", is a new, valid answer available?
Note!
Visit www.pepperl-fuchs.com to view a PLC example program.
2014-02
39
Page 40
IC-KP-B17-AIDA1
Commands
7.3.5MODBUS exception codes
The device issu es a response for each MODBUS transaction. The following table contains a list
of poss ible exc ep tion codes:
CodeNameDescription
01Ille ga l functionThe function code is not: 03h, 16h, 17h.
02Ille ga l data a ddressThe registers to be written or read are outside of the
03Ille ga l data valueThe number of data sets to be read or written is invalid.
04Slave device failureInternal error
06Slave device busyAn attempt is made to access a channel that is already
0AGate wa y p at h
unavailable
Table 7.15Exceptions of MODBUS transactions
7.4Communication via Ethernet/IP
defined range.
being used by another client.
The device ID is not 1 or 2.
7.4.1General information on communication via Ethernet/IP
Ethernet/IP is an open fieldbus standard, which enables the exchange of data between
programmable logic controllers (PLCs), PCs, control systems, monitoring systems, sensors
and actuators.
Please visit the ODVA website at www.odva.org for more information about Ethernet/IP.
7.4.2Performance spectrum
■
Implicit message
■
Explicit message
■
PCCC
7.4.3PLC settings for implicit communication
The following parameters must be configured in addition to the IP address:
Assembly instanceSize (32 bits)
Input150 - 162 (output + 50d)2-15*
Output100 - 1122-15*
Configuration1120
Table 7.16PLC settings for implicit communication
The lower limit of the R PI is 1 0 ms.
7.4.4Data/Command transfer
40
Data is exchanged with the control interface using commands that the device recognizes.
There is an important difference between these commands and commands used for TCP/IP
and MODBUS protocols: Ethernet/IP commands do not contain parameters for the command
length.
The commands are transferred via Ethernet/IP objects, i.e., objects from classes 04h, 64h, and
65h. There are always two different modes available, which m ay not be confused: "Mixed
mode" and "Separated mode".
2014-02
Page 41
IC-KP-B17-AIDA1
Channel 1
Channel 2
Channel 3
Channel 4
Channel
Output command object Input command object
IDENTControl
Class 64h
Instance 03
d
Attributes 1-4
1
Class 65h
Instance 03
d
Attributes 1-4
1
Class 64h
Instance 05
d
Attributes 1-4
1
Class 65h
Instance 05
d
Attributes 1-4
1
Class 65h
Instance 01
d
Attributes 1-4
1
Class 64h
Instance 02
d
Attributes 1-4
1
Class 65h
Instance 02
d
Attributes 1-4
1
Class 64h
Instance 04
d
Attributes 1-4
1
Class 65h
Instance 04
d
Attributes 1-4
1
Class 64h
Instance 01
d
Attributes 1-4
1
Commands
7.4.5Mixed mode
Channel 1
Channel 2
Channel 3
Channel 4
Class 64
h
Instance 06
Attributes 1-4
Input command objectOutput command object
Class 65
h
d
1
Instance 06
Attributes 1-4
d
1
Channel
IDENTControl
The five identification channels (four R/W heads, one configuration channel) are addressed
using an input and an output instance, with the advantage that the controller requires less
memory.
The different parameters of the identification telegram distinguish the channels.
7.4.6Separated mode
2014-02
Each IDENT channel is addressed using a separate input and separate output instance. The
advantage here is that data processing is simplified because different IDENT channels do not
have to process the data in the same memory area.
41
Page 42
IC-KP-B17-AIDA1
attribute 4
attribute 3
attribute 2
attribute
1
Commands
7.4.7Data length
Depending on the data length required, four different attributes with different lengths are
available for each input/output instance.
Attribute IDData lengthMaximum number of double words (4 bytes)
181
2122
3327
46014
Table 7.17Class 64h and 65h, instance 1-6
Attributes 1-3 require fewer data bytes than attribute 4.
that can be read/written at any one time
7.4.8Assembly attributes
The attributes of the output object (class 64h) and the input objects (class 65h) appear in
different combinations in the assembly object. 26 assembly instances can be used in pairs for
implicit communication and so there are 13 possible combinations. These combinations can be
selected either via the device display, the attribute 100 from instance 0 of the assembly object
or by specifying the combination on the PLC (Forward Open).
Output
instance
Mixed
mode
100d150d8*8 / 8
101d151d12*12 / 12
102d152d32*32 / 32
103d153d60*60 / 60
Input
instance
Channel sizeRequired/
12345
(conf.)
Ge ne ra t e d s iz e
Output/Input
byte
2014-02
42
Page 43
IC-KP-B17-AIDA1
Commands
Output
instance
Sepa-
rated
mode
* access to mixed mode instance for input/output command object
The following comparison shows the relationship between input and output instances: Input
instance = output instance + 50d.
A combination of the "heartbeat" and the ident status forms the output instance 112 and input
instance 162. Refer to appendix B for a more detailed view of the object model.
104d154d888832 / 32
105d155d1212121248 / 48
106d156d32323232128 / 128
107d157d60606060240 / 240
108d158d8888840 / 40
109d159d12121212856 / 56
110d160d323232328136 / 136
111d161d606060608248 / 248
112d162d0 / 100 / 10
Input
instance
7.4.9Access administration
Channel sizeRequired/
12345
(conf.)
Ge ne ra t e d s i ze
Output/Input
byte
The assembly object is a collection of attributes from classes 64h and 65h (input and output).
Both implicit and explicit access to these objects is possible (via the assembly object).
Simultaneous access is regulated as follows to prevent the attributes from overwriting one
another.
Explicit access
Implicit data exchange
Output
instance
Mixed
mode
Sepa-
rated
mode
Table 7.18Access management for simultaneous access
100d150dxxxxxx
101d151dxxxxxx
102d152dxxxxxx
103d153dxxxxxx
104d154dxxxxx
105d155dxxxxx
106d156dxxxxx
107d157dxxxxx
108d158dxxxxxx
109d159dxxxxxx
110d160dxxxxxx
111d161dxxxxxx
112d162dx
Input
instance
Instances from input/output commands
12345
6
(conf.)
2014-02
43
Page 44
IC-KP-B17-AIDA1
Commands
7.4.10Heartbeat and ident status
If instance 112d and 162d of the assem bly object are selected, the size of the output field is 0
bytes and the size of the input that contains the status and reply counter is 10 bytes.
Byte statusDescription
00Status of the IDENTControl
01Reply counter of the IDENTControl
02Status of channel 1
03Reply counter from channel 1
04Status of channel 2
05Reply counter from channel 2
06Status of channel 3
07Reply counter from channel 3
08Status of channel 4
09Reply counter from channel 4
Table 7.19Description of the status byte
The advantage of this procedure is that only a few data bytes are transferred via the bus. Ident
commands are transferred as the ident system as explicit commands. A new ident response
can be read as soon as the value on the reply counter changes.
7.4.11Data hold time
All responses from the device are present in the input field for a specific time. Make sure that
the controller reads all responses before they are overwritten by a new response. The data hold
time indicates how long an ident telegram of this kind remains in the input field. The data hold
time can be adjusted via the display or the boot-up object. Values between 0 and 2.55 seconds
can be preset in 10 ms increments. The default value is 100 ms. Make sure that the data hold
time is greater than the maximum cycle time of the whole system (including data storage to the
PLC). However, the data hold time should not be much longer than necessary for the following
reasons:
1. The reaction time of the device will increase if several responses arrive in quick succession.
2. The maximum possible number of response telegrams per time unit decreases when the
data hold time is increased. A memory overflow may occur. The State LED then flashes
green.
7.4.12PCCC
PLC5 and SLC500 PLCs use PCCC messaging. The identification system also supports
PCCC. The data telegrams receive the output and input data from the selected assembly
object. Note the byte sequence here (see "Example: Assembly instance 104, single read
command" on page 45).
44
Supported PCCC commands:
■
Write PLC5 type point-to-point
■
Read PLC5 type point-to-point
The data is always written as an integer data set starting with N14:0. The data is read as an
integer data set starting with N7:0. The length is determined by the assembly instance selected
via the display on the Ident Control.
2014-02
Page 45
IC-KP-B17-AIDA1
Commands
Example: Assembly instance 104, single read command
Configure output instance 104d first via the display.
N14:0<WordNum><T> <command>
N14:1<WordAddr> (low byte)<WordAddr>(high byte)
N14:2Write data DW 1 (if not used, please set to 0)
N14:3Write data DW 1 (if not used, please set to 0)
N14:4<WordNum><T> <command>
N14:5<WordAddr> (low byte)<WordAddr>(high byte)
N14:6Write data DW 1 (if not used, please set to 0)
N14:7Write data DW 1 (if not used, please set to 0)
N14:8<WordNum><T> <command>
N14:9<WordAddr> (low byte)<WordAddr>(high byte)
N14:10Write data DW 1 (if not used, please set to 0)
N14:11Write data DW 1 (if not used, please set to 0)
N14:12<WordNum><T> <command>
N14:13<WordAddr> (low byte)<WordAddr>(high byte)
N14:14Write data DW 1 (if not used, please set to 0)
N14:15Write data DW 1 (if not used, please set to 0)
Tab le 7 . 20Wr ite P LC 5 t ype
1514131211109876543210
1514131211109876543210
N7:0<WordNum>001<T> <command>
N7:1<ReplyCounter><Status>
N7:2Read data DW 1
N7:3Read data DW 1
N7:4<WordNum>010<T> <command>
N7:5<ReplyCounter><Status>
N7:6Read data DW 1
N7:7Read data DW 1
N7:8<WordNum>011<T> <command>
N7:9<ReplyCounter><Status>
N7:10Read data DW 1
N7:11Read data DW 1
N7:12<WordNum>100<T> <command>
N7:13<ReplyCounter><Status>
N7:14Read data DW 1
N7:15Read data DW 1
Table 7.21Read PLC5 type
2014-02
45
Page 46
IC-KP-B17-AIDA1
Commands
Some restrictions apply to assembly instances 107d/157d and 111d/161d:
The control interface does not support fragmentation protocols. It is, therefore, not possible to
send or receive more than 114 words simultaneously. The whole data set must be divided into
two separate PCC commands because instances 107d/157d and 111d/161d use more than
114 registers.
Example of reading/writing operations involving more than 114 registers:
First command:
Message typeStart registerNumber of registers
Write PLC5 typeN14:060
Second command:
Message typeStart registerNumber of registers
Write PLC5 typeN14:6064 (128 bytes / 2)
Third command:
Message typeStart registerNumber of registers
Read PLC5 typeN7:060
Fourth command:
Message typeStart registerNumber of registers
Read PLC5 typeN7:6064 (128 bytes / 2)
7.5Communication via PROFINET
7.5.1General information on communication via PROFINET
PROFINET is an open standard for industrial automation based on industrial Ethernet.
PROFINET integrates information technology with established standards such as TCP/IP and
XML into automation technology.
The communication concept for setting up decentralized applications within PROFINET is
PROFINET IO, i.e. decentralized field devices are installed by PROFINET IO. The familiar IO
view of PROF IBUS DP is used where the usable data of the field devices is cyclically
transferred to the controller process image. PROFINET IO is a device model consisting of slots
and channels, which is based on the main features of PROFIBUS DP. The field device
properties are described in GSDML (General Station Description Markup Language) in XML
format. PROFINET IO is engineered in the same way as system integrators from PROFIBUS
DP have been for years. Here, the decentralized field devices are assigned in the settings of a
controller.
46
PROFINET IO draws a distinction between three device types: IO controller, IO device, and IO
supervisor:
IO controller: Controller that executes the automation program.
IO device: Decentrally assigned field device that is assigned to an IO controller.
IO supervisor: Programming unit/PC with commissioning and diagnostic function.
2014-02
Page 47
IC-KP-B17-AIDA1
Commands
7.5.2Overview of the characteristics of the integrated PROFINET IO device
In the network, the IDENTControl IC-KP-B17-AIDA1 is a PROFINET IO device that
communicates cyclically with the assigned PROFINET IO controller during operation. The
IDENTControl IC-KP-B17-AIDA1 supports the range of functions as per
7.5.3Project planning using device description (GSDML)
As with PROFIBUS DP, the PROFINET IO device is integrated in the configuration tool by way
of a device description. The characteristics of an IO device are described in a GSDML (General
Station Description Markup Language), which contains all the relevant data related to a field
device (technical properties and information for com munication) that is required to address and
operate the device in a PROFINET network. PROFINET uses the XML-based language
GSDML (General Station Description Markup Language) to describe the device.
The description files for the IO devices are imported into the configuration tool. Peripheral
addresses are assigned to the individual IO channels of the field devices. The peripheral input
addresses incorporate the received data. The user program evaluates and processes this data.
The user program generates the peripheral output values and sends them to the
IDENTControl.
Once programming is complete, the programming and configuration data is uploaded to the IO
controller. The IO controller programs and configures the IO devices automatically.
Conformance Class B
The following data field sizes (modules) are predefined in the GSD file:
For read/write operation:
"In/Out 8 bytes"Co rresp onds to1 word
(32 bits)
"In/Out 12 bytes""2 words"
"In/Out 16 bytes""3 words"
"In/Out 20 bytes""4 words"
"In/Out 24 bytes""5 words"
"In/Out 28 bytes""6 words"
"In/Out 32 bytes""7 words"
"In/Out 64 bytes""15 words"
For read only operation:
"8 In/4 Out bytes"Corresponds to1 word
(32 bits)
"12 In/4 Out bytes""2 words"
"16 In/4 Out bytes""3 words"
"20 In/4 Out bytes""4 words"
"24 In/4 Out bytes""5 words"
"28 In/4 Out bytes""6 words"
"32 In/4 Out bytes""7 words"
"64 In/4 Out bytes""15 words"
Input and output data
Input data
Select one of the predefined modules. In doing so, make sure that the data field size for the
read/write commands used is sufficient, depending on the parameter word count.
Note!
The data hold time is stored in the GSDML file. This value can be changed via the properties of
the PROFINET device.
2014-02
47
Page 48
IC-KP-B17-AIDA1
Commands
The "Data Hold Time" is the time after which the identification system may overwrite the input
data field. A time longer than the cycle time of the controller attached to the IO controller should
be selected. If two data carriers are read directly after one other, the code of the one read first
remains in the input data field for the specified time before the next one is entered.
7.5.4GSDML file and example project in the internet
Visit http://www.pepperl-fuchs.com to download the GSDML file for this PROFINET IO device
and view an example project for the Ethernet connection on a SIMATIC S7.
1. Simply enter the product name or model number in the Product/Key word search box and
click Search.
2. If there is more than one compatible product, a product list appears. Select your product
from the list.
3. Open the Product Information list. Select "Technical Documents ".
A list of all available documents is displayed.
4. Select the GDSML file or the example product by clicking the relevant ZIP file name.
7.5.5Start-up: Assignment of device name, LED flashes
Unique device names must be assigned to the IO devices within a PROFINET IO system. The
IO devices are identified in the network by their name and MAC address.
Names are assigned using the configuration tool ("Device creator"). Select a unique name for
the IO device (object in the programming) and then assign this name to the actual device (->
assign device name). Select the required IO device from the list of available devices with
reference to the MAC address.
Many configuration tools offer the option of making a specific LED flash so that the device can
be identified more easily. Select a IO device with reference to the MAC address and then
activate the flashing function/flash test. The PWR/ERR LED on the IO device IC-KP-B17 then
flashes.
Refer to the documentation accompanying the configuration tool you intend to use for a more
detailed description of the procedure for allocating device names and starting the flash test.
Once the device names are selected and assigned, the modified configuration must be loaded
into the PROF INET IO controller. Th e IO controller then automatically assigns an IP address to
the IO device.
7.5.6Data Transfer Statistics
Using the example of the Step7 software from Siemens, the graphic below shows an
engineering tool that provides data transfer statistics.
You can open a window using the "Module In formation" functions in the HW Config ha rdware
configuration. Select the "Statistics" tab to retrieve statistical data regarding the telegram
transmission.
48
2014-02
Page 49
IC-KP-B17-AIDA1
Commands
Figure 7.1
7.5.7Topology detection
To avoid extra effort during commissioning and diagnosis, PROFINET defines a process for
topology detection, which displays the system topology graphically in the higher-level
controller. The data for representing the topology is stored in the Physical Device (PDEV) of the
IDENTControl device.
Using the example of the Step7 software from Siemens, you see an engineering tool that offers
you options for topology detection using a topology editor.
You can display the interconnections of the PROFINET devices connected to the network in the
hardware configuration HW Config. The connected devices must be integrated with the second
Device Access Point (DAP2). The following diagram shows an IC-KP2-2HB17-2V1D with 2
PDEV.
2014-02
49
Page 50
IC-KP-B17-AIDA1
Commands
Figure 7.2HW Konfig / Siemen s Step7
Opening the topology editor:
1. Open the topology editor by right-clicking the Ethernet connection and then clicking the
"PROFINET IO Topology …" menu item.
50
2014-02
Page 51
IC-KP-B17-AIDA1
Commands
Figu re 7.3Opening the topology editor
2. The topology editor opens.
2014-02
51
Page 52
IC-KP-B17-AIDA1
Commands
Figure 7.4Table view
The interconnection table lists 3 devices.
3. Open the offline/online comparison by click in g the Offline/online comparison tab.
52
Figure 7 .5Offline/onlin e comparison
2014-02
Page 53
IC-KP-B17-AIDA1
Commands
The configured topology (offline) is shown in the left-hand window. The configured
topology shows the topology stored in the higher-level controller.
4. Press the "Start" button above the right-hand window to identify the actual topology. The
detected topology (online) is shown in the right-hand window.
5. Confirm the detected topology by accepting the ports. To do this, select the object name of
the device and click the "Apply" button.
Figu re 7.6Offline/Onlin e Vergleich
6. Open a graphical representation of the topology by clicking the Graphic view tab.
2014-02
53
Page 54
IC-KP-B17-AIDA1
Commands
Figure 7.7Graphic view
The port interconnections for the connected devices are graphically represented.
7. Confirm th e configuration by clicking the "OK" button .
The configuration is stored in the higher-level controller as a configured topology.
Tip
Replacing devices without a removable medium
Once the topology has been stored in the controller, each device within the topology can be
replaced with another device that is identical in construction. The PLC assigns this device the
device name and IP address of the replaced device.
7.5.8Identification & Maintenance Data
Identifi catio n and maintena nce data (I&M data ) is informatio n stored in a device . I& M data
uniquely identifies a device within a system. The identification data (I data) includes information
about the device, for example the item number and device name. Identification data cannot be
changed.
Maintenance data (M data) includes information regarding the device within the system, for
example the installation location and installation date. Maintenance data is initially stored in the
device during installation; this data can be changed.
Data Input
The Step7 software from Siemens can be used to display a nd change the I&M data. You can
read and write I&M data 1, 2 and 3 in the "Target System" menu of the HW Config hardware
configuration using the functions "Download Module Identification" and "Download Module
Identification to PG". see Figure 7.8 on page 55.
54
2014-02
Page 55
IC-KP-B17-AIDA1
Commands
I&M Data
I&M data 1 = system ID
I&M data 2 = installation date
I&M data 3 = additional information
location ID
Figure 7.8
7.6Command execution
The controller initiates an identification command. The control interface executes the new
command if the data has changed since the last read-out. If the control interface is scheduled
to execute a command a number of times, the toggle bit must be inverted. Only then does the
device sense that the command has to be executed again.
If the control interface detects a new command, it sets the status in the input field to FFh. The
reply counter value increases by 1. The status is displayed after the control interface executes
the commands.
The toggle bit of the response is the same as the toggle bit of the command.
When n ew data becomes available, the prev io us data i s overwritten. The re p ly counter value
increases by 1. In the even t o f an overflow, the reply counter is reset to its star t value (01h).
New commands may only be sent to an output field after the response from the previous
command is read.
An overview of the telegram structure with command, command confirmation and response is
provided below:
2014-02
55
Page 56
IC-KP-B17-AIDA1
Commands
Command:
Byte 0*Telegram length, high byte
Byte 1*Telegram length, low byte
Byte 2Command code
Byte 3Channel / Toggle bit = 0
Byte 4Parameter
Byte 5Parameter
Byte 6Data to be written
......
Byte NData to be written
* This byte is only used with the TCP/IP and MODBUS TCP/IP protocol.
Confirmation (with MODBUS/TCP no confirmation is sent)
Byte 0*Telegram length, high byte
Byte 1*Telegram length, low byte
Byte 2Command code (echo)
Byte 3Channel / Toggle bit (echo) = 0
Byte 4Status FFh
Byte 5Reply counter
...00h
Byte N00h
* This byte is only used with the TCP/IP and MODBUS TCP/IP protocol.
Response:
Byte 0*Telegram length, high byte
Byte 1*Telegram length, low byte
Byte 2Command code (echo)
Byte 3Channel / Toggle bit (echo) = 0
Byte 4Status
Byte 5Reply counter
Byte 6Read data
......
Byte NRead data
* This byte is only used with the TCP/IP and MODBUS TCP/IP protocol.
56
2014-02
Page 57
IC-KP-B17-AIDA1
Commands
7.7Command types
When using commands, a distinction is always made between the two command types single
mode and enhanced mode.
Single mode
The command is executed once. A response is issued immediately.
Enhanced mode
The command remains permanently active until it is interrupted by the user or by an error
message. A response is issued imm ediately.
The command remains active after the response is issued. Data is only transferred if read/write
tags change. Read/write tags are not read twice. If a read/write tag leaves the read range, the
status '5' is output.
7.8Command Overview
The commands in the list are described in detail on the following pages.
System commands
Command codeCommand description
4d04hSee "change tag (CT)" on page 59CT
2d02hSee "quit (QU)" on page 62QU
23d17hSee "configuration store (CS)" on page 63CS
22d16hSee "reset (RS)" on page 64RS
155d9BhSee "set multiplexed mode (MM)" on page 64MM
156d9ChSee "set trigger mode (TM):" on page 65TM
Standard read/write commands
Read only code
Command codeCommand description
1d01hSee "single read fixcode (SF)" on page 66SF
29d1DhSee "enhanced buffered fixcode (EF)" on page 67EF
Read data
Command codeCommand description
16d10hSee "single read words (SR)" on page 68SR
25d19hSee "enhanced buffered read words (ER)" on page 69ER
Abbreviation
Abbreviation
Abbreviation
Write data
Abbre-
Command codeCommand description
64d40hSee "single write words (SW)" on page 70SW
26d1AhSee "enhanced buffered write words (EW)" on page 71EW
2014-02
viation
57
Page 58
IC-KP-B17-AIDA1
Commands
Special command modes
Password mode with IPC03
Command codeCommand description
24d18hSee "set password m ode (PM)" on page 74PM
65d41hSee "change password (PC)" on page 75PC
66d42hSee "set password (PS)" on page 76PS
IPC03 configuration
Command codeCommand description
97d61hSee "single get configuration (SG)" on page 77SG
104d68hSee "enhanced buffered get configuration (EG):" on page 78EG
18d12hSee "single write configuration (SC)" on page 79SC
102d66hSee "enhanced buffered write configuration (EC)" on page 80EC
Abbreviation
Abbreviation
Writing read only code IPC11, IPC14, IDC-...-1K, and MVC-60
Command codeCommand description
31d1FhSingle write re ad only c odeSX
36d24hEnhanced buffered write read only codeEX
Command codeCommand description
188dBChSee "set tag ID code (TI)" on page 84TI
170dAAhSee "fill tag (S#)" on page 85S#
Extended commands for type IDC-...-1K and IUC... read/write tags.
Command codeCommand description
10d0AhSee "single read special fixcode (SS)" on page 86SS
113d71hSee "enhanced read special fixcode (ES)" on page 87ES
13d0DhSee "single program special fixcode (SP)" on page 88SP
117d75hSee "enhanced program special fixcode (EP)" on page 89EP
107d6BhSee "initialize tag (SI)" on page 90SI
Abbreviation
Abbreviation
Abbreviation
58
Extended commands for type IDC-...-1K and IQC-… tags
Command codeCommand description
71d47hSingle write words with lockSL
72d48hEnhanced write words with lockEL
Abbreviation
2014-02
Page 59
IC-KP-B17-AIDA1
Commands
Extended commands for IQH2-... and IUH-... read/write heads
With the commands WriteParam WP and ReadParam RD you can configure the IUH-F117-
V1 read/write head using different parameters. The parameters are described in the manual for
the read/write head.
This command tells the read/write head on the relevant channel which tag type to communicate
with. This setting is stored in the no n -vo latile me mory on the unit.
This byte is only used with the TCP/IP and MODBUS TCP/IP protocol.
76543210
1)
1)
Telegram length, high byte00000000
Telegram length, low byte00000110
This byte is only used with the TCP/IP and MODBUS TCP/IP protocol.
2014-02
59
Page 60
IC-KP-B17-AIDA1
Commands
Supported Tag Types
Ta g t y peP+F
High
byte
Low
byte
designation
'0''2'IPC02Unique, EM4102
'0''3'IPC03E M4450 (EM
'1''1'IPC11Q5 (Sokymat)Read/write5-125 kHz
'1''2'IPC12P+F FRAMRead/write
'2''0'
IQC20
'2''1'IQC21I-Code SLI (NXP)Read/write
'2''2'IQC22Tag -i t H F - I P lu s
'2''3'IQC23my-D SRF55V02P
'2''4'IQC24my-D SRF55V10P
'3''1'IQC31Ta g- i t H F -I Sta nd a rd
'3''3'
IQC33
'3''4'IQC34FRAM MB89R119
'3''5'IQC35I-Code SLI-S (NXP)Read/write
'4''0'IQC40All ISO 14443A
'4''1'IQC41Mifare UltraLight
'4''2'
'4''3'
IQC42
IQC43
'5''0'IDC-...-1KP+FRead/write
'5''2'ICC-...P+FRead only code287250 kHz
'7''2'
'7''3'
'7''4'
'7''5'
'7''6'
IUC7 2
IUC7 3
IUC7 4
IUC7 5
IUC7 6
Chip typeAccessWritable
Read only code55125 kHz
(EM microelectronic)
Read/write
microelectronic),
read only code
Titan
read only code
1)
All ISO 15693
compliant read/write
Read/write
read only code
tags
read only code
Read/write
(Texas Instruments)
read only code
Read/write
(Infinion)
read only code
Read/write
(Infinion)
read only code
Read/write
(Texas Instruments)
2)
FRAM MB89R118
(Fujitsu)
read only code
Read/write
read only code
Read/write
(Fujitsu)
read only code
read only code
Read only code-
compliant read/write
tags
Read/write
MF0 IC U1 (NXP)
3)
Mifare Classic MF1
IC S50 (NXP)
3)
Mifare Classic MF1
IC S70 (NXP)
read only code
Read/write
read only code
Read/write
read only code
read only code
UCode-EPC-G2XM
4)
4)
4)
4)
4)
Higgs-2 (Alien)Read only code-96868 MHz
UCode-EPC -G2
Monza 2.0 (Impinj) Read only code-96868 MHz
Higgs-3 (Alien)Read/write
(NXP)
(NXP)
Read/write
read only code
Read/write
read only code
read only code
memory
[bytes]
Read only
code length
[byte]
Frequency
range
1164125 kHz
8k4125 kHz
8813.56 MHz
112813.56 MHz
250813.56 MHz
224813.56 MHz
928813.56 MHz
32813.56 MHz
2k813.56 MHz
29813.56 MHz
160813.56 MHz
4/7
6)
13.56 MHz
48713.56 MHz
752
3440
4/7
4/7
6)
6)
13.56 MHz
13.56 MHz
1254250 kHz
648868 MHz
2896868 MHz
56240868 MHz
2014-02
60
Page 61
IC-KP-B17-AIDA1
Commands
Ta g t y p eP+F
High
byte
Low
byte
designation
'8''0'-All Class 1 Gen 2
Chip typeAccessWritable
memory
[bytes]
--Max. 96868 MHz
Read only
code length
[byte]
Frequency
range
co mplian t rea d/write
tags
'9''9'Depends on
the reader
1)
IQC20 is not an actual tag type as such, but is used to read the UID (read only code) of all ISO 15693
5)
-----
compliant read/write tags.
2)
Read/write tag IQC33 can only be used in combination with a IQH1-... read/write head. The memory is
divided into 8-byte blocks (instead of 4-byte blocks). You must enter a continuous initial address for write
commands SR, ER, SW and EW.
<WordNum> specifies the number of 8-byte blocks (here, max. 7) and m ust be an even number.
3)
Read/write tag s IQC40–IQC43 can only be used in combination with a IQH2-... read/write head.
<WordNum> specifies the number of 16-byte blocks and must be a multiple of 4.
The memory can be encrypted for each sector (1 sector = 4 blocks of 16 bytes).
The default key in the tag and reader is FF FF FF FF FF FF
. The key in the reader can be read
ASCII
using the Read param command and written using the Write param command (see System
Commands). The key is on ly ch anged in the reader durin g this process an d not in the tag!
The key in the reader is stored in the non-volatile memory.
4)
IUC7* type read/write tags can only be used with read/write head IUH-F117-V1 in combination with certain
con trol interface s.
5)
The tag type configured in the read/write head as the default is selected.
6)
Read/write tag s ca n have 4-by te (older ve rs ions) or 7-by te U IDs. I QC42 and IQC43 type rea d/write tags
from Pepperl+Fuchs generally have 7-byte UIDs.
Note!
In a plant where only one tag type is used, it is advantageous to permanently configure that tag
type so that the read/write head detects the tag quicker.
Default tag type:
In the factor y defau lt co ndi tion, the ta g type 99 is pres et in the IDENTControl (depe ndi ng on the
reading head type), thus the tag type preset on the reading head is used.
Recommendation:
For operation in an automated plant, permanently preset the data carrier type in use via a
command.
2014-02
61
Page 62
IC-KP-B17-AIDA1
Commands
quit (QU)
Command:
ByteContentsBit no.
1)
Byte 0
1)
Byte 1
Byte 2Command code (02h)00000010
Byte 3Reserved/Channel/Toggle bit0000<Channel><T>
Telegram length, high byte00000000
Telegram length, low byte00000100
76543210
1)
This byte is only used with the TCP/IP and MODBUS TCP/IP protocol.
Response:
ByteContentsBit no.
76543210
Byte 0
Byte 1
1)
1)
Telegram length, high byte00000000
Telegram length, low byte00000110
Byte 2Command code (02h)00000010
Byte 3Reserved/Channel/Toggle bit0000<Channel><T>
Byte 4Stat us<Status>
Byte 5Reply counter<ReplyCounter>
1)
This byte is only used with the TCP/IP and MODBUS TCP/IP protocol.
The command running on this channel is interrupted.
62
2014-02
Page 63
IC-KP-B17-AIDA1
Commands
configuration store (CS)
Command:
ByteContentsBit no.
1)
Byte 0
1)
Byte 1
Byte 2Command code (17h)00010111
Byte 3Reserved/Ident channel/Toggle
Byte 4Mode0000000<M>
76543210
Telegram length, high byte00000000
Telegram length, low byte00000101
----<Channel><T>
bit
1)
This byte is only used with the TCP/IP and MODBUS TCP/IP protocol.
Response:
ByteContentsBit no.
76543210
Byte 0
Byte 1
1)
1)
Telegram length, high byte00000000
Telegram length, low byte00000101
Byte 2Command code (17h)00010111
Byte 3Reserved/Ident channel/Toggle
----<Channel><T>
bit
Byte 4Stat us<Status>
Byte 5Reply counter<ReplyCounter>
1)
This byte is only used with the TCP/IP and MODBUS TCP/IP protocol.
The configuration store (CS) command allows you to store the last command sent to the R/W
head in the non-volatile memory of the IDEN TControl. The R/W head executes the command
automatically again if the power supply is interrupted or the IDENTControl is reset.
<Mode>='1' activates the mode.
<Mode>='0' deactivates the mode.
Configuration store is deactivated by default.
2014-02
63
Page 64
IC-KP-B17-AIDA1
Commands
reset (RS)
Command:
ByteContentsBit no.
1)
Byte 0
1)
Byte 1
Byte 2Command code (16h)00010110
Byte 3Reserved/Channel/Toggle bit0000000<T>
Telegram length, high byte00000000
Telegram length, low byte00000100
76543210
1)
This byte is only used with the TCP/IP and MODBUS TCP/IP protocol.
This command terminates all active commands. The device settings are reloaded from the
non-volatile memory.
This confirmation is issued for this command (status FFh) instead of a response. The device
resets the hardware and then restarts.
set multiplexed mode (MM)
Command:
ByteContentsBit no.
76543210
1)
Byte 0
1)
Byte 1
Byte 2Command code (9Bh)10011011
Byte 3Reserved/Toggle bit0000000<T>
Byte 4Multiplex mode0000000<F>
1)
Response:
ByteContentsBit no.
Telegram length, high byte00000000
Telegram length, low byte00000101
This byte is only used with the TCP/IP and MODBUS TCP/IP protocol.
64
76543210
Byte 0
Byte 1
1)
1)
Telegram length, high byte00000000
Telegram length, low byte00000110
Byte 2Command code (9Bh)10011011
Byte 3Reserved/Toggle bit0000000<T>
Byte 4Stat us<Status>
Byte 5Reply counter<ReplyCounter>
1)
This byte is only used with the TCP/IP and MODBUS TCP/IP protocol.
This command switches multiplex mode on and off. In multiplex mode, the R/W heads are
controlled according to the time multiplex process, i.e. only one R/W head is active. The
procedure minimizes mutual interference between R/W heads, allowing two R/W heads to be
mounted side by side.
2014-02
Page 65
IC-KP-B17-AIDA1
Commands
Each IDENT channel sends a response in reply to an MM command.
Multiplex mode<F> ='0': Mode off
If a R/W head is not connected to a channel, the response telegram receives the status "06h"
(hardware fault) from this channel.
set trigger mode (TM):
ByteContentsBit no.
1)
Byte 0
1)
Byte 1
Byte 2Command code (9Ch)10011100
Byte 3Ident channel/Sensor channel/
Byte 4Tri gg e r m o d e<Triggermode>
<F>='1': Mode on
76543210
Telegram length, high byte00000000
Telegram length, low byte00000101
0<Identchannel> <Sensorchann
Toggle bit
el>
<T>
1)
This byte is not used for the Etherne t/IP and PROFINET protoc ol.
Response:
ByteContentsBit no.
76543210
Byte 0
Byte 1
1)
1)
Telegram length, high byte00000000
Telegram length, low byte00000110
Byte 2Command code (9Ch)10011100
Byte 3Reserved/Sensor channel/
Toggle bit
0000<Sensorchann
el>
Byte 4Stat us<Status>
Byte 5Reply counter<ReplyCounter>
1)
This byte is not used for the Etherne t/IP and PROFINET protoc ol.
1 (00000001b): Trigger mode on
2 (00000010b): Trigger mode inverted
<T>
If a read/write command is sent to the triggered channel <Channel> after the TM command, it
is always activated when the message 0 is sent by the <Sensorchannel>.
The read/write command activated by the trigger generates the responses as if it had been
restarted by the host with each trigger.
The read command is activated using the trigger until the trigger is deactivated with trigger
mode 0.
2014-02
65
Page 66
IC-KP-B17-AIDA1
Commands
If a trigger command has assigned channel '0' (000b) for <Identchannel>, this change in the
status of th e trig ger sens or (statu s 0x00 and 0x05) is tran smi tted to the contro ller via the senso r
channel
This function can be used to monitor functions via the controller if trigger signals and reading of
data cannot occur simultaneously for application related reasons. Correlation must take place
in the controller.
7.8.2Standard read/write commands
single read fixcode (SF)
Command:
ByteContentsBit no.
1)
Byte 0
1)
Byte 1
Byte 2Command code (01h)00000001
Byte 3Reserved/Channel/Toggle bit0000<Channel><T>
Telegram length, high byte00000000
Telegram length, low byte00000100
76543210
1)
This byte is only used with the TCP/IP and MODBUS TCP/IP protocol.
Response:
ByteContentsBit no.
76543210
Byte 0
Byte 1
1)
1)
Telegram length, high byte00000000
Telegram length, low byte0000101
1
Byte 2Command code (01h)00000001
Byte 3Reserved/Channel/Toggle bit0000<Channel><T>
Byte 4Stat us<Status>
Byte 5Reply counter<ReplyCounter>
Byte 6ID code 00h ... FFh<ID-Code>
Byte 7ID code 00h ... FFh<ID-Code>
...ID code 00h ... FFh<ID-Code>
Byte N
1)
2)
3)
3)
ID code 00h ... FFh<ID-Code>
This byte is only used with the TCP/IP and MODBUS TCP/IP protocol.
The telegram length depends on the read only code length of the tag.
N = <FixLen> + 5; Ethernet/IP: N = <FixLen> + 3
2)
66
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 Type s" on pa ge 6 0 .
This byte is only used with the TCP/IP and MODBUS TCP/IP protocol.
The telegram length depends on the read only code length of the tag.
N = <FixLen> + 5; Ethernet/IP: N = <FixLen> + 3
2)
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/w rite tag or w henever it re ads a read/w ri te ta g wh ere th ere wa s 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 Type s" on pa ge 6 0 .
This byte is only used with the TCP/IP and MODBUS TCP/IP protocol.
N = 4 x <WordNum> + 5; Ethernet/IP: N = 4 x <WordNum> + 3
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.
This byte is only used with the TCP/IP and MODBUS TCP/IP protocol.
N = 4 x lt;WordNum> + 5; Ethernet/IP: N = 4 x lt;WordNum> + 3
Response:
ByteContentsBit no.
76543210
Byte 0
Byte 1
1)
1)
Telegram length, high byte00000000
Telegram length, low byte00000110
Byte 2Command code (1Ah)00011010
Byte 3Word number/Channel/Toggle bit0<Channel><T>
Byte 4Stat us<Status>
Byte 5Reply counter<ReplyCounter>
1)
This byte is only used with the TCP/IP and MODBUS TCP/IP protocol.
Within the reply from the read/write head, <WordNum> is always 0, because the answer does
not contain any user data.
The read/write h ead repeatedly atte mpts to write <WordNum> 32-bit words fro m the address
<WordAddr> until successful. After each successful write, the head sends the response and
then switches to continuous read. The read/write head then reads the same tag until the tag
has left the detection range or a new tag appears within the detection range. At this point, the
read/write head again starts write attempts.
The status '05h' is only output when a tag leaves the detection range or is not yet within the
detection range.
If two tag s enter the read range one immediately after th e other, the status '05h' is not issue d
between the two readings.
2014-02
71
Page 72
IC-KP-B17-AIDA1
Commands
7.8.3Special Command Modes
Note!
You can only use the commands in this section for the data carrier type '03' (IPC03).
IPC03 Configuration
The storage of a data carrier IPC03 is organized by word. A data word is defined with a length
of 32 bits. For the normal data range, 29 words from addresses 3 through 31 (<WordAddr> =
00h ... 1Ch) are available.
AddressMeaning<WordAddr> <ConfAddr>Note
Word 0Password--Write on ly
Word 1Protection word-1Read/write
Word 2Control word-2Read/write
Word 3 ...31Data range00h ... 1Ch-Re ad/write
Word 32Device Serial Number1Dh-Read only
Word 33Device identification1Eh-Read o nly
Word 0 contains the password. The password can only be written.
With word 1, the "Protection Word", you can define a read-protected and a write-protected
range. The "Protection Word" can only be read and written with the correct password.
With word 2, the "Control Word", you can set various operating modes and the read range for
the operating mode "Default Read". The "Control Word" can only be read and written with the
correct password.
If you would like to use the "Protection Word" and the "Control Word", you must first activate the
password mode.
The individual bits have the following meanings:
Protection word
BitMeaningByte
0 ... 7Firs t re ad-protected word0
8 ... 15L ast re ad-protected word1
16 ... 23First write-protected word2
24 ... 31Last write-protected word3
Control word
BitMeaningByte
0 ... 7Read range start0
8 ... 15Read range end1
16Password mode on/off2
17 "Read after write" operating mode on/off
18 ... 23Open
24 ... 31Open3
72
2014-02
Page 73
IC-KP-B17-AIDA1
Commands
IPC03 password mode
If the password mode in the data carrier is activated, the data range of the data carrier is read
and write-protected and can only be read or written if the R/W head sends the correct
password to the data carrier.
If the password mode in the data carrier is deactivated, every data word on the data carrier can
be read or written.
The default password of the R/W heads and the data carrier is 00000000h. In the R/W head,
the password is stored in the volatile memory and in the data carrier, the password is stored in
the non-volatile memory.
To read or write the "Protection Word" and the "Control Word", you must first enter the
password in the password mode (see the commands SC or EC).
You can also limit access to the data carriers by defining the start and end of a read-protected
and a write-protected range in the Protection Word.
Setting the password
1. Enter the correct password once with the command PS (set password).
2. Activate the password mode with the command PM (set password mode).
The password in the R/W head and on the read/write tag can be changed with the command
PC.
If the password mode is deactivated, every data word on the read/write tag can be read and
written as necessary.
To read and write the words 1 “Protection Word” and 2 “Control Word”, the correct password is
always required and therefore the password mode must be active (see the commands SC or
EC).
In addition, the access to the read/write tag can be limited via read- and write-protected ranges.
To achieve this, each mutually independent start and end of a read-protected and a writepro te c te d rang e can be define d in the "Protectio n Word".
In the factory default condition of the reading heads and the read/write tag IPC03, the
password is 0000000 0h. In the reading h ea d, the password is stored in a volatile manner and in
the read/write tag IPC03 in a non-volatile manner.
2014-02
73
Page 74
IC-KP-B17-AIDA1
Commands
set password mode (PM)
Command:
ByteContentsBit no.
1)
Byte 0
1)
Byte 1
Byte 2Command code (18h)00011000
Byte 3Reserved/Channel/Toggle bit0000<Channel><T>
Byte 4Password mode0000000<P>
Telegram length, high byte00000000
Telegram length, low byte00000101
76543210
1)
This byte is only used with the TCP/IP and MODBUS TCP/IP protocol.
Response:
ByteContentsBit no.
76543210
Byte 0
Byte 1
1)
1)
Telegram length, high byte00000000
Telegram length, low byte00000101
Byte 2Command code (18h)00011000
Byte 3Reserved/Channel/Toggle bit0000<Channel><T>
Byte 4Stat us<Status>
1)
This byte is only used with the TCP/IP and MODBUS TCP/IP protocol.
The command PM activates and deactivates the password mode of the relevant channel. In the
password mode, the password is transferred to the data carrier before each read/write access.
If a data carrier is addressed with the wrong password, then even the other data areas on the
data carrier can no longer be accessed.
This byte is only used with the TCP/IP and MODBUS TCP/IP protocol.
The command PC changes the password in a tag. Enter the old and then the new password
<PSW> here. If the password has been successfully written, the password in the read/write
head also changes and the set password command is no longer required. The password of
the IPC03 can also be changed if the password mode is deactivated.
2014-02
75
Page 76
IC-KP-B17-AIDA1
Commands
set password (PS)
Command:
ByteContentsBit no.
1)
Byte 0
1)
Byte 1
Byte 2Command code (42h)01000010
Byte 3Reserved/Channel/Toggle bit0000<Channel><T>
Byte 4Reserved00000000
Byte 5Reserved00000000
Byte 6Password 00h ... FFh<PSW> (byte 3)
Byte 7Password 00h ... FFh<PSW> (byte 2)
Byte 8Password 00h ... FFh<PSW> (byte 1)
Byte 9Password 00h ... FFh<PSW> (byte 0)
Telegram length, high byte00000000
Telegram length, low byte00001010
76543210
1)
Response:
ByteContentsBit no.
Byte 0
Byte 1
Byte 2Command code (42h)01000010
Byte 3Reserved/Channel/Toggle bit0000<Channel><T>
Byte 4Stat us<Status>
1)
The command PSsets the password, which the R/W head communicates to the data carrier in
password mode.
This byte is only used with the TCP/IP and MODBUS TCP/IP protocol.
76543210
1)
1)
Telegram length, high byte00000000
Telegram length, low byte00000101
This byte is only used with the TCP/IP and MODBUS TCP/IP protocol.
Operating mode “Default Read”
In "default read" operating mode, 1 or 2 words are read extremely quickly. The area of memory
earmarked for reading is already specified on the tag. The R/W head does not have to identify
the memory area for the tag.
76
The start and end of the read range are stored in the bytes 0 and 1 of the control word. As soon
as power is supplied to the tag, it sends data from the data range defined by the start and end
of the read range. The data range between read range start and end is read with the read
commands SR (Single read words) a nd ER (enha nced buffered read words) when
<WordAddr> is set to 0000h and <WordNum> to 00h.
The advantage of "default read" operating mode is the readout speed. The readout of one data
word (4 bytes) is twice as fast in this mode as the other modes. The readout of two words takes
approx. 1/3 less tim e. No m ore tim e advanta ges can be gained after th ree data words becau se
"default read" mode is designed to read a maximum of two words (= 8 bytes). Reading larger
data ranges can lead to error messages if the reading head does not respond within the
planned reaction time.
2014-02
Page 77
IC-KP-B17-AIDA1
Commands
Setting "Default Read"
1. Activate the password mode.
2. Write the read range start and end into the "Control Word".
3. Deactivate the password mode.
4. Read the data range with address designation 0000h and word count 0h.
The R/W head makes exactly one attempt to read a word in the configuration range
("Protection Word" or "Control Word") from the address <ConfAddr>.
This byte is only used with the TCP/IP and MODBUS TCP/IP protocol.
76543210
1)
1)
Telegram length, high byte00000000
Telegram length, low byte00001010
This byte is only used with the TCP/IP and MODBUS TCP/IP protocol.
2014-02
77
Page 78
IC-KP-B17-AIDA1
Commands
enhanced buffered get configuration (EG):
Command:
ByteContentsBit no.
1)
Byte 0
1)
Byte 1
Byte 2Command code (68h)01101000
Byte 3Reserved/Channel/Toggle bit0000<Channel><T>
Byte 4Reserved00000000
Byte 5Address in the configuration
Telegram length, high byte00000000
Telegram length, low byte00000101
range
76543210
<ConfAddr>
1)
This byte is only used with the TCP/IP and MODBUS TCP/IP protocol.
Response:
ByteContentsBit no.
76543210
Byte 0
Byte 1
1)
1)
Telegram length, high byte00000000
Telegram length, low byte00001010
Byte 2Command code (68h)01101000
Byte 3Reserved/Channel/Toggle bit0000<Channel><T>
Byte 4Stat us<Status>
Byte 5Reply counter<ReplyCounter>
Byte 6Data 00h ... FFh<Data>
...Data 00h ... FFh<Data>
Byte 9Data 00h ... FFh<Data>
1)
This byte is only used with the TCP/IP and MODBUS TCP/IP protocol.
The R/W head attempts to read a word in the configuration range from the address
<ConfAddr> until successful. Only data that change s is transferred via the in te rface, i.e. the
R/W head transfers data whenever it reads a new data carrier or whenever it reads a data
carrier where there was previously no R/W head within the detection range.
78
The status '05h' (read/write command) is output when the data carrier leaves the detection
range or if the data carrier is not yet within the detection range when the command is executed.
If two data carriers enter the read range one immediately after the other, the status '05h' is not
issued between the two readings.
This byte is only used with the TCP/IP and MODBUS TCP/IP protocol.
The R/W head makes exactly one attempt to write a word to the configuration range
("Protection Word" or "Control Word") from the address <ConfAddr>.
The password mode must be active so that the R/W head can write to the configuration range.
If the password mode is deactivated, every data word outside of the write-protected range can
be written to. If you would like to modify the write-protected range, you must modify the
"Protection Word" acco rdingly.
2014-02
79
Page 80
IC-KP-B17-AIDA1
Commands
enhanced buffered write configuration (EC)
Command:
ByteContentsBit no.
1)
Byte 0
1)
Byte 1
Byte 2Command code (66h)01100110
Byte 3Reserved/Channel/Toggle bit0000<Channel><T>
Byte 4Reserved00000000
Byte 5Address in the configuration
Byte 6Data 00h ... FFh<Data Byte 3>
Byte 7Data 00h ... FFh<Data Byte 2>
Byte 8Data 00h ... FFh<Data Byte 1>
Byte 9Data 00h ... FFh<Data Byte 0>
Telegram length, high byte00000000
Telegram length, low byte00001010
range
76543210
<ConfAddr>
1)
This byte is only used with the TCP/IP and MODBUS TCP/IP protocol.
Response:
ByteContentsBit no.
76543210
Byte 0
Byte 1
1)
1)
Telegram length, high byte00000000
Telegram length, low byte00000110
Byte 2Command code (66h)01100110
Byte 3Reserved/Channel/Toggle bit0000<Channel><T>
Byte 4Stat us<Status>
Byte 5Reply counter<ReplyCounter>
1)
This byte is only used with the TCP/IP and MODBUS TCP/IP protocol.
The R/W head attempts to write a word in the configuration range to the address <ConfAddr>
until successful. After each write, the status is evaluated and the system waits until a new data
carrier is within the detection range. The command then starts again from the beginning. In
order to write in the configuration range, the password mode must be active.
The status '05h' (read/write command) is only output when a data carrier leaves the detection
range or is not yet within the detection range when the command is executed.
80
If two data carriers enter the read range one immediately after the other, the status '05h' is not
issued between the two readings.
2014-02
Page 81
IC-KP-B17-AIDA1
Commands
Write read only code IPC11 and IDC-..-1K
"Read-after-write" operating mode is not used.
Tags IPC11 can be programmed to behave like the IPC02 read only tag. To do this, use the
commands SX and EX. The code is read when tag type '02' or '11 ' is set with the comm ands SF
and EF.
Tags IDC-...- 1K can be programmed to behave like the ICC read only tag. This programming
occupies the first 8 bytes in the tag and occurs when the tag type '50' is set with the commands
SX or EX.
This code is read when tag type '52' is set with the comm ands SF or EF. If you use the
command SF or EF when tag type '50' is selected, the 4-byte read only code of the tag is
issued.
This byte is only used with the TCP/IP and MODBUS TCP/IP protocol.
The telegram length depends on the read only code length of the tag.
N = <FixLen> + 5; Ethernet/IP: N = <FixLen> + 3
Response:
ByteContentsBit no.
76543210
Byte 0
Byte 1
1)
1)
Telegram length, high byte00000000
Telegram length, low byte00000110
Byte 2Command code (1Fh)00011111
Byte 3FixLen/Channel/Toggle bit0101<Channel><T>
Byte 4Stat us<Status>
Byte 5Reply counter<ReplyCounter>
1)
This byte is only used with the TCP/IP and MODBUS TCP/IP protocol.
The length of the read only code that is output depends on the tag type. See table "Supported
Tag Type s" on pa ge 6 0 .
2014-02
81
Page 82
IC-KP-B17-AIDA1
Commands
The R/W head makes only one attempt to write a read only code.
IPC11:<FixLen>=5
IDC-...-1K:<FixLen>=7
Type IDC-...-1K tags can be programmed in such a way that they are compatible with the type
ICC-... read only carriers. This programming occupies the first 8 bytes in the tag. The read/write
commands can be used to access the remaining memory.
<FixType>='02' ASCII (30h 32h), the read only code cannot be
changed
'11' ASCII (31h 31h), the read only code can be
overwritten
The first 3 bytes are hexadecimal (0h ... Fh), the last 4
bytes are decimal (0d ... 9d).
<FixType>='52' ASCII (35h 32h), the read only code can be
overwritten
<Data>=(Byte 1 to 3): 0x30 ... 0x39; 0x41...0x46
(Byte 4 to 7): 0x30...0x39
You must set the tag type '50' in order to program type IDC-...-1K tags. To do this, transmit the
command SX or EX.
The value range contains 7 characters:
■
the first 3 characters contain the values 0 ... F (hexadecimal code)
■
the last 4 characters contain the values 0 ... 9 (decimal code)
You must select the tag type '50' (ICC-...) beforehand in order to read out this code. If a "read
only code" command is executed when the tag type '50' (IDC-...-1K) is set, the 4-byte read only
code for this tag is iss ued.
This byte is only used with the TCP/IP and MODBUS TCP/IP protocol.
The telegram length depends on the read only code length of the tag.
N = <FixLen> + 5; Ethernet/IP: N = <FixLen> + 3
Response:
ByteContentsBit no.
76543210
Byte 0
Byte 1
1)
1)
Telegram length, high byte00000000
Telegram length, low byte00000110
Byte 2Command code (24h)00100100
Byte 3FixLen/Channel/Toggle bit0101<Channel><T>
Byte 4Stat us<Status>
Byte 5Reply counter<ReplyCounter>
1)
This byte is only used with the TCP/IP and MODBUS TCP/IP protocol.
The R/W hea d constantly attempts to write a re ad only code. After each su ccessful write, the
response is sent and the system waits until a new tag is within the detection range. The
command then starts again from the beginning.
IPC11:<FixLen>= 5
<FixType> = '02' ASCII (30h 32h), the read only code cannot be changed
'11' ASCII (31h 31h), the read only code can be overwritten
IDC-...-1K: <FixLen>= 7
The first 3 bytes are hexadecimal (0h ... Fh), the last 4 bytes are
decimal (0d ... 9d).
<FixType> = '52' ASCII (35h 32h), the read only code can be overwritten
<Data>= (Byte 1 to 3): 0x30 ... 0x39; 0x41...0x46
(Byte 4 to 7): 0x30...0x39
2014-02
83
Page 84
IC-KP-B17-AIDA1
Commands
Type IDC-...-1K tags can be programmed in such a way that they are compatible with the type
ICC-... read only carriers. This programming occupies the first 8 bytes in the tag. The read/write
commands can be used to access the remaining memory.
You must set the tag type '50' in order to program type IDC-...-1K tags. To do this, transmit the
command SX or EX.
The value range contains 7 characters:
■
the first 3 characters contain the values 0 ... F (hexadecimal code)
■
the last 4 characters contain the values 0 ... 9 (decimal code)
You must select the tag type '50' (ICC-...) beforehand in order to read out this code. If a "read
only code" command is executed when the tag type '50' (IDC-...-1K) is set, the 4-byte read only
code for this tag is iss ued.
This byte is only used with the TCP/IP and MODBUS TCP/IP protocol.
This command restricts the execution of all other read/write commands to the read/write tag
with the specified ID c ode. This also applies if a nothe r read/write tag is located within the
detection range. A targeted response is achieved from the read/write tag as a result.
<ByteNum> = 0h: Do not make a selection. An ID code is not specified in the telegram.
<ByteNum> = 8h (System IQ): Make a selection. An ID code must be specified in the telegram.
84
2014-02
Page 85
IC-KP-B17-AIDA1
Commands
<ByteNum> = 0h deletes this filter.
Note!
The TI command only adjusts a setting in the reading head. There is no HF comm unication
with the read/write tags.
fill tag (S#)
Command:
ByteContentsBit no.
1)
Byte 0
1)
Byte 1
Byte 2Command code (AAh)10101010
Byte 3Reserved/Ident channel/Toggle
Byte 4Start address<WordAddr> (high byte)
Byte 5Start address<WordAddr> (low byte)
Byte 6Word co un t<WordNum> (high byte)
Byte 7Word co un t<WordNum> (low byte)
Byte 8Character<Fill Sign>
76543210
Telegram length, high byte00000000
Telegram length, low byte00001001
<Reserved><Channel><T>
bit
1)
This byte is only used with the TCP/IP and MODBUS TCP/IP protocol.
Response:
ByteContentsBit no.
76543210
Byte 0
Byte 1
1)
1)
Telegram length, high byte00000000
Telegram length, low byte00000110
Byte 2Command code (AAh)10101010
Byte 3Reserved/Ident channel/Toggle
<Reserved><Channel><T>
bit
Byte 4Stat us<Status>
Byte 5Reply counter<ReplyCounter>
1)
This byte is only used with the TCP/IP and MODBUS TCP/IP protocol.
The word number <WordNum> of fill signs <Fill Sign> is written to the read/write tag from the
specified start address <WordAddr>.
Extended commands for type IDC-... and IUC… tags
Type IDC-...-1K tags can be programmed to read 24-bit information (so-called special read
only code) very quickly. This is useful for detecting containers in automated warehouses.
Length of the special read only code:
■
Tag of the type IDC-...-1K:48 bit
■
Tag of the type IUC:96 ... 240 bit
2014-02
85
Page 86
IC-KP-B17-AIDA1
Commands
To write the special read only code use the commands SP and EP; to read it out, use the
commands SS and ES.
If SP or EP is used to write to an IDC-...-1K tag, the tag is then locked. If you wish to write to the
tag again using standard commands, unlock it using the command SI.
This byte is only used with the TCP/IP and MODBUS TCP/IP protocol.
Response:
ByteContentsBit no.
76543210
Byte 0
Byte 1
1)
1)
Telegram length, high byte00000000
Telegram length, low byte00001100
Byte 2Command code (0Ah)00001010
Byte 3Reserved/Ident channel/Toggle
----<Channel><T>
bit
Byte 4Stat us<Status>
Byte 5Reply counter<ReplyCounter>
Byte 6
2)
ID code 00h ... FFh<IDCode>
...ID code 00h ... FFh<IDCode>
Byte N
1)
2)
3)
ID code 00h ... FFh<IDCode>
This byte is only used with the TCP/IP and MODBUS TCP/IP protocol.
The first byte indicates whether an EPC code is shown
■
1 = EPC applic ation
86
■
0 = 18000-6C (ISO)
3)
N = <FixLen> + 5; Ethernet/IP: N = <FixLen> + 3
The R/W head makes only one attempt to read a special read only code.
2014-02
Page 87
IC-KP-B17-AIDA1
Commands
enhanced read special fixcode (ES)
Command:
ByteContentsBit no.
1)
Byte 0
1)
Byte 1
Byte 2Command code (71h)01110001
Byte 3WordN um/ I dent cha nn el / Toggle
76543210
Telegram length, high byte00000000
Telegram length, low byte00001010
<FixLen><Channel><T>
bit
1)
This byte is only used with the TCP/IP and MODBUS TCP/IP protocol.
Response:
ByteContentsBit no.
76543210
Byte 0
Byte 1
1)
1)
Telegram length, high byte00000000
Telegram length, low byte00001011
Byte 2Command code (71h)01110001
Byte 3Reserved/Ident channel/Toggle
----<Channel><T>
bit
Byte 4Stat us<Status>
Byte 5Reply counter<ReplyCounter>
Byte 6
2)
ID code 00h ... FFh<IDCode>
...ID code 00h ... FFh<IDCode>
Byte N
1)
2)
3)
ID code 00h ... FFh<IDCode>
This byte is only used with the TCP/IP and MODBUS TCP/IP protocol.
The first byte indicates whether an EPC code is shown
■
1 = EP C applic ation
■
0 = 18000-6C (ISO)
3)
N = <FixLen> + 5; Ethernet/IP: N = <FixLen> + 3
The R/W head attempts to read a special read only code until successful. Only data that
changes is transferred via the interface, i.e. the R/W head transfers data whenever it reads a
new data carrier or whenever it reads a data carrier where there was previously no R/W head
within the detection range.
The status '05h' (read command) is output whenever a data carrier leaves the detection range.
2014-02
87
Page 88
IC-KP-B17-AIDA1
Commands
single program special fixcode (SP)
Command:
ByteContentsBit no.
1)
Byte 0
1)
Byte 1
Byte 2Command code (0Dh)00001101
Byte 3Word nu m b er/Id ent
Byte 4Reserved00000000
Byte 5Reserved00000000
2)
Byte 6
...ID code 00h ... FFh<IDCode>
3)
Byte N
Telegram length, high byte00000000
Telegram length, low byte00001010
channel/Toggle bit
ID code 00h ... FFh<IDCode>
ID code 00h ... FFh<IDCode>
76543210
<FixLen><Cha nnel><T>
1)
2)
3)
This byte is only used with the TCP/IP and MODBUS TCP/IP protocol.
The first byte indicates whether an EPC code is shown
This byte is only used with the TCP/IP and MODBUS TCP/IP protocol.
The R/W head attempts to write a special read only code until successful. After each
successful write, the head sends the response and then switches to continuous reading. Then
the R/W head reads the same data carrier until it has left the detection range or a new data
carrier appears within the detection range. The command then starts again with write attempts.
The status '05h' (read/write command) is output when the data carrier leaves the detection
range or if the data carrier is not yet within the detection range when the command is executed.
If two data carriers enter the read range one immediately after the other, the status '05h' is not
issued between the two readings.
2014-02
89
Page 90
IC-KP-B17-AIDA1
Commands
initialize tag (SI)
Command:
ByteContentsBit no.
1)
Byte 0
1)
Byte 1
Byte 2Command code (6Bh)01101011
Byte 3Reserved/Channel/Toggle bit0000<Channel><T>
Telegram length, high byte00000000
Telegram length, low byte00000100
76543210
1)
This byte is only used with the TCP/IP and MODBUS TCP/IP protocol.
Response:
ByteContentsBit no.
76543210
Byte 0
Byte 1
1)
1)
Telegram length, high byte00000000
Telegram length, low byte00001011
Byte 2Command code (6Bh)01101011
Byte 3Reserved/Channel/Toggle bit0000<Channel><T>
Byte 4Stat us<Status>
Byte 5Reply counter<ReplyCounter>
1)
This byte is only used with the TCP/IP and MODBUS TCP/IP protocol.
This command allows conventional reading and writing of IDC-...-1K read/write tags that were
configured using the EP or SP comman ds.
90
2014-02
Page 91
IC-KP-B17-AIDA1
Commands
Extended commands for type IQC-... read/write tags.
single write words with lock (SL)
Command:
ByteContentsBit no.
1)
Byte 0
1)
Byte 1
Byte 2Command code (47h)01000111
Byte 3Word num ber/Ident
Byte 4Word address<WordAddr> (high byte)
Byte 5Word address<WordAddr> (low byte)
Byte 6Data 00h ... FFh<Data>
...Data 00h ... FFh<Data>
2)
Byte N
76543210
Telegram length, high byte00000000
Telegram length, low byte00000100
<WordNum><Channel><T>
channe l/Toggle bit
Data 00h ... FFh<Data>
1)
2)
This byte is only used with the TCP/IP and MODBUS TCP/IP protocol.
N = 4 x <WordNum> + 3
Response:
ByteContentsBit no.
76543210
Byte 0
Byte 1
1)
1)
Telegram length, high byte00000000
Telegram length, low byte00001011
Byte 2Command code (47h)01000111
Byte 3Word num ber/Ident
<WordNum><Channel><T>
channe l/Toggle bit
Byte 4Stat us<Status>
Byte 5Reply counter<ReplyCounter>
1)
This byte is only used with the TCP/IP and MODBUS TCP/IP protocol.
This command is the same as a normal write command. The data is write-protected at the end
of the write process, provided the tags offer this function.
This applies for 13.56 MHz tags of the type 21, 22, 24, 33, and 35 as well as for LF tags IDC-…-
1K. Write protection is only activated for memory blocks involved in the write process. Data can
continue to be written to all other memory blocks.
The read/write head makes one attempt to write <WordNum> 32-bit words from the address
<WordAddr>.
2014-02
91
Page 92
IC-KP-B17-AIDA1
Commands
enhanced write words with lock (EL)
Command:
ByteContentsBit no.
1)
Byte 0
1)
Byte 1
Byte 2Command code (48h)01001000
Byte 3Word nu m b er/Id ent
Byte 4Word address<WordAddr> (high byte)
Byte 5Word address<WordAddr> (low byte)
Byte 6Data 00h ... FFh<Data>
...Data 00h ... FFh<Data>
2)
Byte N
Telegram length, high byte00000000
Telegram length, low byte00000100
channel/Toggle bit
Data 00h ... FFh<Data>
76543210
<WordNum><Channel><T>
1)
2)
This byte is only used with the TCP/IP and MODBUS TCP/IP protocol.
N = 4 x <WordNum> + 6
Response:
ByteContentsBit no.
76543210
Byte 0
Byte 1
1)
1)
Telegram length, high byte00000000
Telegram length, low byte00001011
Byte 1Command code (48h)01001000
Byte 2Word nu m b er/Id ent
<WordNum><Channel><T>
channel/Toggle bit
Byte 3Stat us<Status>
Byte 4Reply counter<ReplyCounter>
1)
This byte is only used with the TCP/IP and MODBUS TCP/IP protocol.
This command is the same as a normal write command. The data is write-protected at the end
of the write process, provided the tags offer this function.
This applies for 13.56 MHz tags of the type 21, 22, 24, 33, and 35 as well as for LF tags IDC-…-
1K. Write protection is only activated for memory blocks involved in the write process. Data can
continue to be written to all other memory blocks.
92
The read/write head repeatedly attempts to write <WordNum> 32-bit words from the address
<WordAddr> until successful. After each successful write, the head sends the response and
then switches to continuous reading. Then the read/write head reads the same tag until it has
left the d etectio n range or a new ta g appears with in the de te ction ran ge. The com mand then
starts again with write attempts.
The status '05h' is only output when a tag leaves the detection range or is not yet within the
detection range. If two tags enter the read range one immediately after the other, the status '05'
is not issued between the two readings.
2014-02
Page 93
IC-KP-B17-AIDA1
Commands
Extended commands for IQH2-... and IUH-... read/write heads
read param (RP)
Command:
ByteContentsBit no.
1)
Byte 0
1)
Byte 1
Byte 2Command code (BEh)10111110
Byte 3Reserved/Ident channel/Toggle
Byte 4System code<SystemCode>
Byte 5Parameter type<ParamTyp> (high byte)
Byte 6Parameter type<ParamTyp> (low byte)
76543210
Telegram length, high byte00000000
Telegram length, low byte00000100
-<Channel><T>
bit
1)
This byte is only used with the TCP/IP and MODBUS TCP/IP protocol.
Response:
ByteContentsBit no.
76543210
Byte 0
Byte 1
1)
1)
Telegram length, high byte00000000
Telegram length, low byte00001011
Byte 2Command code (BEh)10111110
Byte 3
Reserved/Ident channel/Toggle bit
0<Channel><T>
Byte 4Stat us<Status>
Byte 5Reply counter<ReplyCounter>
Byte 6Data 00 ... FFh<Data>
...Data 00 ... FFh<Data>
Byte N
1)
2)
2)
Data 00 ... FFh<Data>
This byte is only used with the TCP/IP and MODBUS TCP/IP protocol.
This byte is only used with the TCP/IP and MODBUS TCP/IP protocol.
N = <DataLength> + 6
Response:
ByteContentsBit no.
76543210
Byte 0
Byte 1
1)
1)
Telegram length, high byte00000000
Telegram length, low byte00001011
Byte 2Command code (BFh)10111111
Byte 3
Reserved/Ident channel/Toggle bit
0<Channel><T>
Byte 4Stat us<Status>
Byte 5Reply counter<ReplyCounter>
1)
This byte is only used with the TCP/IP and MODBUS TCP/IP protocol.
IQH2-...: <SystemCode> = 'Q' ASCII (51h)
<ParamTyp>= 'K1' ASCII (4Bh 31h)
RP: reads the key (12 characters ASCII from 0 ... F) from the
transponder and the read head
WP: writes the key (12 characters ASC II from 0 ... F) into the
read head
Default key = 'FF FF FF FF FF FF' ASCII
(46h46h46h46h46h46h46h46h46h46h46h46h)
94
IUH-...:See handbook of the read / write head
2014-02
Page 95
IC-KP-B17-AIDA1
Commands
Note!
Toggle bit
If you send two comm ands with the sam e SystemCode and same ParamTyp in succession on
the bus interface, you must change the toggle bit in the second command in order for the node
to detect the command.
7.9Legend
<ByteN um>: 4 bits, length of <IDCode>;
<Channel>: 3 bits, channel
<ConfAddr>: 1 ASCII character, word starting address in configuration
<Data>: <WordNum> times 4 bytes. When communicating a word,
range of tag. The following applies for IPC03:
01h = Protection Word
02h = Control Word
the highest value byte is transferred first and the lowest
value byte last.
1 (001b), 2 (010b), 3 (011b), 4 (100b), all channels (111b)
(but not <Sensorchannel> in trigger mode)
counter starts from 0 after the system is switched on. When the maximum
value is reached, the counter skips the value 0 (from 255 to 1).
3 (011b) or 4 (100b)
0 (00000000b): Trigger mode off
1 (00000001b): Trigger mode on
2 (00000010b): Trigger mode inverted
depending on tag type.
depending on tag type. The following applies for IPC03: The word count
0h is used with the word address 0000h to read the preset data range on
the read/write tag ("Defaul t Read").
The following applies for IQC33: The word count parameter must be evennumbered because of the block size of 8 bytes. The word address then
indicates the offset in 8-byte increments.
95
Page 96
IC-KP-B17-AIDA1
Web features
8Web features
8.1Configuring the identification system via web feature
The identification system can also be configured using http. In order to activate the device via
the network, the IP address and the subnet mask must be configured via the display as a
minimum requirement (if no DHCP is used).
Websites can be viewed using an internet browser.
The following functions are supported:
■
Network settings (network)
■
Email function settings (email)
■
Security settings (security)
■
Exchanging identification data (send command)
■
Short documentation (documentation )
8.2Network settings
The following settings can be configured on this page:
■
DHCP activation
■
IP address
■
Subnet mask
■
Gateway address
■
PROFINET devicename
96
2014-02
Page 97
IC-KP-B17-AIDA1
Web features
8.3Email function settings
Note!
The email function can only be used if you integrate an SMTP server in your network.
The device is capable of sending an email when a cer tain preset error status is active. The
following parameters must be configured here.
Mail address receive
Enter the recipient address here.
2014-02
97
Page 98
IC-KP-B17-AIDA1
Web features
Mail address sender
Enter an email address associated with the device here. The em ail server may have to
recognize the address, depending on the SMTP server.
IP address smtp server
IP address of the SM TP server
Mail triggered on channel by error codes:
Status information is allocated to each response telegram. If this value does not match the error
code entered for the relevant channel, an email is issued. An error code should not be entered
for channels that are not connected to a R/W head. The field should also remain empty if a
trigger sensor is connected to a channel. If more than one error code is entered, the codes
must be separated with a comma. A maximum of 5 different codes is permitted.
The following error code entries are recommended:
■
6 - Hardware erro r
■
7 - Internal device error
Subject:
The comment entered in this line appears in the subject line of every em ail that is sent.
Additional e-mail text:
Enter any text here that you wish to include in each email that is sent. The device adds the
channel, the type designation of the R/W head, and the cause of the error that has occurred to
this text.
Note!
Use the vacant box to specify a location or enter serial information, for example.
8.4Security settings
98
User name, password:
The default user name and password is: "identcontrol."
2014-02
Page 99
IC-KP-B17-AIDA1
Web features
Use client filter, IP address:
When the client filter is active, only the network client specified under IP address can exchange
data with the ser ver. Web access is still possible, however.
8.5Exchanging identification data
For commissioning purposes, you can use this link to activate an applet for executing the
following identification commands:
■
CT - change tag
■
EF - enhanced buffered read fixcode
■
ER - enhanced buffered read words
■
EW - enhanced buffered write words
■
EX - enhanced buffered write fixcode
■
QU - quit
■
SF - single read fixcode
■
SW - single write words
■
SX - single write fixcode
■
SR - single read words
■
TM - set triggermode
■
MM - set multiplexed m ode
Communication with the identification system is only possible if no connection has been
established between the device and a controller, for example.
Command:
Selection field fo r the identification comma nds. More input boxes may be availa ble dependin g
on the command. An entry is suggested for each command. Refer to the command description
() for an explanation of the meaning.
Channel (in the second line):
The channel number of the response telegram appears in this field.
2014-02
99
Page 100
IC-KP-B17-AIDA1
Web features
State:
The status of the response telegram appears in this field.
Data:
The data from the response telegram appear in this field (if available).
Log:
A list of received response telegrams appears in this field.
8.6Data logging
You ca n track com mands activate d in the IDEN TContro l Compact in th e Data logging window.
Select between 50, 100, 200, or 512 displayed lines. The current time appears at the top of the
window.
Example of logged lines
The following appears in the window:
0000029.987 CH1 rsp BUS 01 s:0 l:0005 64.03.03.03.03
0000029.845 BUS req CH1 01
Meaning of logged lines
Time stampSenderMessage type Receiver Command Statu s Data length Data
0000029.987 CH1rspBUS01s:0l:000564.03.03
.03.03
0000029.845 BUSre qCH101
When the time is 0000029.845, the bus sends the command 01 (=SF) to channel 1 of the
IDENTControl Compact. When the time is 0000029.987, the IDENTControl Compact sends
the response with the data packet to the bus.
100
2014-02
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.