How to achieve communication between Siemens Botu and RobotStudio?

Publisher:Yuexiang666Latest update time:2023-07-03 Source: PLC机器人上位机学习Author: Lemontree Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

1. RobotStudio creates systems and workstations

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.

The above is the setting of the robot system.

2. Import library files

Basic--Import Model Library--Browse Library File

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.

3. Establishment of the Botu Project

1. I added the 1500 series because the 1500 series is more convenient when using PLC v.

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

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.

3. Create a PLC variable table

The following are the variables I used for this project.

4. Create variables in PLC

1. Create DeviceNet Device

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

Use the value from the template: DSQC 652 24V 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.

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

A dialog box pops up to prompt "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

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 Connect at the bottom of the window to connect.

5. Connection between robot IO and simulation signal

Select Simulation--Workstation Logic--Design. Connect the signals of the corresponding IO signals of each robot. Associate the signals between the simulator and each Smart component.





Review editor: Liu Qing

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

Previous article:AGV robot: Theoretical basis of visual obstacle avoidance
Next article:How to create a Chinese simulation robot system in RobotStudio

Latest robot Articles
Change More Related Popular Components
Guess you like

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号