Data Flow Control - Pepperl+Fuchs IC-KP2-2HB21-2V1D Manual

Identcontrol compact control interface with interface for ethercat
Hide thumbs Also See for IC-KP2-2HB21-2V1D:
Table of Contents

Advertisement

IC-KP2-2HB21-2V1D
Commands
INPUT telegram:
Byte
Byte 0
Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
Byte 6
Byte 7
Byte 8
...
Byte N
Table 7.2
D
S
U
M
U
S
7.2.1

Data Flow Control

The data flow between a programmable logic controller (PLC) and the control
interface must be synchronized to guarantee continuous data transfer with no
losses. The input and output data is transferred in cycles. The control of the data
flow via the software is referred to as handshaking. The control bits required for
this are contained in the control byte. (see table "INPUT telegram:" on page 24
and see table "OUTPUT telegram:" on page 23)
The following handshaking is used to transfer telegrams quickly and securely
between the PLC and the control interface:
24
Content
Control byte
Reserved
Command code
Reserved
Status
Reply counter
Parameter
Parameter
Data
Data
Data
Slave -> master
:
Delete bit. When the bit is inverted, all expired data in the FIFO memory bank is
deleted in the slave
:
Update bit – master. If the master inverts this bit, it indicates the validity of a new
telegram in the OUTPUT telegram. The slave reflects this bit back inverted, thus
confirming receipt. Only then can the master (PLC) send new data.
;
Update bit – slave. If the slave inverts this bit, it indicates the validity of a new
telegram in the INPUT telegram. The master reflects this bit back inverted, thus
confirming receipt. Only then can the slave send new data.
Bit no.
7
6
5
4
3
0
0
0
0
0
2
1
0
D
U
U
S
M
S

Advertisement

Table of Contents
loading

Table of Contents