Skip to content

Commit

Permalink
+readme docu
Browse files Browse the repository at this point in the history
*movement verified with hw
  • Loading branch information
peterbarancek committed Oct 5, 2023
1 parent a46b116 commit e841abf
Show file tree
Hide file tree
Showing 24 changed files with 739 additions and 4,510 deletions.
114 changes: 57 additions & 57 deletions TcOpen.sln
Original file line number Diff line number Diff line change
Expand Up @@ -4815,62 +4815,62 @@ Global
{3B940703-C1AD-43F4-ADF3-AE7DC417A73C}.ReleaseDevelop|TwinCAT RT (x64).Build.0 = Release|Any CPU
{3B940703-C1AD-43F4-ADF3-AE7DC417A73C}.ReleaseDevelop|TwinCAT RT (x86).ActiveCfg = Release|Any CPU
{3B940703-C1AD-43F4-ADF3-AE7DC417A73C}.ReleaseDevelop|TwinCAT RT (x86).Build.0 = Release|Any CPU
{C4D9013E-3EDC-4D77-BD13-1437E40A0F72}.Debug|Any CPU.ActiveCfg = Debug|TwinCAT RT (x86)
{C4D9013E-3EDC-4D77-BD13-1437E40A0F72}.Debug|TwinCAT CE7 (ARMV7).ActiveCfg = Debug|TwinCAT CE7 (ARMV7)
{C4D9013E-3EDC-4D77-BD13-1437E40A0F72}.Debug|TwinCAT CE7 (ARMV7).Build.0 = Debug|TwinCAT CE7 (ARMV7)
{C4D9013E-3EDC-4D77-BD13-1437E40A0F72}.Debug|TwinCAT OS (ARMT2).ActiveCfg = Debug|TwinCAT OS (ARMT2)
{C4D9013E-3EDC-4D77-BD13-1437E40A0F72}.Debug|TwinCAT OS (ARMT2).Build.0 = Debug|TwinCAT OS (ARMT2)
{C4D9013E-3EDC-4D77-BD13-1437E40A0F72}.Debug|TwinCAT RT (x64).ActiveCfg = Debug|TwinCAT RT (x64)
{C4D9013E-3EDC-4D77-BD13-1437E40A0F72}.Debug|TwinCAT RT (x64).Build.0 = Debug|TwinCAT RT (x64)
{C4D9013E-3EDC-4D77-BD13-1437E40A0F72}.Debug|TwinCAT RT (x86).ActiveCfg = Debug|TwinCAT RT (x86)
{C4D9013E-3EDC-4D77-BD13-1437E40A0F72}.Debug|TwinCAT RT (x86).Build.0 = Debug|TwinCAT RT (x86)
{C4D9013E-3EDC-4D77-BD13-1437E40A0F72}.Release|Any CPU.ActiveCfg = Release|TwinCAT RT (x86)
{C4D9013E-3EDC-4D77-BD13-1437E40A0F72}.Release|TwinCAT CE7 (ARMV7).ActiveCfg = Release|TwinCAT CE7 (ARMV7)
{C4D9013E-3EDC-4D77-BD13-1437E40A0F72}.Release|TwinCAT CE7 (ARMV7).Build.0 = Release|TwinCAT CE7 (ARMV7)
{C4D9013E-3EDC-4D77-BD13-1437E40A0F72}.Release|TwinCAT OS (ARMT2).ActiveCfg = Release|TwinCAT OS (ARMT2)
{C4D9013E-3EDC-4D77-BD13-1437E40A0F72}.Release|TwinCAT OS (ARMT2).Build.0 = Release|TwinCAT OS (ARMT2)
{C4D9013E-3EDC-4D77-BD13-1437E40A0F72}.Release|TwinCAT RT (x64).ActiveCfg = Release|TwinCAT RT (x64)
{C4D9013E-3EDC-4D77-BD13-1437E40A0F72}.Release|TwinCAT RT (x64).Build.0 = Release|TwinCAT RT (x64)
{C4D9013E-3EDC-4D77-BD13-1437E40A0F72}.Release|TwinCAT RT (x86).ActiveCfg = Release|TwinCAT RT (x86)
{C4D9013E-3EDC-4D77-BD13-1437E40A0F72}.Release|TwinCAT RT (x86).Build.0 = Release|TwinCAT RT (x86)
{C4D9013E-3EDC-4D77-BD13-1437E40A0F72}.ReleaseDevelop|Any CPU.ActiveCfg = Release|TwinCAT RT (x86)
{C4D9013E-3EDC-4D77-BD13-1437E40A0F72}.ReleaseDevelop|Any CPU.Build.0 = Release|TwinCAT RT (x86)
{C4D9013E-3EDC-4D77-BD13-1437E40A0F72}.ReleaseDevelop|TwinCAT CE7 (ARMV7).ActiveCfg = Release|TwinCAT CE7 (ARMV7)
{C4D9013E-3EDC-4D77-BD13-1437E40A0F72}.ReleaseDevelop|TwinCAT CE7 (ARMV7).Build.0 = Release|TwinCAT CE7 (ARMV7)
{C4D9013E-3EDC-4D77-BD13-1437E40A0F72}.ReleaseDevelop|TwinCAT OS (ARMT2).ActiveCfg = Release|TwinCAT OS (ARMT2)
{C4D9013E-3EDC-4D77-BD13-1437E40A0F72}.ReleaseDevelop|TwinCAT OS (ARMT2).Build.0 = Release|TwinCAT OS (ARMT2)
{C4D9013E-3EDC-4D77-BD13-1437E40A0F72}.ReleaseDevelop|TwinCAT RT (x64).ActiveCfg = Release|TwinCAT RT (x64)
{C4D9013E-3EDC-4D77-BD13-1437E40A0F72}.ReleaseDevelop|TwinCAT RT (x64).Build.0 = Release|TwinCAT RT (x64)
{C4D9013E-3EDC-4D77-BD13-1437E40A0F72}.ReleaseDevelop|TwinCAT RT (x86).ActiveCfg = Release|TwinCAT RT (x86)
{C4D9013E-3EDC-4D77-BD13-1437E40A0F72}.ReleaseDevelop|TwinCAT RT (x86).Build.0 = Release|TwinCAT RT (x86)
{20FEF108-471B-4D50-A210-154818B5D824}.Debug|Any CPU.ActiveCfg = Debug|TwinCAT RT (x86)
{20FEF108-471B-4D50-A210-154818B5D824}.Debug|TwinCAT CE7 (ARMV7).ActiveCfg = Debug|TwinCAT CE7 (ARMV7)
{20FEF108-471B-4D50-A210-154818B5D824}.Debug|TwinCAT CE7 (ARMV7).Build.0 = Debug|TwinCAT CE7 (ARMV7)
{20FEF108-471B-4D50-A210-154818B5D824}.Debug|TwinCAT OS (ARMT2).ActiveCfg = Debug|TwinCAT OS (ARMT2)
{20FEF108-471B-4D50-A210-154818B5D824}.Debug|TwinCAT OS (ARMT2).Build.0 = Debug|TwinCAT OS (ARMT2)
{20FEF108-471B-4D50-A210-154818B5D824}.Debug|TwinCAT RT (x64).ActiveCfg = Debug|TwinCAT RT (x64)
{20FEF108-471B-4D50-A210-154818B5D824}.Debug|TwinCAT RT (x64).Build.0 = Debug|TwinCAT RT (x64)
{20FEF108-471B-4D50-A210-154818B5D824}.Debug|TwinCAT RT (x86).ActiveCfg = Debug|TwinCAT RT (x86)
{20FEF108-471B-4D50-A210-154818B5D824}.Debug|TwinCAT RT (x86).Build.0 = Debug|TwinCAT RT (x86)
{20FEF108-471B-4D50-A210-154818B5D824}.Release|Any CPU.ActiveCfg = Release|TwinCAT RT (x86)
{20FEF108-471B-4D50-A210-154818B5D824}.Release|TwinCAT CE7 (ARMV7).ActiveCfg = Release|TwinCAT CE7 (ARMV7)
{20FEF108-471B-4D50-A210-154818B5D824}.Release|TwinCAT CE7 (ARMV7).Build.0 = Release|TwinCAT CE7 (ARMV7)
{20FEF108-471B-4D50-A210-154818B5D824}.Release|TwinCAT OS (ARMT2).ActiveCfg = Release|TwinCAT OS (ARMT2)
{20FEF108-471B-4D50-A210-154818B5D824}.Release|TwinCAT OS (ARMT2).Build.0 = Release|TwinCAT OS (ARMT2)
{20FEF108-471B-4D50-A210-154818B5D824}.Release|TwinCAT RT (x64).ActiveCfg = Release|TwinCAT RT (x64)
{20FEF108-471B-4D50-A210-154818B5D824}.Release|TwinCAT RT (x64).Build.0 = Release|TwinCAT RT (x64)
{20FEF108-471B-4D50-A210-154818B5D824}.Release|TwinCAT RT (x86).ActiveCfg = Release|TwinCAT RT (x86)
{20FEF108-471B-4D50-A210-154818B5D824}.Release|TwinCAT RT (x86).Build.0 = Release|TwinCAT RT (x86)
{20FEF108-471B-4D50-A210-154818B5D824}.ReleaseDevelop|Any CPU.ActiveCfg = Release|TwinCAT RT (x86)
{20FEF108-471B-4D50-A210-154818B5D824}.ReleaseDevelop|Any CPU.Build.0 = Release|TwinCAT RT (x86)
{20FEF108-471B-4D50-A210-154818B5D824}.ReleaseDevelop|TwinCAT CE7 (ARMV7).ActiveCfg = Release|TwinCAT CE7 (ARMV7)
{20FEF108-471B-4D50-A210-154818B5D824}.ReleaseDevelop|TwinCAT CE7 (ARMV7).Build.0 = Release|TwinCAT CE7 (ARMV7)
{20FEF108-471B-4D50-A210-154818B5D824}.ReleaseDevelop|TwinCAT OS (ARMT2).ActiveCfg = Release|TwinCAT OS (ARMT2)
{20FEF108-471B-4D50-A210-154818B5D824}.ReleaseDevelop|TwinCAT OS (ARMT2).Build.0 = Release|TwinCAT OS (ARMT2)
{20FEF108-471B-4D50-A210-154818B5D824}.ReleaseDevelop|TwinCAT RT (x64).ActiveCfg = Release|TwinCAT RT (x64)
{20FEF108-471B-4D50-A210-154818B5D824}.ReleaseDevelop|TwinCAT RT (x64).Build.0 = Release|TwinCAT RT (x64)
{20FEF108-471B-4D50-A210-154818B5D824}.ReleaseDevelop|TwinCAT RT (x86).ActiveCfg = Release|TwinCAT RT (x86)
{20FEF108-471B-4D50-A210-154818B5D824}.ReleaseDevelop|TwinCAT RT (x86).Build.0 = Release|TwinCAT RT (x86)
{974C1006-62D3-48EB-8124-17F82E1EB01C}.Debug|Any CPU.ActiveCfg = Debug|TwinCAT RT (x86)
{974C1006-62D3-48EB-8124-17F82E1EB01C}.Debug|TwinCAT CE7 (ARMV7).ActiveCfg = Debug|TwinCAT CE7 (ARMV7)
{974C1006-62D3-48EB-8124-17F82E1EB01C}.Debug|TwinCAT CE7 (ARMV7).Build.0 = Debug|TwinCAT CE7 (ARMV7)
{974C1006-62D3-48EB-8124-17F82E1EB01C}.Debug|TwinCAT OS (ARMT2).ActiveCfg = Debug|TwinCAT OS (ARMT2)
{974C1006-62D3-48EB-8124-17F82E1EB01C}.Debug|TwinCAT OS (ARMT2).Build.0 = Debug|TwinCAT OS (ARMT2)
{974C1006-62D3-48EB-8124-17F82E1EB01C}.Debug|TwinCAT RT (x64).ActiveCfg = Debug|TwinCAT RT (x64)
{974C1006-62D3-48EB-8124-17F82E1EB01C}.Debug|TwinCAT RT (x64).Build.0 = Debug|TwinCAT RT (x64)
{974C1006-62D3-48EB-8124-17F82E1EB01C}.Debug|TwinCAT RT (x86).ActiveCfg = Debug|TwinCAT RT (x86)
{974C1006-62D3-48EB-8124-17F82E1EB01C}.Debug|TwinCAT RT (x86).Build.0 = Debug|TwinCAT RT (x86)
{974C1006-62D3-48EB-8124-17F82E1EB01C}.Release|Any CPU.ActiveCfg = Release|TwinCAT RT (x86)
{974C1006-62D3-48EB-8124-17F82E1EB01C}.Release|TwinCAT CE7 (ARMV7).ActiveCfg = Release|TwinCAT CE7 (ARMV7)
{974C1006-62D3-48EB-8124-17F82E1EB01C}.Release|TwinCAT CE7 (ARMV7).Build.0 = Release|TwinCAT CE7 (ARMV7)
{974C1006-62D3-48EB-8124-17F82E1EB01C}.Release|TwinCAT OS (ARMT2).ActiveCfg = Release|TwinCAT OS (ARMT2)
{974C1006-62D3-48EB-8124-17F82E1EB01C}.Release|TwinCAT OS (ARMT2).Build.0 = Release|TwinCAT OS (ARMT2)
{974C1006-62D3-48EB-8124-17F82E1EB01C}.Release|TwinCAT RT (x64).ActiveCfg = Release|TwinCAT RT (x64)
{974C1006-62D3-48EB-8124-17F82E1EB01C}.Release|TwinCAT RT (x64).Build.0 = Release|TwinCAT RT (x64)
{974C1006-62D3-48EB-8124-17F82E1EB01C}.Release|TwinCAT RT (x86).ActiveCfg = Release|TwinCAT RT (x86)
{974C1006-62D3-48EB-8124-17F82E1EB01C}.Release|TwinCAT RT (x86).Build.0 = Release|TwinCAT RT (x86)
{974C1006-62D3-48EB-8124-17F82E1EB01C}.ReleaseDevelop|Any CPU.ActiveCfg = Release|TwinCAT RT (x86)
{974C1006-62D3-48EB-8124-17F82E1EB01C}.ReleaseDevelop|Any CPU.Build.0 = Release|TwinCAT RT (x86)
{974C1006-62D3-48EB-8124-17F82E1EB01C}.ReleaseDevelop|TwinCAT CE7 (ARMV7).ActiveCfg = Release|TwinCAT CE7 (ARMV7)
{974C1006-62D3-48EB-8124-17F82E1EB01C}.ReleaseDevelop|TwinCAT CE7 (ARMV7).Build.0 = Release|TwinCAT CE7 (ARMV7)
{974C1006-62D3-48EB-8124-17F82E1EB01C}.ReleaseDevelop|TwinCAT OS (ARMT2).ActiveCfg = Release|TwinCAT OS (ARMT2)
{974C1006-62D3-48EB-8124-17F82E1EB01C}.ReleaseDevelop|TwinCAT OS (ARMT2).Build.0 = Release|TwinCAT OS (ARMT2)
{974C1006-62D3-48EB-8124-17F82E1EB01C}.ReleaseDevelop|TwinCAT RT (x64).ActiveCfg = Release|TwinCAT RT (x64)
{974C1006-62D3-48EB-8124-17F82E1EB01C}.ReleaseDevelop|TwinCAT RT (x64).Build.0 = Release|TwinCAT RT (x64)
{974C1006-62D3-48EB-8124-17F82E1EB01C}.ReleaseDevelop|TwinCAT RT (x86).ActiveCfg = Release|TwinCAT RT (x86)
{974C1006-62D3-48EB-8124-17F82E1EB01C}.ReleaseDevelop|TwinCAT RT (x86).Build.0 = Release|TwinCAT RT (x86)
{3378ED7E-C651-454F-A6A3-91EFE59C7B89}.Debug|Any CPU.ActiveCfg = Debug|TwinCAT RT (x86)
{3378ED7E-C651-454F-A6A3-91EFE59C7B89}.Debug|TwinCAT CE7 (ARMV7).ActiveCfg = Debug|TwinCAT CE7 (ARMV7)
{3378ED7E-C651-454F-A6A3-91EFE59C7B89}.Debug|TwinCAT CE7 (ARMV7).Build.0 = Debug|TwinCAT CE7 (ARMV7)
{3378ED7E-C651-454F-A6A3-91EFE59C7B89}.Debug|TwinCAT OS (ARMT2).ActiveCfg = Debug|TwinCAT OS (ARMT2)
{3378ED7E-C651-454F-A6A3-91EFE59C7B89}.Debug|TwinCAT OS (ARMT2).Build.0 = Debug|TwinCAT OS (ARMT2)
{3378ED7E-C651-454F-A6A3-91EFE59C7B89}.Debug|TwinCAT RT (x64).ActiveCfg = Debug|TwinCAT RT (x64)
{3378ED7E-C651-454F-A6A3-91EFE59C7B89}.Debug|TwinCAT RT (x64).Build.0 = Debug|TwinCAT RT (x64)
{3378ED7E-C651-454F-A6A3-91EFE59C7B89}.Debug|TwinCAT RT (x86).ActiveCfg = Debug|TwinCAT RT (x86)
{3378ED7E-C651-454F-A6A3-91EFE59C7B89}.Debug|TwinCAT RT (x86).Build.0 = Debug|TwinCAT RT (x86)
{3378ED7E-C651-454F-A6A3-91EFE59C7B89}.Release|Any CPU.ActiveCfg = Release|TwinCAT RT (x86)
{3378ED7E-C651-454F-A6A3-91EFE59C7B89}.Release|TwinCAT CE7 (ARMV7).ActiveCfg = Release|TwinCAT CE7 (ARMV7)
{3378ED7E-C651-454F-A6A3-91EFE59C7B89}.Release|TwinCAT CE7 (ARMV7).Build.0 = Release|TwinCAT CE7 (ARMV7)
{3378ED7E-C651-454F-A6A3-91EFE59C7B89}.Release|TwinCAT OS (ARMT2).ActiveCfg = Release|TwinCAT OS (ARMT2)
{3378ED7E-C651-454F-A6A3-91EFE59C7B89}.Release|TwinCAT OS (ARMT2).Build.0 = Release|TwinCAT OS (ARMT2)
{3378ED7E-C651-454F-A6A3-91EFE59C7B89}.Release|TwinCAT RT (x64).ActiveCfg = Release|TwinCAT RT (x64)
{3378ED7E-C651-454F-A6A3-91EFE59C7B89}.Release|TwinCAT RT (x64).Build.0 = Release|TwinCAT RT (x64)
{3378ED7E-C651-454F-A6A3-91EFE59C7B89}.Release|TwinCAT RT (x86).ActiveCfg = Release|TwinCAT RT (x86)
{3378ED7E-C651-454F-A6A3-91EFE59C7B89}.Release|TwinCAT RT (x86).Build.0 = Release|TwinCAT RT (x86)
{3378ED7E-C651-454F-A6A3-91EFE59C7B89}.ReleaseDevelop|Any CPU.ActiveCfg = Release|TwinCAT RT (x86)
{3378ED7E-C651-454F-A6A3-91EFE59C7B89}.ReleaseDevelop|Any CPU.Build.0 = Release|TwinCAT RT (x86)
{3378ED7E-C651-454F-A6A3-91EFE59C7B89}.ReleaseDevelop|TwinCAT CE7 (ARMV7).ActiveCfg = Release|TwinCAT CE7 (ARMV7)
{3378ED7E-C651-454F-A6A3-91EFE59C7B89}.ReleaseDevelop|TwinCAT CE7 (ARMV7).Build.0 = Release|TwinCAT CE7 (ARMV7)
{3378ED7E-C651-454F-A6A3-91EFE59C7B89}.ReleaseDevelop|TwinCAT OS (ARMT2).ActiveCfg = Release|TwinCAT OS (ARMT2)
{3378ED7E-C651-454F-A6A3-91EFE59C7B89}.ReleaseDevelop|TwinCAT OS (ARMT2).Build.0 = Release|TwinCAT OS (ARMT2)
{3378ED7E-C651-454F-A6A3-91EFE59C7B89}.ReleaseDevelop|TwinCAT RT (x64).ActiveCfg = Release|TwinCAT RT (x64)
{3378ED7E-C651-454F-A6A3-91EFE59C7B89}.ReleaseDevelop|TwinCAT RT (x64).Build.0 = Release|TwinCAT RT (x64)
{3378ED7E-C651-454F-A6A3-91EFE59C7B89}.ReleaseDevelop|TwinCAT RT (x86).ActiveCfg = Release|TwinCAT RT (x86)
{3378ED7E-C651-454F-A6A3-91EFE59C7B89}.ReleaseDevelop|TwinCAT RT (x86).Build.0 = Release|TwinCAT RT (x86)
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down Expand Up @@ -5080,7 +5080,7 @@ Global
{3B940703-C1AD-43F4-ADF3-AE7DC417A73C} = {E78C504A-9275-4804-9678-6A55252F04E6}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {D3448A2B-59D1-4DD2-AE4B-0EFF7BC92E81}
RESX_TranslatorConfiguration = {"Azure":"{\"AutoDetectHtml\":true,\"MaxCharactersPerMinute\":33300,\"AuthenticationKey\":null,\"Region\":null,\"IsEnabled\":false,\"SaveCredentials\":false,\"Ranking\":1.0}","Baidu":"{\"AppId\":null,\"SecretKey\":null,\"ApiUrl\":null,\"Domain\":null,\"IsEnabled\":false,\"SaveCredentials\":false,\"Ranking\":1.0}","DeepL":"{\"ApiKey\":null,\"ApiUrl\":\"https://api-free.deepl.com/v2/translate\",\"IsEnabled\":true,\"SaveCredentials\":false,\"Ranking\":1.0}","Google":"{\"ApiKey\":null,\"IsEnabled\":false,\"SaveCredentials\":false,\"Ranking\":1.0}","MSTerm":"{\"IsEnabled\":false,\"SaveCredentials\":false,\"Ranking\":1.0}","MyMemory":"{\"Key\":null,\"Mail\":null,\"IsEnabled\":false,\"SaveCredentials\":false,\"Ranking\":1.0}"}
SolutionGuid = {D3448A2B-59D1-4DD2-AE4B-0EFF7BC92E81}
EndGlobalSection
EndGlobal
57 changes: 18 additions & 39 deletions src/TcoMitsubishiRobotics/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Introduction

The **TcoMitsubishiRobotics** is a set of libraries that cover two product platforms in ABB's manufacturing portfolio: the **IRC5** and the **Omnicore** platform." for the target PLC platform [Twincat](https://www.beckhoff.com/en-en/products/automation/twincat/twincat-3-build-4024/) and [TcOpen](https://github.com/TcOpenGroup/TcOpen#readme) framework.
The **TcoMitsubishiRobotics** is a set of libraries that cover two product platforms in Mitsubishi's manufacturing portfolio: the **CR series** for the target PLC platform [Twincat](https://www.beckhoff.com/en-en/products/automation/twincat/twincat-3-build-4024/) and [TcOpen](https://github.com/TcOpenGroup/TcOpen#readme) framework.

The package consists of a PLC library providing control logic and its .NET twin counterpart aimed at the visualization part.

Expand All @@ -13,42 +13,37 @@ The package consists of a PLC library providing control logic and its .NET twin
## TcoMitsubishiRobotics
### PLC enviroment
---
#### **_Preconditions:_** The **`gsdml`** file(s) should be copied into the subfolder ..\Config\Io\EtherCat\ of the TwinCAT3 instalation folder, before opening Visual Studio. The Profinet interface of the slave device is activated. The file depends on manufacturer of drive. Robot settings needs to by done in settings by RobotStudio sfotware by ABB or directly via robot teach pendant.
#### **_Preconditions:_** The **`gsdml`** file(s) should be copied into the subfolder ..\Config\Io\EtherCat\ of the TwinCAT3 instalation folder, before opening Visual Studio. The Profinet interface of the slave device is activated. The file depends on manufacturer of drive. Robot settings needs to by done in settings by RT ToolBox3 sfotware by Mitshubishi or directly via robot teach pendant.
---

#### **_Preconditions:_** The robot software is part of repository. Use **RobotStudio** to open project. And transfer it to robot.
#### **_Preconditions:_** The robot software is part of repository. Use **RT ToolBox3** to open project. And transfer it to robot.
---

#### Implementation steps.
#### 1. Declare the hardware structures in the Global Variable list (GVL).
```csharp

VAR_GLOBAL
Robot1 : TcoMitsubishiRobotics.TcoIrc5_IO_v_1_x_x;
Robot2 : TcoMitsubishiRobotics.TcoOmnicore_IO_v_1_x_x;
Robot1 : TcoMitsubishiRobotics.TcoCr800_IO_v_1_x_x;
END_VAR
```
#### 2. Build the XAE project.

#### 3. Add Profinet master device, set its network adapter and network parameters.

#### 4. Scann for new Profinet devices, or use already prepared `xti` files and use `Add Existing`. This files are localized in `.\src\TcoMitsubishiRobotics\src\TcoMitsubishiRoboticsConnector\ddf\`. `Robot1.xti` is valid for Irc5 and `Robot2.xti` for `Omnicore`
#### 4. Scann for new Profinet devices, or use already prepared `xti` files and use `Add Existing`. This files are localized in `.\src\TcoMitsubishiRobotics\src\TcoMitsubishiRoboticsConnector\ddf\`. `robot.xti` is valid for `CR series``

#### 5. Connect your Gvl structures with hardware. Refers to bechokff drives documentation if there are some issues, or for guidance how to mapping.

#### 6. Create the Function Block that extends the **`TcoCore.TcoContext`** function block.

#### 7. Inside the declaration part of the function block created, add an instance of the **`TcoMitsubishiRobotics.TcoIrc5_v_1_x_x`** , **`TcoMitsubishiRobotics.TcoSingleAxis`** or **`TcoMitsubishiRobotics.TcoOmnicore_v_1_x_x`**. Add the **`Main`** method into this function block and insert the instances. Call with passing the mapped hardware structure
#### 7. Inside the declaration part of the function block created, add an instance of the **`TcoMitsubishiRobotics.TcoCr800_v_1_x_x`**. Add the **`Main`** method into this function block and insert the instances. Call with passing the mapped hardware structure

```csharp
FUNCTION_BLOCK WpfContext EXTENDS TcoCore.TcoContext
VAR
{attribute addProperty Name "<#Abb IRC 5#>"}
_robot1 : TcoMitsubishiRobotics.TcoIrc5_v_1_x_x(THIS^);
{attribute addProperty Name "<#Abb Omnicore#>"}
_robot2 : TcoMitsubishiRobotics.TcoOmnicore_v_1_x_x(THIS^);


{attribute addProperty Name "<#Mitsubichi Cr800#>"}
_robot1 : TcoMitsubishiRobotics.TcoCr800_v_1_x_x(THIS^);
END_VAR

```
Expand All @@ -58,17 +53,13 @@ END_VAR
```csharp
/IF _serviceModeActive THEN
_robot1.Service();
_robot2.Service();



END_IF
_robot1(
_robot1(inPnIoBoxDiag:=GVL.Robot1.PnIoBoxDiag,
inPnIoBoxState:=gvl.Robot1.PnIoBoxState,
inoData := GVL.Robot1);


_robot2(
inoData := GVL.Robot2);

```

#### 9. In the declaration part of the **`MAIN(PRG)`** create an instance of the function block created in the step 7 according to the example.
Expand Down Expand Up @@ -127,15 +118,15 @@ _wpfContext.Run();
= new TcoMitsubishiRoboticsTestsTwinController(Vortex.Adapters.Connector.Tc3.Adapter.Tc3ConnectorAdapter.Create(TargetAmsId, TargetAmsPort, true));
```

#### 3. Into the container added, insert the **`RenderableContentControl`** and bind its **`DataContext`** to the **` _tcoDriveSimpleTestContext : TcoDriveSimpleTestContext`**, using the **`PresentationType`** of the value **`Service`**.
#### 3. Into the container added, insert the **`RenderableContentControl`** and bind its **`DataContext`** to the **` _tcoTestContext : TcoTestContext`**, using the **`PresentationType`** of the value **`Service`**.
```XML
<vortex:RenderableContentControl Grid.Row="0" DataContext="{Binding MAIN._wpfContext._robot1}" PresentationType="Service"/>
<vortex:RenderableContentControl Grid.Row="0" DataContext="{Binding MAIN._wpfContext._robot2}" PresentationType="Service"/>
```

```


#### 4. After starting the application and expanding the view, final view should look as follows:
```



Collapsed Service view
Expand All @@ -150,7 +141,7 @@ Expanded (detailed info) view

Service view report an error notification

![](assets/robotEstopActive.png)
![](assets/robotErrorActive.png)



Expand Down Expand Up @@ -288,19 +279,6 @@ IF (seq.Step(inStepID := 16,
END_IF;















//
IF (seq.Step(inStepID := 500,
inEnabled := TRUE,
Expand Down Expand Up @@ -386,4 +364,5 @@ IF (seq.Step(inStepID := seq.RESTORE_STEP_ID,
//--------------------------------------------------------
END_IF;

seq.Close();
seq.Close();
```
Binary file not shown.
Binary file modified src/TcoMitsubishiRobotics/assets/robotCollapsed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file modified src/TcoMitsubishiRobotics/assets/robotExpanded.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/TcoMitsubishiRobotics/assets/robotMoveActive.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -180,12 +180,12 @@
<data name="___Invalid_reference____" xml:space="preserve">
<value>Invalid reference: </value>
</data>
<data name="___Waiting_for_Operation_enable_signal____" xml:space="preserve">
<value>Waiting for Operation enable signal! </value>
</data>
<data name="___Waiting_for_Auto_signal____" xml:space="preserve">
<value>Waiting for Auto signal! </value>
</data>
<data name="___Waiting_for_Operation_enable_signal____" xml:space="preserve">
<value>Waiting for Operation enable signal! </value>
</data>
<data name="___Robot_Error_Reset__" xml:space="preserve">
<value>Robot Error Reset</value>
</data>
Expand Down
Loading

0 comments on commit e841abf

Please sign in to comment.