Bit 7 ... 2: reserved
Bit 1 ... 0: 0 = inactive, 1 = active
8.3 Direct parameter page
Manufacturer ID
001F hex
Product ID
ST4-2P 0021505
8.4 Service data (IO-Link)
Table 1: SPDU index
Index Meaning
Format
Bytes
Access
Example
Range
Remark
0x10
Manufacturer ID
Visible
string
R
AVENTICS
GmbH
Exactly 16
strings
0x12
Device ID
Visible
string
R
ST4-2P
ST4-2P
Exactly 16
strings
0x15
Serial number
Visible
string
R
123dez
1-2E32
0x16
HW version num-
ber
Visible
string
R
1.00
0x17
SW version num-
ber
Visible
string / 4
Byte
R
2.33
0x18
Application-spe-
cific name
Visible
string / max
. 16 Byte
R/W
0x90
Teach parameter:
switching point 1
UINT8, 8
Byte
R
0 … 1023
No arguments
0x91
Teach parameter:
switching point 2
UINT8, 8
Byte
R
0 … 1023
No arguments
0x92
Tolerance step
UINT8, 3
Byte
R/W
1-5
0x28
Process data
state:
output 1 and out-
put 2
UINT8, 1
Byte
R
00
01
10
11
Q1, Q2 inactive
Q1 active
Q2 active
Q1, Q2 active
0xE2
Hall signals
channel A and
channel B
UINT8, 4
Byte
R
0 … 1023
High Byte
Low Byte
Subindex contains no data.
Table 2: SPDU system command
Index Meaning
Format
Bytes
Access
Example
Range
Remark
0x02
Teach switching
point 1
UINT8
W
AxA0
Teach command
SP1
Teach switching
point 2
0xA1
Teach command
SP2
Lock global key
0xA3
Deactivates
teach button
Unlock global key
0xA4
Activates teach
button
Subindex contains no data.
Table 3: SPDU index error codes
Index
Subindex
0x1000
Communication error
0x5200
Buffer overflow
0x5600
Checksum error
0x5800
Illegal SPDU
0x80xx
Device-specific error
0x8000
No details
0x8023
Access denied
0x8030
Parameter value out of
range
Table 4: Event data
Meaning
Mode
Type
Instance
Error code
Parameter
changed
Once
Info
Application
0xFF10
Communication
error
Once
Error
Unknown
0xFF10
9 Key technical data
Measuring range
0 … 50 mm
Electrical version
DC 4 (wire)
Supply voltage DC
12 … 30 V
Residual ripple
≤ 10 %
(Based on the operating voltage)
Voltage drop
≤ 2.2 V
Power consumption (not actuated)
≤ 15 mA
Continuous current
≤ 100 mA
Hysteresis
1.0 mT
Reproducibility
≤ 0.1 mT
(At a constant power supply and ambient
temperature)
EMC
EN 60 947-5-2
Switch output
PNP
Output function
Make contact function
Connection type: cable
Cable with plug (4-pin)
2 m PUR, 0.3 m PUR
M8, M12
Interface
with/without IO-Link
(depending on version)
Degree of protection
IP67
Wire break protection
Yes
Short circuit resistance
Yes
Reverse polarity protection
Yes
Switch-on pulse suppression
Yes
Shock/vibration load
30 g, 11 ms/10 … 55 Hz, 1 mm
Housing material
PA
Ambient temperature
–20 … +75 °C
Pin assignment
1 BN
4 BK
3 BU
2 WH
Fig. 3: Plug, M12x1, 4-pin
2 WH
1 BN
4 BK
3 BU
Fig. 4: Plug, M8x1, 4-pin
Table 5: Pin assignment for plugs M8x1 and M12x1
Pin
Use
Cable / wire color
1
+UB:
24 V supply
Brown
2
Out 1:
Switch output 1
White
3
GND:
Reference potential
Blue
4
Out 2:
Switch output 2 / IO-Link
Black
AVENTICS™
ST4-2P | R412012414-BAL-001-AF | English
12