Leuze electronic GmbH + Co. KG
MA 238
i
72
16.12 Modular connection unit MA 3x (S4 switch position C)
Specifications for the serial interface
Specifications for Command mode
To activate the Command mode, bit 0 must be set to 1 in control byte 0.
For further information, see chapter 11.1.3 "Command Mode", Figure 11.2.
Recommended settings
• Input data: dependent on the number of digits of the code that is to be read.
With an 18-digit bar code (+ 2 bytes of status bytes + 2 bytes of slave address), for example, it is
advisable to use the 24-byte setting.
• Output data: 8 bytes
16.13 Resetting the parameters (S4 switch position F)
To reset all parameters of the MA that can be configured with software (such as baud rate, IP address,
dependent on type) to the factory settings, do the following:
Set device switch S4 to F in a voltage free state.
Switch the voltage on and wait until it is ready for operation.
If necessary, switch the voltage off to prepare for commissioning.
Set service switch S10 to the "RUN" position.
Standard Parameter
MA 3x
Baud rate
9600
Data mode
8N1
Handshake
No
Protocol
Framing protocol without acknowledgment
Frame
<STX> <Data> <CR> <LF>
Control bit Meaning
Corresponds to serial
command (ASCII)
0
Version query
v
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Reset parameters to default values
PC20
15
Device restart
H
NOTE
In this switch position, the address of the multiNet slave is also transmitted in the first two bytes
of the data range!