MITSUBISHI ELECTRIC MELSEC STlite Series Modular Input/Output System Quick Start Guide Art. no.
About this Manual The texts, illustrations, diagrams, and examples contained in this manual are intended exclusively as support material for the explanation, handling and operation of the components of the MELSEC STlite Series. If you have any questions concerning the programming and operation of the equipment described in this manual, please contact your relevant sales office or department (refer to back of cover).
Safety Information Safety Information General Safety Information For use by qualified staff only This manual is only intended for use by properly trained and qualified electrical technicians who are fully acquainted with the relevant automation technology safety standards.
Safety Information Safety warnings in this manual In this manual warnings that are relevant for safety are identified as follows: II m DANGER: b CAUTION: Failure to observe the safety warnings identified with this symbol can result in health and injury hazards for the user. Failure to observe the safety warnings identified with this symbol can result in damage to the equipment or other property.
Safety Information General Safety Information and Precautions The following safety precautions are intended as a general guideline for using PLC systems together with other equipment. These precautions must always be observed in the design, installation and operation of all control systems. m DANGER: ● Observe all safety and accident prevention regulations applicable to your specific application.
Symbols used in the manual Use of instructions Instructions concerning important information are marked separately and are displayed as follows: NOTE Text of instruction Use of numbering in the figures Numbering within the figures is displayed by white numbers within black circles and is explained in a table following it using the same number, e.g.
Table of Contents Contents Safety Information Symbols used in the manual 1 Introduction 1.1 System Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-1 1.1.1 Components of the STlite Series. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-2 1.1.2 Identification of the Modules. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table of Contents 3 CC-Link 3.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1 3.2 Head Station STL-BT1 (CC-Link) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2 3.3 View . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table of Contents A Appendix A.1 Process Images. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-1 A.1.1 Digital Input Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-1 A.1.2 Digital Output Modules. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-1 A.1.
Table of Contents VIII MITSUBISHI ELECTRIC
System Configuration 1 Introduction Introduction This Quick Start Guide explains the basic procedures for the first-time use of the modules of the MELSEC STlite series. For additional information and a detailed mounting and wiring description of the MELSEC STlite series, please refer to the installation manual. 1.1 System Configuration STlite is a modular, field bus independent I/O system. It is comprised of a head station and up to 64 connected modules for any type of signal.
Introduction 1.1.1 System Configuration Components of the STlite Series Type of module Head stations Name ID number Description Profibus DP STL-PB1 51247152 Head station for the connection to Profibus DP CC-Link STL-BT1 51247154 Head station for the connection to CC-Link Ethernet STL-ETH1 51247153 Head station for the connection to Ethernet TCP/IP STL-PS 51205036 STL-BPS 51244880 STL-DI8-V1 51205052 STL-DI8-V2 51205053 STL-DO4 51205045 4 transistor outputs, 24 V DC, 0.
System Configuration 1.1.2 Introduction Identification of the Modules Please note that the name of the module is not printed on the module. However, there are several methods to identify a module. Color coded group identification plate bracket The pullout group marker carriers of the module offer an rough distinguishing mark. Group identification plate brackets Fig. 1-2: The module type can easily be recognised by the color of the group marker carrier. Tab.
Introduction System Configuration Type label of the modules A brief description is printed on the side of each module. Fig.
Overview Profibus DP 2 Profibus DP 2.1 Overview Profibus is one of the most widely used automation networks in Europe. It provides a wide possible range of compatible devices while delivering fast and robust communication. Profibus offers users the option to mix devices from different companies. It is an open network ranging from simple I/O stations through to complex PLCs. The network allows extremely fast data exchange with a wide variety of slave devices.
Profibus DP Overview Transmission speeds from 9.6 kbit/s to 12 Mbit/s can be used. The maximum cable length of a bus segment is limited from 100 to 1200 m, depending on the bit rate used. With up to 3 repeaters allowed, the maximum distance between two stations is 400 to 4800 m. Cable types To help reduce costs Profibus DP uses RS 485 technology with shielded 2-wire cabling.
Head Station STL-PB1 (Profibus DP) 2.2 Profibus DP Head Station STL-PB1 (Profibus DP) The head station STL-PB1 serves as Profibus DP slave. It displays the peripheral data of all connected STlite modules on Profibus DP. Fig. 2-2: Head station STL-PB1 for Profibus DP (with connected digital input module) In the initialization phase the head station determines the physical structure of the node and creates a process image from this with all inputs and outputs.
Profibus DP 2.2.1 Head Station STL-PB1 (Profibus DP) View PROFIBUS RUN BF DIA BUS Profibus DP interface (9 pin D-Sub, female) I/O ADDRESS x1 24V 0V C D + + Supply via power jumper contacts 24 V DC 23 78 B — — 901 Address Status of power supply – System – Power jumper contacts Data contacts Supply 24 V DC 0V 01 02 A 456 0V x10 78 Address 23 9 01 456 Configuration interface Fig. 2-3: 2.2.
Head Station STL-PB1 (Profibus DP) 2.2.3 Profibus DP Display Elements Fig. 2-5: The operating condition of the head station is signaled via LEDs. A B LED Color RUN Green ON BF Red ON OFF Blinking The BF-LED indicates whether the communication functions via the Profibus.* DIA Red ON OFF The DIA-LED indicates an external diagnostics.* The signaling is not supported by all devices or must be explicitly enabled for each channel.
Profibus DP 2.2.4 Head Station STL-PB1 (Profibus DP) Setting the Station Address The station address (decimal) is determined using two rotary switches on the STL-PB1. Fig.
Head Station STL-PB1 (Profibus DP) 2.2.6 Profibus DP Wiring Since RS 485 transmission technology is used, all devices are connected in a line structure. To connect the STL-PB1 to a Profibus DP network, use only the Profibus connector and shielded twisted pair Profibus cable complying with EN50170. Cable type A is strongly recommended. Parameter Specification Wave resistance Tab.
Profibus DP Head Station STL-PB1 (Profibus DP) Bus Terminator Each end of the Profibus DP network must be terminated with resistors. Since the STL-PB1 is not equipped with built-in terminating resistors, use a Profibus connector with a bus terminator if the STL-PB1 is situated at the beginning or end of a network. Fig.
Head Station STL-PB1 (Profibus DP) 2.2.7 Profibus DP Local Process Image After switching on, the head station STL-PB1 recognizes all connected STlite modules which supply data or wait for data (data width/bit width > 0). Analog and digital I/O modules can be mixed. NOTE For the number of input and output bits or bytes of the connected STlite modules please refer to the corresponding I/O module description in the appendix of this manual.
Profibus DP Head Station STL-PB1 (Profibus DP) Process Data Structure for Profibus DP With some I/O modules, the structure of the process data is fieldbus specific. Depending on how the head station is parameterized, the status bytes (S), control bytes (C) and data bytes (D0...Dn) of the byte or word orientated modules are transmitted via Profibus in Motorola or Intel format.
Head Station STL-PB1 (Profibus DP) Profibus DP ● Four-channel analog input modules Type of module Name ID number Register communication Description STL-AD4-V1 51205049 4 inputs 0 to 10 V STL-AD4-V2 51205050 4 inputs –10 to 10 V STL-AD4-I 51205051 4 inputs 4 to 20 mA Analog input modules (voltage) Analog input module (current) Tab.
Profibus DP Head Station STL-PB1 (Profibus DP) ● Two-channel analog output modules Type of module Name ID number Register communication Description Analog output module STL-DA2-V (voltage) 51205042 2 outputs 0 to 10 V Analog output module STL-DA2-I (current) 51205041 2 outputs 4 to 20 mA Process Image [Byte] Input Output Yes 6 6 No 0 4 Yes 6 6 No 0 4 Tab.
Head Station STL-PB1 (Profibus DP) Profibus DP ● Four-channel analog output modules Type of module Name ID number Register communication Description STL-DA4-V1 51205038 4 outputs 0 to 10 V STL-DA4-V2 51205039 4 outputs –10 to 10 V 51205040 4 outputs 4 to 20 mA Analog output modules (voltage) Analog output module STL-DA4-I (current) Process Image [Byte] Input Output Yes 12 12 No 0 8 Yes 12 12 No 0 8 Yes 12 12 No 0 8 Tab.
Profibus DP Head Station STL-PB1 (Profibus DP) ● Encoder module STL-ENC Type of module Name Encoder module STL-ENC ID number Register communication Description Input module for incremental encoder 51205116 Process Image [Byte] Input Output Yes 6 6 No (not possible) — — Tab.
Head Station STL-PB1 (Profibus DP) Profibus DP ● SSI interface module Type of module Name Interface module STL-SSI ID number 51205057 Register communication Description Input module for SSI encoder Process Image [Byte] Input Output Yes 6 6 No 4 0 Tab.
Profibus DP 2.2.8 Head Station STL-PB1 (Profibus DP) Configuration Configuration of the I/O Modules The configuration of the node is performed in accordance with the physical requirements of the head station and I/O modules. The head station or the process data channel is to be configured on the first slot. The other slots are configured in accordance with the physical requirements of the I/O modules. Here only I/O modules with process data are relevant.
Configuration Example for MELSEC System Q 2.
Profibus DP Configuration Example for MELSEC System Q Next, add the GSD files for the MELSEC STlite series to your project (Import Task -> Add GSD files). Configure a slave station with the STL-PB1 and the STlite I/O modules in the order listed above. Again, leave all default settings unchanged. Fig.
Configuration Example for MELSEC System Q Profibus DP Optimising the configuration The input and output data of the analog modules can be shifted by adding one additional digital module for each data direction. But you don‘t have to buy two modules just to simplify the programming – these two modules are only virtual! Insert a digital input module with 8 inputs on slot 2 and another digital output module on slot 4. New module New module Fig.
Profibus DP Configuration Example for MELSEC System Q Slot 1: STL-DI8-V1 Slot 2: STL-DI8-V2 (Dummy) Slot 6: STL-AD2-V (Channel 1) Slot 6: STL-AD2-V (Channel 2) Slot 3: STL-DO4 Slot 4: STL-DO4 (Dummy) Slot 5: STL-DA4-V1 (Channel 1) Slot 5: STL-DA4-V1 (Channel 2) Slot 5: STL-DA4-V1 (Channel 3) Slot 5: STL-DA4-V1 (Channel 4) Not used Fig. 2-17: Optimised allocation of the input and output data For the process images of the individual STlite modules please refer to the appendix, section A.1.
Configuration Example for MELSEC System Q Profibus DP Slot 2: STL-AD2-V (Channel 1) Slot 2: STL-AD2-V (Channel 2) Slot 3: STL-DI8-V1 Not used Slot 1: STL-DA4-V1 (Channel 1) Slot 1: STL-DA4-V1 (Channel 2) Slot 1: STL-DA4-V1 (Channel 3) Slot 1: STL-DA4-V1 (Channel 4) Slot 4: STL-DO4 Not used Fig. 2-19: Device monitor for the configuration with the analog modules mounted first 2.3.
Profibus DP 2 - 22 Configuration Example for MELSEC System Q MITSUBISHI ELECTRIC
Overview CC-Link 3 CC-Link 3.1 Overview The open fieldbus and control network CC-Link (Control & Communication Link) provides fast data communications with different devices. As with all manufacturer specific networks, CC-Link is quickly implemented and is guaranteed to work. CC-Link is also an open network and therefore allows many third-party products now appearing on the market with CC-Link connectivity. 1 Master Slave stations Fig.
CC-Link 3.2 Head Station STL-BT1 (CC-Link) Head Station STL-BT1 (CC-Link) The head station STL-BT1 is used in a remote station or a remote I/O station on CC-Link. It displays the peripheral data of all connected STlite modules to the CC-Link. Fig. 3-2: Head station STL-BT1 for CC-Link (with connected digital input module) The head station determines the physical structure of the node and automatically creates a local process image from this with all inputs and outputs.
Head Station STL-BT1 (CC-Link) 3.2.1 CC-Link View CC-Link L RUN L ERR SD RD CC-Link interface (9 pin D-Sub, female) I/O 78 456 78 456 78 23 456 Address 901 A B 24V 0V C D + + Supply via power jumper contacts 24 V DC — — 0V 901 23 Address 901 23 Transmission speed and Address mode Status of power supply – System – Power jumper contacts Data contacts Supply 24 V DC 0V 01 02 PE PE x1 x10 Power jumper contacts Configuration interface Fig. 3-3: 3.2.
CC-Link 3.2.3 Head Station STL-BT1 (CC-Link) Display Elements Fig. 3-5: The operating condition of the head station is signalled via LEDs. A C LED Color Status L.RUN Green ON Data link is being executed.* L.ERR Red ON Communication error (host).* SD Green ON Data is being transmitted.* RD Green ON Data is being received.* ON Node operation* Green IO Red A B Tab.
Head Station STL-BT1 (CC-Link) 3.2.4 CC-Link Setting the Station Address The station address (decimal) is determined using two rotary switches on the STL-BT1. Fig. 3-6: Rotary switches of the STL-BT1 Unit position of the address Tens position of the address The switch “x1“ determines the units position of the address, the switch “x10“ determines the decimal positions of the address (for example “x1“: 2, “x10“: 3 -> address = 2 + 10 x 3 = 32).
CC-Link 3.2.5 Head Station STL-BT1 (CC-Link) Setting the Transmission Speed and Address Mode The STL-BT1 supports five different transmission speeds and two address modes (fixed address mode and auto address mode). In auto address mode the head station determines the number of addresses (numbers of occupied stations) according to the connected STlite modules (one to four addresses per head station).
Head Station STL-BT1 (CC-Link) 3.2.6 CC-Link Pin Configuration of the CC-Link Interface 9-pin D-SUB female connector for connection to CC-Link Tab. 3-3: Pin configuration of the CC-Link interface of the STL-BT1 5 9 6 3.2.7 Fig.
CC-Link Head Station STL-BT1 (CC-Link) CC-Link Dedicated Cable Use the CC-Link dedicated cable for the CC-Link system. If a cable other than the CC-Link dedicated cable is used, the performance of the CC-Link system cannot be guaranteed. If you have any questions regarding the CC-Link dedicated cable or CC-Link in general, visit the CC-Link Partner Association homepage http://www.cclink.org/.
Head Station STL-BT1 (CC-Link) CC-Link CC-Link Fieldbus Connector The fieldbus connector STL-CClink con connects a CC-Link device to a CC-Link line. Fig. 3-11: Connector STL-CClink con The fieldbus connector has the following features: ● Two horizontal cable entries (One input and one output). ● Fast and maintenance-free CAGE CLAMP쏐 connection, can be held in the open position with the help of an actuation slide mechanism. ● Externally operable switch to activate or deactivate the terminating resistor.
CC-Link 3.2.8 Head Station STL-BT1 (CC-Link) Local Process Image After switching on, the head station STL-BT1 recognizes all connected STlite modules which supply data or wait for data (data width/bit width > 0). Analog and digital I/O modules can be mixed. The head station produces an internal process image from the data width and the type of STlite module as well as the position of the STlite modules in the node. It is divided into an input and an output data area.
Head Station STL-BT1 (CC-Link) CC-Link The position of the remote I/O system area is shown in the following table. Number of occupied stations RX / RY 1 00 to 0F User area 10 to 1F System area 2 User area System area 30 to 3F 50 to 5F Cannot be used Cannot be used 60 to 6F User area System area Cannot be used 70 to 7F Tab.
CC-Link Head Station STL-BT1 (CC-Link) Initial Data Transfer After power-on or hardware reset, the head station STL-BT1 requests its initial data (i.e. the system bits for fault behaviour) from the master station as described below. RX(n+1)8 Initial data processing request RY(n+1)8 Initial data processing complete RX(n+1)9 Initial data setting complete RY(n+1)9 Initial data setting request RX(n+1)B Remote station READY Executed by the sequence program Executed by the head station STL-BT1 Fig.
Head Station STL-BT1 (CC-Link) CC-Link Data Exchange After mapping the I/O-data of the STlite I/O modules to the local process image the head station cyclically transfers the digital input data from the process image to the Remote I/O area and the analog input data to the Remote Register area. In the same way the digital output data from the Remote I/O area and the analog output data from the Remote Register area to the are transferred to the process image.
CC-Link Head Station STL-BT1 (CC-Link) Allocation of the Input and Output Data NOTE For the meaning of input and output bits or bytes of the connected STlite modules please refer to the corresponding I/O module description in the appendix of this manual. The index k in the following tables points to the next free Remote input/output or Remote register (read/write). ● Digital I/O modules Process Image [Bit] Type of module Digital input modules Tab.
Head Station STL-BT1 (CC-Link) Remote input Remote input CC-Link Signal name Signal name Remote output Signal name RYn(k) Y0 RYn(k+1) Y1 RYn(k+2) Y2 RYn(k+3) Y3 RYn(k+4) Y4 RYn(k+5) Y5 RYn(k+6) Y6 RYn(k+7) Y7 Remote output Signal name RYn(k) Y0 RYn(k+1) Y1 Tab. 3-12: Allocation of data for the digital output module STL-DO8 Tab.
CC-Link Head Station STL-BT1 (CC-Link) ● Two-channel analog output modules Process Image [Byte] Type of module Analog output modules Name ID number Description Voltage STL-DA2-V 51205042 2 outputs 0 to 10 V Current STL-DA2-I 51205041 2 outputs 4 to 20 mA Input Output 0 4 Tab.
Head Station STL-BT1 (CC-Link) CC-Link ● Counter module STL-C100 Process Image [Byte] Type of module Name Counter module STL-C100 ID number Description Input Output 6 6 Forward/reverse counter, max. frequency 100 kHz 51244881 Tab.
CC-Link 3.
Configuration Example for MELSEC System Q 3.3.2 CC-Link Settings for the Slave Station Station Address For this example, the station address of the STL-BT1 is set to "1" (switch x1 = 1, switch x10 = 0, please refer to section 3.2.4). Transmission Speed and Address Mode The transmission speed and address mode selector switch of the STL-BT1 is set to "9". This will result in a transmission speed of 10 Mbit/s and auto address mode (see section 3.2.5).
CC-Link Configuration Example for MELSEC System Q Abb. 3-18: Parameter for the CC-Link slave station Set the STlite modules to occupy 1 station. This will result in the following number of occupied devices in the PLC.
Configuration Example for MELSEC System Q 3.3.4 CC-Link Sequence Program for Initialization of the CC-Link Head Station The program required for initialization of the head station STL-BT1 (refer to Fig. 3-14) is shown in the following illustrations. Abb. 3-19: Global Label settings Abb.
CC-Link 3.3.5 Configuration Example for MELSEC System Q Monitoring the Data Transfer After wiring the CC-Link network, downloading the program and the parameters to the PLC and starting the CC-Link communication by running the sequence program shown on the previous page, you can monitor the data transfer in the Device Monitor of GX Works2. Remote inputs Inputs from STL-DI8-V1 System area Abb. 3-21: Remote inputs (The input "Remote station ready" (X101B) is ON.
Configuration Example for MELSEC System Q CC-Link Remote register RWr Input data from STL-AD2-V, channel 1 Input data from STL-AD2-V, channel 2 Abb. 3-23: Remote registers RWr For the process images of the individual STlite modules please refer to the appendix, section A.1. For example, reading a value of 16384 (4000H) from D1000 means that a voltage of 5.00 V is applied to channel 1 of the STL-AD2-V.
CC-Link 3 - 24 Configuration Example for MELSEC System Q MITSUBISHI ELECTRIC
Overview Ethernet 4 Ethernet 4.1 Overview Ethernet is unrivalled for the widest possible set of connectable technologies. While being well established in the office and IT environments, its adoption into automation environments is both rapid and broad ranging. Ethernet is a platform for a very wide range of data communications protocols. The combination of Ethernet and the extremely widespread TCP/IP protocol enables high-speed data communications between process supervision and the PLC.
Ethernet Head Station STL-ETH1 (Ethernet) Both ports support: ● 10BASE-T / 100BASE-TX ● Full / Half duplex ● Autonegotiation ● Auto-MDI(X) In order to send process data via Ethernet, the head station supports a series of network protocols. The MODBUS/TCP(UDP) protocol and the Ethernet/IP protocol are implemented for exchanging process data. The two communication protocols can be used optional or together. For the management and diagnosis of the system, the HTTP, SNTP and SNMP protocols are available.
Head Station STL-ETH1 (Ethernet) 4.2.2 Ethernet Device Supply 24 V 24 V 0V 10 nF DC Modules DC Electronics Fieldbus interface Electronics Fieldbus interface 0V 10 nF STL-ETH1 Fig. 4-3: Block diagram for the head station STL-ETH1 (Ethernet) The device supply generates the necessary voltage to power the electronics of the device and the internal electronics of the connected I/O modules.
Ethernet 4.2.3 Head Station STL-ETH1 (Ethernet) Display Elements Fig. 4-4: ETHERNET The operating condition of the head station is signalled via LEDs. LINK 1 ACT LINK 2 ACT MS NS I/O The health of the Ethernet fieldbus is signalled through the top LED group (LINK ACT 1, LINK ACT 2, MS, and NS). The two-colored LEDs "MS" (module status) and "NS" (network status) are solely used by the Ethernet/ IP protocol. These two LEDs conform to the Ethernet/IP specifications.
Head Station STL-ETH1 (Ethernet) 4.2.4 Ethernet Address Selection Switch ON 1 2 3 4 5 6 7 8 Fig. 4-5: Address selection switch of the STL-ETH1 There are two ways to allocate the IP Address to the fieldbus node: ● Manually assignment of the IP address using of the address selection switch ● Automatic assignment of addresses via a DHCP server on the network. NOTE The assignment of the IP addresses via DHCP and the changing of the static base address is not covered in this Quick start manual.
Ethernet 4.2.5 Head Station STL-ETH1 (Ethernet) Hardware Address (MAC ID) Each ETHERNET head station STL-ETH1 has a unique and internationally unambiguous physical address, referred to as the MAC-ID (Media Access Control Identity). This is located on the rear of the controller and on a self-adhesive tearoff label on the side of the controller. The MAC ID has a set length of 6 bytes (48 bits) (hexadecimal). The first three bytes identify the manufacturer.
Head Station STL-ETH1 (Ethernet) 4.2.7 Ethernet Process Data Architecture After switching on the supply voltage, the head station identifies all I/O modules connected with the node that send or receive data (data width/bit width > 0). In the maximum total extension the node can consist of a mixed arrangement of a maximum of 64 analog, digital I/O modules or special function modules connected on the head station. The data of the digital I/O modules are bit-oriented; i.e., digital data are sent bit by bit.
Ethernet Head Station STL-ETH1 (Ethernet) Head station STL-ETH1 (Ethernet) Memory area for input data I/O modules Word 0 Input modules Fieldbus master Word 255 Memory area for output data Word 0 Output modules I O Word 255 Fig. 4-8: Memory areas and data exchange The input module data can be read by the CPU and by the fieldbus side. Likewise, data can be written to the output modules from the CPU and the fieldbus side.
Head Station STL-ETH1 (Ethernet) Ethernet Data Exchange between MODBUS/TCP Master and I/O Modules Data exchange between the MODBUS/TCP Master and the I/O modules is conducted using the MODBUS functions implemented in the controller by means of bit-by-bit or word-by-word reading and writing routines.
Ethernet Head Station STL-ETH1 (Ethernet) Allocation of the Input and Output Data NOTE For the meaning of input and output bits or bytes of the connected STlite modules please refer to the corresponding I/O module description in the appendix of this manual. ● Digital input modules Digital input modules supply one bit of data per input to specify the signal state for the corresponding input. These bits are mapped into the Input Process Image.
Head Station STL-ETH1 (Ethernet) Ethernet Output Process Image Bit 7 Tab. 4-9: Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Output Y1 Output Y0 Allocation of data for the relay output module STL-RO2 ● Analog input modules The hardware of an analog input module has 16 bits of measured analog data per channel and 8 bits of control/status. However, the head station/controller with MODBUS/TCP does not have access to the 8 control/status bits.
Ethernet Head Station STL-ETH1 (Ethernet) ● Analog output modules The hardware of an analog output module has 16 bits of analog data per channel and 8 bits of control/status. However, the head station/controller with MODBUS/TCP does not have access to the 8 control/status bits. The 16 bits of analog data per channel are grouped as words and mapped in Intel format in the Output Process Image.
Head Station STL-ETH1 (Ethernet) Ethernet ● Encoder module STL-ENC Process Image [Byte] Type of module Name Encoder module STL-ENC ID number Description Input module for incremental encoder 51205116 Input Output 6 6 Tab. 4-18: Process data of the encoder module The Incremental Encoder Interface Module has a total of 6 bytes of user data in both the Input and Output Process Image (4 bytes of encoder data and 2 bytes of control/status).
Ethernet Head Station STL-ETH1 (Ethernet) ● SSI interface module Process Image [Byte] Type of module Interface module Name STL-SSI ID number 51205057 Description Input module for SSI encoder Input Output 4 0 Tab. 4-23: Process data of the interface module STL-SSI The SSI Interface module has a total of 4 bytes of user data in the Input Process Image, which has 2 words mapped into the image. Word alignment is applied.
Configuration Example for MELSEC System Q 4.
Ethernet Configuration Example for MELSEC System Q Fig. 4-11: Setting the IP address of the MODBUS master. Still in the project navigator window, select Intelligent Function module -> QJ71MT91 and double click on Automatic_Communication_Parameter. Abb.
Configuration Example for MELSEC System Q Ethernet In this example, 3 data registers from D1000 onward are reserved for input data from the MODBUS/ TCP node and 5 registers, starting with D2000, serve as output buffer holding data for the STL-ETH1. Abb. 4-13: Auto refresh settings for the QJ71MT91 4.3.2 Monitoring the Data Transfer Set the host ID of the STL-ETH1 with the address selection switch (refer to section 4.2.4) according to the automatic communication parameter settings.
Ethernet Configuration Example for MELSEC System Q Output data Output data to STL-DA4-V1, channel 1 Output data to STL-DA4-V1, channel 2 Output data to STL-DA4-V1, channel 3 Output data to STL-DA4-V1, channel 4 Outputs to STL-DO4 Abb. 4-15: Output data to the MODBUS/TCP node Please note that the data for the digital output module is appended after the data for the analog output module. If you want to output 10 V on channel 1 of the STL-DA4-V1, write 32760 (7FF8H) to D2000. 4.3.
Configuration Example for MELSEC System Q Ethernet Fig. 4-16: Information screen of the Web-Based Management System Fig.
Ethernet 4 - 20 Configuration Example for MELSEC System Q MITSUBISHI ELECTRIC
Process Images Appendix A Appendix A.1 Process Images A.1.1 Digital Input Modules STL-DI8-V1 (ID number 51205052) and STL-DI8-V2 (ID number 51205053) b7 b6 b5 b4 b3 b2 b1 b0 X7 X6 X5 X4 X3 X2 X1 X0 Fig. A-1: The signal status of the digital input modules is reflected in one byte. 0: Input is OFF 1: Input is ON A.1.2 Digital Output Modules STL-DO4 (ID number 51205045) b3 b2 b1 b0 Y3 Y2 Y1 Y0 Fig.
Appendix A.1.4 Process Images Analog Input Modules STL-AD2-V (ID number 51205046) The two-channel analog input module STL-AD2-V (for voltages from 0 to 10 V) transmits a 16-bit measured value and 8 status bits per channel. Accessing the status byte depends on the fieldbus system being used. The digitalized measured value is transmitted in a data word (16 bits) as input byte 0 (low) and input byte 1 (high) into the process image of the head station/controller.
Process Images Appendix STL-AD4-V1 (ID number 51205049) The four-channel analog input module STL-AD4-V1 (for voltages from 0 to 10 V) transmits a 16-bit measured value and 8 status bits per channel. Accessing the status byte depends on the fieldbus system being used. The digitalized measured value is transmitted in a data word (16 bits) as input byte 0 (low) and input byte 1 (high) into the process image of the head station/controller. This value is represented with a 12 bit resolution on bit b3 to b14.
Appendix Process Images STL-AD4-V2 (ID number 51205050) The four-channel analog input module STL-AD4-V2 (for voltages from -10 V to 10 V) transmits a 16-bit measured value and 8 status bits per channel. Accessing the status byte depends on the fieldbus system being used. The digitalized measured value is transmitted in a data word (16 bits) as input byte 0 (low) and input byte 1 (high) into the process image of the head station/controller.
Process Images Appendix STL-AD2-I (ID number 51205047) The two-channel analog input module STL-AD2-I (for currents from 4 to 20 mA) transmits a 16-bit measured value and 8 status bits per channel. Accessing the status byte depends on the fieldbus system being used. The digitalized measured value is transmitted in a data word (16 bits) as input byte 0 (low) and input byte 1 (high) into the process image of the head station/controller. This value is represented with a 12 bit resolution on bit b3 to b14.
Appendix Process Images STL-AD4-I (ID number 51205051) The four-channel analog input module STL-AD4-I (for currents from 4 to 20 mA) transmits a 16-bit measured value and 8 status bits per channel. Accessing the status byte depends on the fieldbus system being used. The digitalized measured value is transmitted in a data word (16 bits) as input byte 0 (low) and input byte 1 (high) into the process image of the head station/controller. This value is represented with a 12 bit resolution on bit b3 to b14.
Process Images Appendix STL-TI2 (ID number 51205048) The two-channel analog input module STL-TI2 for temperature acquisition transmits 16-bit measured values per channel as well as 8 optional status bits to the head station. Accessing the status byte depends on the fieldbus system being used. To evaluate the platinum resistance sensors the measured values of the resistance are converted and sent as temperature values. All temperature values are represented in a standard numeric format.
Appendix A.1.5 Process Images Analog Output Modules STL-DA2-V (ID number 51205042) and STL-DA4-V1 (ID number 51205038) The analog output modules STL-DA2-V (two channels, 0 to 10 V) and STL-DA4-V1 (four channels, 0 to 10 V) require 16-bit data and 8 status bits per channel. The digitalized output value is transmitted in a data word (16 bits) as output byte 0 (low) and output byte 1 (high) via the process image of the head station. This value is represented with a 12 bit resolution on the bits b3 to b14.
Process Images Appendix STL-DA4-V2 (ID number 51205039) The analog output module STL-DA4-V2 (four channels, -10 to 10 V) requires 16-bit data and 8 status bits per channel. The digitalized output value is transmitted in a data word (16 bits) as output byte 0 (low) and output byte 1 (high) via the process image of the head station. This value is represented with a 12 bit resolution on the bits b3 to b14. Bit b15 serves as sign bit. The three least significant bits (b0 to b2) are not parsed.
Appendix Process Images STL-DA2-I (ID number 51205041) The analog output module STL-DA2-I (two channels, 4 to 20 mA) requires 16-bit data and 8 status bits per channel. The digitalized output value is transmitted in a data word (16 bits) as output byte 0 (low) and output byte 1 (high) via the process image of the head station. This value is represented with a 12 bit resolution on the bits b3 to b14. The three least significant bits (b0 to b2) are not parsed.
Process Images Appendix STL-DA4-I (ID number 51205040) The analog output module STL-DA4-I (four channels, 4 to 20 mA) requires 16-bit data and 8 status bits per channel. The digitalized output value is transmitted in a data word (16 bits) as output byte 0 (low) and output byte 1 (high) via the process image of the head station. This value is represented with a 12 bit resolution on the bits b3 to b14. The three least significant bits (b0 to b2) are not parsed.
Appendix A.1.6 Process Images Encoder module STL-ENC (ID number 51205116) Using the encoder module STL-ENC, a 6 byte input and output process image can be transferred to the head station via two logical channels. The set values are stored in four output bytes (D0 to D3) and the process data are stored in four input bytes (D0 to D3). Two control bytes (C0, C1) and two status bytes (S0, S1) are used to select process data and set values as well as to control the data flow.
Process Images Appendix Status byte S0 b7 b6 b5 b4 b3 b2 b1 b0 0 X 0/1 0/1 0/1 0/1 0/1 0/1 Status byte S0 LATC_VAL LAT_EXT_VAL CNT_SET_ACK UNDERFLOW OVERFLOW AckSet LoadExt Reserved Reserved Fig. A-15: Status byte S0 of the STL-ENC Bit 0 Name Description LATC_VAL Acknowledge bit for EN_LATC (control byte C0, bit 0) 앫 Latch Mode: This bit is set with a positive edge at input C. It is reset when EN_LATC is reset. 앫 Preload Mode: This bit is set with a positive edge at C.
Appendix Process Images Status byte S1 Status byte S1 b7 b6 b5 b4 b3 b2 b1 b0 0 0 0/1 0/1 0/1 0/1 0/1 0/1 MapPZD MapPZD StaN1 StaN2 N1 N2 Reserved Reserved Fig.
Process Images Appendix Control byte C0 Control byte C0 b7 b6 b5 b4 b3 b2 b1 b0 0 0/1 0/1 0/1 0/1 0/1 0/1 0/1 EN_LATC EN_LAT_EXT CNT_SET Reset Underflow Reset Overflow SetLoad Ext OpMode Reserved Fig. A-17: Control byte C0 of the STL-ENC Bit Name Description The encoder zero mark is released. 앫 Capture Mode: With a positive edge at input C the counter reading is transferred to the latch register.
Appendix Process Images Control byte C1 Control byte C1 b7 b6 b5 b4 b3 b2 b1 b0 0 0/1 0/1 0/1 0/1 0/1 0/1 0/1 MapPZD MapPZD DisCam1 DisCam2 SetCam1 SetCam2 EnableRef Reserved Fig.
Process Images A.1.7 Appendix Counter module STL-C100 (ID number 51244881) Using the counter module STL-C100, a 5 byte input and output process image can be transferred to the head station via two logical channels. The transfer of the setting counter value in binary format is made via 4 output bytes (D0 to D3) and the transfer of the counter reading in binary format is made via 4 input bytes (D0 to D3). The control byte C0 serves for setting the counter and the outputs.
Appendix Process Images Control byte C0 Control byte C0 b7 b6 b5 b4 b3 b2 b1 b0 0 0 0/1 0/1 0/1 0/1 0 0 This bit must be set to zero. This bit must be set to zero. Set output Y1 Set output Y2 Lock Counter Set Counter This bit must be set to zero. This bit must be set to zero. Fig. A-20: Control byte C0 of the STL-C100 Bit Name Description 2 Set output Y1 This bit sets the additional output Y1 of the counter module.
Index Index Symbols S *STL-DO4 Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-16 Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-21 *STL-RO2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-16 STL-AD2-I CC-Link mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-15 MODBUS/TCP mapping . . . . . . . . . . . . . . . . . . . . . 4-11 Process image . . . . . . . . . . . . . . . . . . . . . . . .
Index STL-DA4-I CC-Link mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-16 MODBUS/TCP mapping . . . . . . . . . . . . . . . . . . . . . . 4-12 Process image . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .A-11 Profibus DP mapping . . . . . . . . . . . . . . . . . . . . . . . . 2-13 STL-DA4-V1 CC-Link mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-16 MODBUS/TCP mapping . . . . . . . . . . . . . . . . . . . . . . 4-12 Process image . . . . . . . . . . . . . .
MITSUBISHI ELECTRIC HEADQUARTERS EUROPEAN REPRESENTATIVES EUROPEAN REPRESENTATIVES MITSUBISHI ELECTRIC EUROPE B.V. EUROPE German Branch Gothaer Straße 8 D-40880 Ratingen Phone: +49 (0)2102 / 486-0 Fax: +49 (0)2102 / 486-1120 MITSUBISHIELECTRICEUROPEB.V.-org.sl. CZECH REP. Czech Branch Avenir Business Park, Radlická 714/113a CZ-158 00 Praha 5 Phone: +420 - 251 551 470 Fax: +420 - 251-551-471 MITSUBISHI ELECTRIC EUROPE B.V.