EasyManua.ls Logo

Pepperl+Fuchs IC-KP2-2HB17-2V1D - Appendix A: Usage Examples; Example 1: Implicit Command Usage

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...
IC-KP2-2HB17-2V1D
Appendix A
2014-02
99
11 Appendix A
11.1 Example 1
Assembly objects 101d/151d (mixed mode) are used in the example. The following
functions are activated:
Set tag type IPC02 on channel 1 and channel 2.
Read read only code from IPC02 tag.
Implicit communication.
Prerequisites:
One type IPH-XX read/write head is connected to channel 1 and channel 2 on the
IDENTControl Compact.
One type IPC02 tag is located in front of each read/write head.
The IP address of the IDENTControl Compact is set to a free address.
The device is connected to the network.
Setting connection parameters
These parameters are configured on the PLC:
Setting tag type IPC02 on channel 1 and channel 2
Send the command change tag to channel 1 as an implicit command:
Confirmation:
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 Ty pe Description
Byte 0 Command code 04h Command CT (change tag)
Byte 1 Channel/Toggle bit 02h Channel = 1
To gg le b it = 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 Ty pe Description
Byte 0 Command code 04h Command CT (change tag type)
Byte 1 Number of double words/
Channel/Toggle bit
02h Channel = 1
To gg le b it = 0
Byte 2 Statu s FFh Processing command.
Byte 3 Reply counter 01h For every ident telegram, the value
on the reply counter increases by
1.
Byte 4
...
Byte 11
00h

Table of Contents

Related product manuals