Access from the user program
KL6224
47
Version: 2.0.0
KL6224
registers
Description Name
Comment
RP4.R42 IO-Link
actual data:
The actual
data of the
connected
IO-Link
device is
displayed
here. This is
used for
comparison
with the
master
parameters
described
above
(similar to
object
0x9000 of
the EL6224).
IO-Link DeviceID LowWord
Device ID of the IO-Link device
RP4.R43
IO-Link DeviceID HiWord
RP4.R44
IO-Link VendorID LowWord
Vendor ID of the IO-Link device
RP4.R45
IO-Link VendorID HiWord
RP4.R46
LowByte
IO-Link revision
Bit 0...3: MinorRev
Bit 4...7: MajorRev
ID of the specification version based on which the
IO-Link device communicates.
HighByte FrameCapability:
Bit 0: SPDU
Bit 1: Type1
Bit 7: PHY1
The Frame Capability indicates certain
functionalities of the IO-Link device (e.g. SPDU
supported).
RP4.R47
LowByte
minCycleTime:
Bit 6, 7: Time Base
Bit 0...5: Multiplier
HighByte OffsetTime
reserved
RP4.R48
LowByte
ProcDataLenght
Input
(in IO-Link format)
Bit 7
Byte
0
bin
Length is counted in bits
1
bin
Length is counted in bytes
Bit 6
SIO
1
bin
The device supports the
standard IO mode
Bit 0...
4
Length
Length of the process data
HighByte ProcDataLenght
Output
(in IO-Link format)
see LowByte
RP4.R49
-
reserved
RP4.R50
-
reserved
RP4.R51
-
reserved
Time Base
Time base meaning
Calculation
Min. Cycle Time
00
bin
0.1 ms
Multiplier x Time Base
0.0...6.3 ms
01
bin
0.4 ms
6.4 ms + Multiplier x Time Base
6.4...31.6 ms
10
bin
1.6 ms
32.0 ms + Multiplier x Time Base
32.0...132.8 ms
11
bin
6.4 ms
134.4 ms + Multiplier x Time Base
134.4...537.6 ms
KL6224
registers
Description Name
Comment
RP4.R52 IO-Link
diagnostics
LowByte
IO-Link state
The value of the IO-
Link state
corresponds to a
state from the IO-
Link master state
machine (
similar to object
0xA000 of the
EL6224).
0
Inactive
1
DigInput
2
DigOutput
3
EstablishComm
4
InitMaster
5
InitDevice
6
reserved
7
reserved
8
Operate
9
Stop
HighByte LostFrames
This parameter counts the number of lost IO-Link
telegrams. This value is deleted whenever IO-Link
starts up, otherwise it is incremented continuously.