{}

Our Brands

Impact-Company-Logo-English Black-01-177x54

Welcome to the Schneider Electric Website

Welcome to our website.
How can we help you today?
How can I connect my Magelis XBTGT to a M238 and use the Symbol Configurator to import the variables using SoMachine V1.1.10?

Goals and Symptoms

The goal of this resolution is to provide a solution for connection a Magelis XBTGT2000-7000 series to a M238 PLC via the serial link. Also, it provides a procedure for importing the variables via the symbol configurator.

Facts and Changes


Hardware:
-Magelis XBTGT 2000/4000/5000/6000/7000 series
-TM238LDD24DT
-TM238LFDC24DT
-Schneider Electric Modbus drop cable VW3A8306R**
-BMXXCAUSBH018 programming cable for the M238
-XBTZG935 programming cable for the HMI

Software:
SoMachine v1.1.10

Causes and Fixes

The SoMachine application can be downloaded to the M238 using the BMXXCAUSBH018 USB programming cable. The HMI application can be downloaded using the XBTZG935 programming cable. The PLC and HMI download is manage via SoMachine. The Magelis XBTGT Com port 2 connects to the M238 Serial Link 1 or 2 using the Schneider Electric Modbus RS485 cable VW3A8306R**. In this example we are using Serial Link 1 on the M238.

1) From SoMachine add a Magelis XBTGT device

image

1.1) In this resolution we will use the Magelis XBTGT7340.
image

1.2) Verify the Magelis XBTGT was added successfully.
image

2) Create a Program Organization Unit (POU)

image


2.1) Create a Ladder Logic Diagram (LD)
image

2.2) This resolution use a ADD function Block to test the communication between the XBTGT and the M238.

image

2.3) Add the POU to the MAST Task Configuration as shown below:

image

3) Add the Symbol Configuration tool

image

3.1) Select the Symbol Configuration and click Open.
image


3.2) Double-click on Symbol Configuration and Refresh the list as shown below:

image

3.3) Select and add the variables to the right column

image

4) Set the communication path to download to the M238 using the USB cable BMXXCAUSBH018.

image


4.1) Set the communication path to download to the Magelis XBTGT7340 using the XBTZG935 cable.
image



5) Set the communication parameter for SL1 on the M238 as shown below:
Baud rate: 19200
Parity: None
Data bits: 8
Stop bits 1
RS485.

image

5.1) Add the SoMachine Network Manager under Serial Line 1.

image


5.2) Select SoMachine Network manager.
image

6) Launch Vijeo Designer to create the HMI application for the XBTGT7340. Double-click on 'HMI application'.image

7) Import the tags to Vijeo Designer
image

8) Create a new panel with 3 numeric object.

Link the object to the tags created in SoMachine
image


image

9) Set the HMI COM2 communication parameter as shown below:
Baud rate: 19200
Parity: None
Data bits: 8
Stop bits 1
RS485.

image
image

10) Copy and Paste the Equipment Address from the gateway' s PLC section.
image

10.1) Set the Equipment Address for the PLC.image

11) Copy and Paste the Equipment Address from the gateway's HMI section.

asf


11.1) Set the Equipment Address for the XBTGT7340
asfd

12) Build and download the application.
image

Schneider Electric New Zealand

Attachment(s)
XBTGT_M238.zip [84.38 KB]
Explore more
Range:
Articles that might be helpful Users group

Discuss this topic with experts

Visit our Community for first-hand insights from experts and peers on this topic and more.
Explore more
Range: