EasyManua.ls Logo

Pepperl+Fuchs IC-KP2-2HB17-2V1D - Example 2: Separated Mode Operations

Pepperl+Fuchs IC-KP2-2HB17-2V1D
122 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
2014-02
104
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:
Division of the input and output instance from the assembly object:
Output instance 104d - 32 bytes
Input instance 154d - 32 bytes
The IDENTControl Compact requires 32 bytes of input data and sends back 32 bytes of output
data.
Assembly instance Size (32 bits)
Input: 154 8
Output: 104 8
Configuration: 112
(this value is used for all input/output
instances)
0
(this value is used for all input/output
instances)
Bytes Class, instance, attribute Description
0 - 7 64h, 01d, 01h Channel 1 [8]
8 - 15 64h, 02d, 01h Channel 2 [8]
16 - 23 64h, 03d, 01h Reserved
24 - 31 64h, 04d, 01h Reserved
Bytes Class, instance, attribute Description
0 - 7 65h, 01d, 01h Channel 1 [8]
8 - 15 65h, 02d, 01h Channel 2 [8]
16 - 23 65h, 03d, 01h Reserved
24 - 31 65h, 04d, 01h Reserved

Table of Contents

Related product manuals