Notice! The Declaration of Conformity for these devices can be requested from the manufacturer. The manufacturer of the product, Leuze electronic GmbH + Co. KG in D-73277 Owen, possesses a certified quality assurance system in accordance with ISO 9001. The MA 248i modular interfacing unit is "UL LISTED"...
LF). The integration of the GSDML file in the hardware manager of the PLC is necessary to ensure the correct function of the MA 248i. The corresponding Leuze devices are selected using a rotary code switch on the circuit board of the connector unit. Many additional RS 232 devices can be connected through a universal position.
• Online command: These commands refer to the respective, connected ident device and may be differ- ent depending on the device. These commands are not interpreted by the MA 248i, but are instead transmitted transparently (see description of Ident device).
Leuze electronic GmbH + Co. KG is not liable for damages caused by improper use. Read the technical description before commissioning the device. Knowledge of this technical description is an element of proper use.
BGV A3 (e.g. electrician foreman). In other countries, there are respective regula- tions that must be observed. Disclaimer Leuze electronic GmbH + Co. KG is not liable in the following cases: • The device is not being used properly. • Reasonably foreseeable misuse is not taken into account.
Fast commissioning / operating principle Notice! Below you will find a short description for the initial commissioning of the PROFINET gateway MA 248i. Detailed explanations for the listed points can be found throughout the handbook. Mounting The gateway mounting plate MA...
The PWR LED displays that it is ready for operation. First, you need to assign its individual device name to the MA 248i. The PLC must commu- nicate this device name to the participant during the "device naming". Further information may be found below and in chapter "Step 6 –...
3.5.2 Installation of the GSD file For the subsequent configuration of the IO devices, e.g., MA 248i, the corresponding GSD file must be loaded first. All data in modules required for operating the device is described in this file. These are input and output data and device parameters for the functioning of the device and the definition of the control and status bits.
2 bytes smaller than the selected data module. E.g., when using the data module with 12 bytes, there are effectively 10 bytes available for user data on the Leuze device after subtracting the 2 bytes for status and control bytes. 248i Leuze electronic...
• Assignment of the IP addresses that were configured in the HW Config to the IO devices • Establishment of a connection between the IO Controller and configured IO devices • Cyclical data exchange Notice! Participants that have not been "named" cannot be contacted yet at this point in time! Leuze electronic 248i...
PROFINET-IO device. Assigning the device names to the configured IO devices Select the respective gateway MA 248i for the "device naming" based on its MAC address. The unique "device name" (which must match the participant in the HW Config) is then assigned to this participant.
3.5.7 Device name check After completing the configuration phase, recheck the "device names" that have been assigned. Please ensure that these names are unique and that all participants are located in the same subnet. Leuze electronic 248i...
For this purpose, device-dependent commands (so-called online commands) are pre- defined via the device selection switch, see chapter 16 "Specifications for Leuze end devices". 248i Leuze electronic...
PG cable gland which provide strain relief and protec- tion against contamination. With the help of adapter cables with Sub-D 9 or open cable end, other RS 232 devices can also be connected. Leuze electronic 248i...
If the service switch is on one of the service settings, the SF LED flashes on the front side of the device, see chapter 8.1.2 "LED indicators on the housing". Furthermore, on the control, the SMA service bit of the status bytes signals that the MA is in service mode. 248i Leuze electronic...
The MA 248i features multiple M12 connectors / sockets for the electrical connection of the supply voltage, the interface and the switching inputs and outputs. Additional information on the electrical connection can be found in chapter 7.2. Leuze electronic 248i...
Page 24
Table 4.1: Base record I&M0 The MA 248i supports further protocols and services for communication: • TCP/IP (firmware upload via web server) • DCP • ARP • PING Further information on commissioning can be found in chapter 12. 248i Leuze electronic...
Page 25
PLC during the "device naming". For specific information, please refer to chapter "Step 6 – Configuration of the device name - naming the device" on page 69. The maximum length of a segment (connection from the hub to the last participant) is limited to 100m. Leuze electronic 248i...
1 x M12: Power IN/GND and switching input/output 1 x M12: Power OUT/GND and switching input/output Environmental data Operating temperature range 0°C … +55°C Storage temperature range -20°C … +60°C Air humidity Max. 90% rel. humidity, non-condensing 248i Leuze electronic...
EN 61000-6-2:2005 (interference rejection for indus- trial sectors) Certifications UL 60950-1, CSA C22.2 No. 60950-1 For UL applications: only for use in "Class 2" circuits acc. to NEC. Dimensioned drawings Figure 5.1: MA 248 dimensioned drawing Leuze electronic 248i...
PROFIBUS DP V0 MA 204 50112893 Ethernet TCP/IP MA 208 50112892 PROFINET-IO RT MA 248 50112891 DeviceNet MA 255 50114156 CANopen MA 235 50114154 EtherCAT MA 238 50114155 EtherNet/IP MA 258 50114157 Table 5.1: Type overview MA 2xx 248i Leuze electronic...
Save the original packaging for later storage or shipping. If you have any questions concerning your shipment, please contact your supplier or your local Leuze electronic sales office. Observe the applicable local regulations when disposing of the packaging materials.
• using four threaded holes (M6) or • using two M8 screws on the two lateral grooves. Fastening by means of four M6 or two M8 screws Fastening options Figure 6.2: Fastening options 248i Leuze electronic...
Clean the housing of the MA 248i with a soft cloth after mounting. Remove all packaging remains, e.g. carton fibers or Styrofoam balls. Attention! Do not use aggressive cleaning agents such as thinner or acetone for cleaning the device. Leuze electronic 248i...
The fieldbus gateways are designed in accordance with safety class III for supply by PELV (protective extra-low voltage with reliable disconnection). Notice! Protection class IP65 is achieved only if the connectors and caps are screwed into place! 248i Leuze electronic...
Page 34
In this case, only the switching input and output on PWR IN are active. The function of the switching inputs and outputs is dependent on the connected Leuze device. Detailed information on this topic can be found in the respective operating instruc- tions. 248i Leuze electronic...
Table 7.3: Pin assignment HOST / BUS IN For the host connection of the MA 248i, the "KB ET - … - SA-RJ45" ready-made cables are preferred, see table 14.4 Bus connection cable for the MA 248i on page 84.
Page 36
HOST/BUS IN cable assignments on RJ-45 (shown here is the device connection) Notice for connecting the PROFINET-IO interface! Ensure adequate shielding. The entire connection cable must be shielded and earthed. The RD+/RD- and TD+/TD- wires must be stranded in pairs. Use CAT 5 cable for the connection. 248i Leuze electronic...
Table 7.4: Pin assignment HOST/BUS OUT For the host connection of the MA 248i, the "KB ET - … - SSA" ready-made cables are preferred, see table 14.4 Bus connection cable for the MA 248i on page 84. If you use user-configurable cables, note the following: Notice! Ensure adequate shielding.
9, the 12-pin X30 PCB connection is available as well. By using an additional cable (cf. "Type overview and accessories" on page 81), the system connection can be established on M12 or 9-pin Sub-D, e.g., for hand-held scanners. 248i Leuze electronic...
To configure the devices connected to the external interface, e.g., BCL 8 (JST plug connec- tor "X30"), a cable specially configured for this purpose is necessary. The service switch must be in the "DEV" or "MA" position (Service Leuze device/MA). Leuze electronic 248i...
If no standard network cables are to be used (e.g., due to lacking IP… protection class), you can use the "KB ET - … - SA" user-configurable cables on the side of the MA 248i, see table 14.4 Bus connection cable for the MA 248i on page 84.
LED (Status) Device OFF - no operating voltage or device defect continuous green light Device ok - readiness for operation continuous orange light Device error / firmware available flashing green-orange Device in boot mode - no firmware Leuze electronic 248i...
RS 232 service interface Sub-D Jumper for bridging, separating switching input/output PWR IN/OUT 3 JST plug connectors: connection of the Leuze devices MA 248 : not equipped Figure 8.2: Front view: operational controls of the MA 248 Leuze electronic 248i...
Page 44
Switch between service Leuze device (DEV), service fieldbus gateway (MA) and operation (RUN). Standard setting = operation. J1, J2 Bridging, separating switching input/output Jumper (interruption of connection between the two PWR M12 connectors of the SWIO 1/SWIO 2) 248i Leuze electronic...
The S10 DIP switch can be used to select between the "operation" and "service" modes, i.e. you switch between the following options here: • Operation (RUN) = default setting • Service Leuze device (DEV) and • Service fieldbus gateway (MA) Figure 8.4: DIP switch service - operation Leuze electronic 248i...
Notice! In switch position "0", a distance of >20ms must be maintained between two telegrams so they can be distinguished from one another. The parameters of the Leuze end devices are described in chapter 16. 248i Leuze electronic...
Now start one of the following terminal programs: e.g., BCL, RF, BPS Config. Alternatively, you can also use the Windows tool "Hyperterminal". Start the program. Select the correct COM port (e.g., COM1) and set the interface as follows: Leuze electronic 248i...
Page 48
Enable memory mode for the last frames. The memory mode shows the last RX and TX frames for ASCII and fieldbus. Table 9.1: Available commands Information Version Version information. Firmware date Firmware date. Table 9.2: General firmware information 248i Leuze electronic...
Page 49
(dependent on switch position S4). ASCII baud rate Currently configured baud rate (dependent on switch position S4). ASCII warm start status Indicates whether the ASCII memory has detected and accepted a valid configuration. Table 9.5: ASCII configuration Leuze electronic 248i...
Page 50
Currently configured PROFINET output frame length in slot 2. IP address Displays the set IP address. Gateway address Displays the set gateway address. Network mask Displays the set network mask. Table 9.6: PNS configuration (only for MA 248 devices) 248i Leuze electronic...
The corresponding control and status bits and their meaning are specified in section 10.2 and section 10.3. Further information on the broadcast control bytes and address bits 0 … 4 can be found in chapter "Modular interfacing unit MA 3x (S4 switch position C)" on page 100. Leuze electronic 248i...
Meaning 0 … 7 DLC0 … DLC7 Data Length Code (length of the following user data) Notice! T-bit means toggle bit, i.e. this bit changes its state on each event ("0" → "1" or "1" → "0"). 248i Leuze electronic...
This flag bit is 1: Further data in always set to high ("1") by the fieldbus gateway as long as the transmit buffer data is in the buffer. Leuze electronic 248i...
Page 54
While the BO bit is set, the RTS sig- 1->0: nal of the serial interface is deactivated. Buffer o.k. The memory size of the gateway for the data of both the PLC and the Leuze end device is 1 kByte. 248i Leuze electronic...
Bit no. Designation Meaning Command mode Command mode Broadcast Broadcast (only relevant with a connected MA 3x) 2 … 6 Address 0 .. 4 Address bits 0 .. 4 (only relevant with a connected MA 3x) New data Leuze electronic 248i...
Bit 7: New data: ND Output data Description Addr. Data Value range Default type New data 0->1; 1->0: This bit is needed if several identical pieces of data are to be On each status sent in sequence. change for new data 248i Leuze electronic...
Toggle bit: changing this bit causes all data which was copied RS 232 to the transmit buffer of the fieldbus gateway via the CTB bit 1->0: Data to to be transmitted to the RS 232 interface or the connected RS 232 Leuze device. Leuze electronic 248i...
OUT data byte 0/parameter byte 0: AAh OUT data byte 1/parameter byte 1: AAh This sets the memory or status/control bits to 00h. Please observe that the data image may need to be updated by toggling in Collective mode. 248i Leuze electronic...
CTB bit, it goes directly to the RS 232 interface with the set telegram data length. Incomplete (incl. data frame) or faulty telegrams can cause error messages in the connected device! Combination with the Command mode is possible. Data exchange in blocks must be programmed on the PLC. Leuze electronic 248i...
If PLC data is provided and transferred without a state change of the CTB bit, it goes directly to the RS 232 interface with the set telegram data length. Incomplete (incl. data frame) or faulty telegrams can cause error messages in the connected device! 248i Leuze electronic...
Page 61
Address 0 Broadcast Control byte 0 mode R-ACK Control byte 1 Data byte / parameter byte 0 Data byte / parameter byte 1 Data … Output byte 0 Output byte 1 Output byte 2 Output byte 3 Leuze electronic 248i...
Page 62
All desired data in the buf- (control bit 1.0) fer? Send data with the SFB = ! SFB toggle bit (control bit 1.2) Command ok? W-ACK = ! W-ACK (status bit 0.0) (Display!) Figure 11.1: Data transmission scheme with long online commands 248i Leuze electronic...
In Command mode, control or output byte 0.0 is to be set for activating the Command mode. Only the corresponding bit (control or output byte 2.1) then needs to be set for activating and deactivating the reading gate. Output byte 0 Output byte 1 Output byte 2 Output byte 3 Leuze electronic 248i...
Page 64
Device executes the corresponding function (cf. chap. 16). For function to be reestablished, the ND bit and the selected bit in byte 2 must be toggled, byte 0.0 can stay. Figure 11.2: Execution of command after activation of the Command mode 248i Leuze electronic...
Page 65
Figure 11.3: Activating DEV and reading data Notice! Further information on fieldbus telegram structure can be found in chapter 10.1. A specification of all usable commands can be found in chapter "Specifications for Leuze end devices" on page 87. Leuze electronic 248i...
Finally, close the housing of the MA 248i. Attention! Only then may the supply voltage be applied. Upon startup of the MA 248i, the device selection switch is queried and the gateway automatically sets itself to the Leuze device. PWR IN...
Configuration of the device name • Naming the device • Assignment of the device names to the configured IO devices (Figure 10.3...) • Assignment of MAC address - IP address - individual device name (Figure 10.4) Check device name Leuze electronic 248i...
If these parameters are not changed by the user, the device functions with the default settings delivered by Leuze electronic. For the default settings of the MA 248i, please refer to the following module descriptions. 248i...
E.g., when using the data module with 12 bytes, there are effectively 10 bytes available for user data on the Leuze device after subtracting the 2 bytes for status and control bytes. Recommendation In most cases, the 4-byte module is sufficient for the output module. Leuze electronic 248i...
• Assignment of the IP addresses that were configured in the HW Config to the IO devices • Establishment of a connection between the controller and configured IO devices • Cyclical data exchange Notice! Participants that have not been "named" cannot be contacted yet at this point in time! 248i Leuze electronic...
PROFINET-IO defines the "naming of the device" as the creation of a name-based relation- ship for a PROFINET-IO device. Assigning the device names to the configured IO devices Figure 12.1: Assigning the device names to the configured IO devices Leuze electronic 248i...
12.3.7 Step 7 – Check device names After completing the configuration phase, it is sensible to recheck the "device names" that have been assigned. Please ensure that these names are unique and that all participants are located in the same subnet. 248i Leuze electronic...
F, the MA 248i supports neighborhood detection. • In the PLC, the BUS IN connection is detected as Port1 and BUS OUT as Port2. • FAST Ethernet 100 Base-TX • Convenient device exchange without engineering tools • SNMP support Leuze electronic 248i...
Detailed information on how to prepare the control and the GSD file may be found in chapter "Configuration steps for a Siemens Simatic S7 control" on page 65. For the default settings of the MA 248i, please refer to the following module descriptions. Notice! Please note that the set data is overwritten by the PLC! Some controls make available a so-called "universal module".
Default Data Bits 7, 8, 9 Parity Yes, None None Stop bit Use separator Yes, No Use status and control Yes, No bits Table 12.1: Device parameters Parameter length: 33 byte Input data None Output data None Leuze electronic 248i...
248i interprets the incoming output data and triggers the appropriate reactions in the MA 248i. The interpreter for processing the data is adapted to the module structure during initialization. The same applies for the input data. Using the module list and the defined module proper- ties, the input data string is formatted and referenced to the internal data.
248i with the fieldbus system can be configured with a vari- able data width; the upper limit is restricted by the fieldbus. The following sizes are available for the data frame for PROFINET-IO: 4 … 1024 bytes Leuze electronic 248i...
To do this, connect the Leuze device to the MA 248i. Depending on the Leuze device, this occurs either via a connection cable (accessory no.: KB 031-1000) or directly on the MA 248i. The service connector and corresponding switches can be accessed with the housing cover open.
The Leuze device is now connected to the fieldbus. Activation of the Leuze device can now occur via the switching input on the MA 248i, via the process data word Out bit 1 (bit 0.2) or by transmitting a "+" command to the Leuze device (see chapter 16 "Specifications for Leuze end devices").
A 230VAC connection (socket) is usually necessary for the charging station. Here, a data connection of the charging station is established with the MA 248i. The corresponding cable is to be selected for the respective hand-held scanner and ordered separately. The 9-pin Sub-D cable (KB JST-HS-300, part no.
Communication error on the PROFINET-IO: Check interface. Red continuous light No communication to IO Controller estab- Cannot be rectified by a reset. lished ("no data exchange"). Send the device to customer service. Table 13.1: General causes of errors Leuze electronic 248i...
SWIO_1 black gray SWIO_1 M12 connector Thread bare (A-coded) 14.4.2 Specifications of the cables for voltage supply Operating temperature range in rest state: -30°C … +70°C in motion: 5°C … +70°C Material sheathing: Bending radius > 50mm 248i Leuze electronic...
M12 PROFINET-IO connection cable (4-pin connector, D-coded, two-sided) Name Core color Ethernet yellow white orange blue SH (thread) bare M12 connector (D-coded) Core color Conductor class: VDE 0295, EN 60228, IEC 60228 (class 5) Figure 14.1: Cable construction of PROFINET-IO connection cable Leuze electronic 248i...
K-D M12A-5P-5000/10000 connection cable (5-pin with injection molded connector), open cable end Core color brown white blue black gray KB JST 3000 (RS 232 connection cable, JST pin strip 10-pin, open cable end) Signal Core color JST 10-pin TxD 232 RxD 232 brown orange shield Leuze electronic 248i...
Contact your Leuze distributor or service organization should repairs be required. The addresses can be found on the inside of the cover and on the back. Notice! When sending devices to Leuze electronic for repair, please provide an accurate description of the error. 15.3...
GSD file. In the factory setting, the S4 switch position is 0. Resetting the settings to these is possible in S4 switch position F. The procedure for doing this is described in chapter 16.13. Leuze electronic 248i...
Page 90
First, the following settings are to be performed on the device using KONTURFlex-Soft: • Either "Autosend (fast)" or "Autosend with data in Modbus format" • Repeat time "31.5ms" • Autosend baud rate "38.4KB" • 2 stop bits, no parity 248i Leuze electronic...
• Input module: dependent on the number of digits of the bar code that is to be read. With an 18-digit bar code (+ 2 bytes of status bytes), for example, the input module with 20 bytes is advisable. • Output module: 4 bytes Leuze electronic 248i...
• Input module: dependent on the number of digits of the bar code that is to be read. With an 18-digit bar code (+ 2 bytes of status bytes), for example, the input module with 20 bytes is advisable. • Output module: 4 bytes 248i Leuze electronic...
• Input module: dependent on the number of digits of the bar code that is to be read. With an 18-digit bar code (+ 2 bytes of status bytes), for example, the input module with 20 bytes is advisable. • Output module: 4 bytes Leuze electronic 248i...
• Input module: dependent on the number of digits of the bar code that is to be read. With an 18-digit bar code (+ 2 bytes of status bytes), for example, the input module with 20 bytes is advisable. • Output module: 4 bytes 248i Leuze electronic...
• Input module: dependent on the number of digits of the 2D code that is to be read. With an 18-digit code (+ 2 bytes of status bytes), for example, the input module with 20 bytes is advisable. • Output module: 4 bytes Leuze electronic 248i...
• Input module: dependent on the number of digits of the 2D code that is to be read. With an 18-digit code (+ 2 bytes of status bytes), for example, the input module with 20 bytes is advisable. • Output module: 4 bytes 248i Leuze electronic...
• Input module: dependent on the number of digits of the bar code or 2D code that is to be read. With a 12-digit code (+ 2 bytes of status bytes), for example, the input module with 16 bytes is advisable. • Output module: none Leuze electronic 248i...
16 characters (+ 2 bytes of status bytes). • Output module: 4 bytes If data is to be written, it is advisable to use the setting with 24 bytes or 32 bytes.The RFID devices expect the telegrams / data in HEX format. 248i Leuze electronic...
In this switch position, the MA automatically sends a position request to the BPS 8 every 10ms until another command comes via the control. Automatic request only restarts when a new position request is sent by the PLC or when the MA is restarted. Leuze electronic 248i...
Transmit single position and speed value C0F838 Cyclically transmit position and speed values C0F939 Transmit marker information C0FA3A Not used / reserved Transmit diagnostic information C0FC3C Activate standby C0FD3D Recommended settings • Input module: 8 bytes • Output module: 8 bytes 248i Leuze electronic...
Page 101
The ODSL 9/96B is to be operated in the "Precision" measure mode. The mode is set through the display menu via Application -> Measure mode -> Precision. You can find more details on this in the technical description. Leuze electronic 248i...
24-byte setting. • Output module: 4 bytes Notice! In this switch position, the address of the multiNet slave is also transmitted in the first two bytes of the data range! 248i Leuze electronic...
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. Leuze electronic 248i...
Record separator UNIT SEPARATOR Unit separator SPACE Space EXCLAMATION POINT Exclamation point " QUOTATION MARK Quotation mark NUMBER SIGN Number sign DOLLAR SIGN Dollar sign PERCENT SIGN Percent sign & AMPERSAND Ampersand APOSTROPHE Apostrophe OPENING PARENTHESIS Opening parenthesis 248i Leuze electronic...
Page 105
Plus sign COMMA Comma HYPHEN (MINUS) Hyphen (minus) PERIOD (DECIMAL) Period (decimal) SLANT Slant COLON Colon SEMICOLON Semicolon < LESS THAN Less than EQUALS Equals > GREATER THAN Greater than QUESTION MARK Question mark COMMERCIAL AT Commercial AT Leuze electronic 248i...