Electrical connection
Leuze electronic GmbH + Co. KG
BPS 338i
51
7.5
Pin assignment
7.5.1
PWR / SW IN/OUT
Power and switching input/output
Tab. 7.1:
PWR / SW IN/OUT pin assignment
Pin
Terminal
Assignment
MS 338 / ME 338 103
5-pin M12 connector (A-
coded)
PWR / SW IN/OUT
SWIO_2
SWIO_1
3
2
1
4
5
GNDIN
VIN
FE
MK 338
SWIO_2
FE
GNDIN
VIN
SWIO_1
1
VIN
+18 … +30 VDC supply voltage
2
SWIO1
Sw. input/output 1 (configurable)
3
GNDIN
Negative supply voltage (0 VDC)
4
SWIO2
Sw. input/output 2 (configurable)
5
FE
Functional earth
Thread
Cable gland
Connection cable shield.
The shield of the connection cable is on the
thread of the M12 plug or on the screw fit-
ting of the cable bushing.
The thread or the screw fitting is part of the
metallic housing. The housing is at the po-
tential of the functional earth via pin 5.
Connection cables:
see chapter 14 "Order guide and accessories"
CAUTION
UL applications!
For UL applications, use is only permitted in Class 2 circuits in accordance with the NEC (Na-
tional Electric Code).
Switching input/output
The BPS is equipped with two, freely programmable, optically decoupled switching inputs/outputs, SWIO1
and SWIO2.
• The switching inputs can be used to activate various internal functions of the BPS (e.g., Measurement
Stop/Start, Teach Preset, Reset Preset).
• The switching outputs can be used to signal the state of the BPS and to implement external functions
independent of the superior control (e.g. position value/speed value invalid, position and speed limit
value exceeded, device error).
• The function as switching input or switching output is set via the webConfig configuration tool (
CON-
FIGURATION > DEVICE > Switching inputs/outputs
, see chapter 9.3.4 "CONFIGURATION func-
tion") or alternatively via the Service Data Objects (SDOs) (see chapter 8.6 "Object index").
NOTICE
The two switching inputs/outputs, SWIO1 and SWIO2, are configured as follows by default:
Switching output SWIO1: Position value invalid
Switching input SWIO2: No function