![Pepperl+Fuchs IC-KP-B7-V95 Manual Download Page 72](http://html.mh-extra.com/html/pepperl-fuchs/ic-kp-b7-v95/ic-kp-b7-v95_manual_1527931072.webp)
20
13
-0
4
72
Appendix A
11
Appendix A
11.1
Example 1
The following example uses assembly objects 101d/151d (mixed mode) and
results in the following:
■
Setting the data carrier IPC02 on channel 1 and channel 3.
■
Reading the read only code from an IPC02 data carrier.
■
Implicit communication.
The following prerequisites must be fulfilled:
■
One type IPH-XX R/W head is connected to channel 1 and channel 3 on
the IDENT Control.
■
One type IPC02 data carrier is located in front of each R/W head.
■
The MAC address on the IDENTControl is set to '01' (see chapter 6.5).
■
The device is connected to the network.
Setting connection parameters
These parameters are configured on the PLC:
Setting tag type IPC02 on channels 1 and 3
Send a Change tagcommand to channel 1 as an implicit command:
A command confirmation appears in the input field:
Assembly instance
Size (32 bits)
Input: 151
3
Output: 101
3
Configuration: 112
(this value is used for all input/output
instances)
0
(this value is used for all input/output
instances)
Byte no.
Use
Contents Description
Byte 0
Command code
04h
Command
CT
(Change tag)
Byte 1
Channel/Toggle bit
02h
Channel = 1
Toggle bit = 0
Byte 2
Tag type (high byte)
30h
IPC 02
Byte 3
Tag type (low byte)
32h
IPC 02
Byte 4
...
Byte 11
00h
Byte no.
Use
Contents Description
Byte 0
Command code
04h
Command
CT
(Change tag
type)
Byte 1
Number of double words/
Channel/Toggle bit
02h
Channel = 1
Toggle bit = 0