Datasheet

Leuze electronic MA 248i 3
Table of contents
10 Telegram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
10.1 Structure of the fieldbus telegram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
10.2 Description of the input bytes (status bytes) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
10.2.1 Structure and meaning of the input bytes (status bytes) . . . . . . . . . . . . . . . . . . . . . . . . . 50
10.2.2 Detailed description of the bits (input byte 0) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
10.2.3 Detailed description of the bits (input byte 1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
10.3 Description of the output bytes (control bytes) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
10.3.1 Structure and meaning of the output bytes (control bytes) . . . . . . . . . . . . . . . . . . . . . . . 53
10.3.2 Detailed description of the bits (output byte 0). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
10.3.3 Detailed description of the bits (output byte 1). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
10.4 RESET function / deleting memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
11 Modes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
11.1 Functionality of the data exchange. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
11.1.1 Reading slave data in Collective mode (gateway -> PLC) . . . . . . . . . . . . . . . . . . . . . . . . 58
11.1.2 Writing slave data in Collective mode (PLC -> gateway) . . . . . . . . . . . . . . . . . . . . . . . . . 58
11.1.3 Command mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
12 Commissioning and configuration. . . . . . . . . . . . . . . . . . . . . . . . . 64
12.1 Measures to be performed prior to the initial commissioning. . . . . . . . . . . . . . . . . . . . 64
12.2 Starting the device. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
12.3 Configuration steps for a Siemens Simatic S7 control . . . . . . . . . . . . . . . . . . . . . . . . . 65
12.3.1 Step 1 – Preparing the control system (S7 PLC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
12.3.2 Step 2 – Installation of the GSD file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
12.3.3 Step 3 – Hardware configuration of the S7 PLC: Configuration. . . . . . . . . . . . . . . . . . . . 67
12.3.4 Step 4 – Configuration of the modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
12.3.5 Step 5 – Transmission of the configuration to the controller (S7 PLC). . . . . . . . . . . . . . . 68
12.3.6 Step 6 – Configuration of the device name - naming the device . . . . . . . . . . . . . . . . . . . 69
12.3.7 Step 7 – Check device names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
12.4 Commissioning via the PROFINET-IO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
12.4.1 Modular structure of the parameter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
12.4.2 Permanently defined parameters/device parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
12.4.3 Overview of the project modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
12.4.4 Preparing the control system for consistent data transmission . . . . . . . . . . . . . . . . . . . . 75
12.5 Variable configuration of the communication data width . . . . . . . . . . . . . . . . . . . . . . . 75
12.6 Setting the read parameters on the Leuze device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
12.6.1 Specific feature for the use of hand-held scanners
(bar code and 2D devices, combi devices with RFID) . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
12.6.2 Specific features in the operation of an RFM/RFI. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78