How to achieve communication between Siemens Botu and RobotStudio?

Publisher:XiangtanLatest update time:2024-08-16 Source: elecfansKeywords:Siemens Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

1. Creating a robot system and workstation using RobotStudio

RobotStudio uses version 6.08.01

(1) Import the robot model

Import the robot model IRB5700 from the ABB model library. A selection box will pop up, select the robot version, select one, and click OK. When the operation is completed, the robot model will appear in the graphics area of ​​RobotStudio.

(2) Create a robot system

Select Basic - Robot System - From Layout, and the Create System from Layout dialog box pops up.

(3) Configuration of the robot system

Without further ado, let me show you the configuration of the robot system. Pay special attention to the contents in the red box.

e3a33a46-1930-11ee-962d-dac502259ad0.png

The above is the setting of the robot system.

2. Import library files

Basic--Import Model Library--Browse Library File

e3d124c4-1930-11ee-962d-dac502259ad0.png

Select the two library files and choose Open.

There are two library files, one is the DIO digital communication file, and the other is the GIO group variable communication file. It should be mentioned here that this library file is an encapsulated TCP/IP communication protocol. It will be used emphatically later.

e3ea67c2-1930-11ee-962d-dac502259ad0.png

3. Establishment of the Botu Project

1. The PLC I added is the 1500 series because it is more convenient to simulate the 1500 series when using PLCSIM Adv.

Add a subnet and set the PLC's IP address to 192.168.0.2

e42c4bf6-1930-11ee-962d-dac502259ad0.png

2. Create a virtual PLC

Open PLCSIM Adv software and create a PLC project. The IP is the same as in the diagram 192.168.0.2. The subnet is 255.255.255.0. Remember to select OnlineAccess mode. The specific reason is shown in the red box. That is, the two library files of ABB mentioned above realize communication through TCP/IP protocol.

e443533c-1930-11ee-962d-dac502259ad0.png

3. Create a PLC variable table

The following are the variables I used for this project.

e454808a-1930-11ee-962d-dac502259ad0.png

4. Create variables in PLC

1. Create DeviceNet Device

Controller - Configuration - I/O System, right-click DeviceNet Device and select New DeviceNet Device.

e47de2ae-1930-11ee-962d-dac502259ad0.png

Use the value from the template: DSQC 652 24VDC I/O Device.

Use the default values ​​for the rest. Click OK.

A dialog box pops up, "The changes will take effect only after the controller is restarted." Click OK, then go to Controller - Restart - Restart (hot start), and wait for the system to restart.

2. Create variables

Controller - Configuration - I/O System, right-click and select Signal, select New Signal, and a dialog box pops up.

e494cf78-1930-11ee-962d-dac502259ad0.png

According to the options in the figure above, add the input and output variables of each robot system, create a digital input signal di0Start signal, which is a Bool value, and the Meeping offset value input and output both start from 0 and increase by 1.

A dialog box pops up prompting "Changes will take effect only after the controller is restarted", I restarted it after all signals were added.

3. Connection of simulation communication

Basic--right click "Snap7" file--properties. Open the following window

e4baf55e-1930-11ee-962d-dac502259ad0.png

Set the PLC IP address 192.168.0.1, rack number, number of digital input and output and the corresponding address in the PLC. Then click Connection at the bottom of the window to connect.

5. Connection between robot IO and simulation signal

Select Simulation > Workstation Logic > Design. Connect the simulator signals to the IO signals of each robot. Associate the simulator signals with the signals of each Smart component.

e4d5bd6c-1930-11ee-962d-dac502259ad0.png


Keywords:Siemens Reference address:How to achieve communication between Siemens Botu and RobotStudio?

Previous article:A new type of oriented steel laminated rotor core for synchronous reluctance traction motor
Next article:The construction of intelligent industrial sensor nodes requires sensors to share tasks with MCUs

Latest Embedded Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号