Example 2 - Pepperl+Fuchs IC-KP2-2HB17-2V1D Manual

Identcontrol compact unit with ethernet interface
Hide thumbs Also See for IC-KP2-2HB17-2V1D:
Table of Contents

Advertisement

IC-KP2-2HB17-2V1D
Appendix A
11.2

Example 2

Assembly objects 104d/154d (separated mode) are used in the example. The following
functions are activated:
Set tag type IPC03 on channel 1 and channel 2.
Write data to a IPC03 tag.
Read data from a IPC03 tag.
Prerequisites:
One type IPH-XX read/write head is connected to channel 1 and channel 2 on the
IDENTControl Compact.
One type IPC03 tag is located in front of each read/write head.
The IP address of the IDENTControl is set to a free address.
The device is connected to the network.
Setting connection parameters
These parameters are configured on the PLC:
Assembly instance
Input: 154
Output: 104
Configuration: 112
(this value is used for all input/output
instances)
Division of the input and output instance from the assembly object:
Output instance 104d - 32 bytes
Bytes
0 - 7
8 - 15
16 - 23
24 - 31
Input instance 154d - 32 bytes
Bytes
0 - 7
8 - 15
16 - 23
24 - 31
The IDENTControl Compact requires 32 bytes of input data and sends back 32 bytes of output
data.
104
Class, instance, attribute
64h, 01d, 01h
64h, 02d, 01h
64h, 03d, 01h
64h, 04d, 01h
Class, instance, attribute
65h, 01d, 01h
65h, 02d, 01h
65h, 03d, 01h
65h, 04d, 01h
Size (32 bits)
8
8
0
(this value is used for all input/output
instances)
Description
Channel 1 [8]
Channel 2 [8]
Reserved
Reserved
Description
Channel 1 [8]
Channel 2 [8]
Reserved
Reserved

Advertisement

Table of Contents
loading

Table of Contents