TeachIn (3D-robot) extension

Alles rund um TX(T) und RoboPro, mit ft-Hard- und Software
Computing using original ft hard- and software
Forumsregeln
Bitte beachte die Forumsregeln!
Antworten
vleeuwen
Beiträge: 1188
Registriert: 31 Okt 2010, 22:23
Wohnort: Enschede (NL)

TeachIn (3D-robot) extension

Beitrag von vleeuwen » 04 Mai 2020, 23:54

Yesterday I have finished my prototype for reading/writing contents of 5 RoboPro list elements to the TXT Data map.
=======================================================================
Example about the use of a SLI for reading and writing to the TXT Data map.
I develop this SLI and RoboPro program for a TeachIn Robotor with a TXT as controller.
I also add a 5th RoboPro LIST element for a wait time after a position change.
The SLI write/read can use with more files.
The coordinates are stored as TXT which can also edit manually.
This works in both the on-line and off-line mode.
In fact the SLI can deal with 1 up to 5 RoboPro list element, a Dim-x cooridinate (vector) [x= 1..5]
I also develop a workaround for the RoboPro "on-line 5sec SLI" bug.
Impression:
Read from file 2.txt and write to file 3.txt
The main, this fits in into the teachIn software
The main, this fits in into the teachIn software
ExtTeachin_01(main).PNG (17.93 KiB) 248 mal betrachtet
Empty and fills the list elements.
Optional it is also possible to add a set of coordinates to the existing one in the Lists.
Including some basic error handeling.
The write to the TXT Data map
The write to the TXT Data map
ExtTeachin_02(read).PNG (39.6 KiB) 248 mal betrachtet
Write the content of the List elements as coordinate to a collection as text (CSV, each line one coordinate)
Including some basic error handeling.
The read from the TXT Data map
The read from the TXT Data map
ExtTeachin_03(write).PNG (29.24 KiB) 248 mal betrachtet

vleeuwen
Beiträge: 1188
Registriert: 31 Okt 2010, 22:23
Wohnort: Enschede (NL)

Re: TeachIn (3D-robot) extension

Beitrag von vleeuwen » 14 Mai 2020, 20:30

Version2 of the SLI:
selectable: dimension 3, 4 or 5 (4 is for the normale TeachIn software).
append to or overwrite the file
Skis empty lines in the input file.
The text file are stored in the TXT Data area.

Example of a file with coordinates (dimension =4)

Code: Alles auswählen

20,45,5,45
10,25,100,35
80,100,56,0
RoboPro code that is using the SLI.
main
main
ExtTeachin_A01(main).PNG (43.6 KiB) 133 mal betrachtet
write
write
ExtTeachin_A03(write).PNG (36.15 KiB) 133 mal betrachtet
read
read
ExtTeachin_A02(read).PNG (44.96 KiB) 133 mal betrachtet

Antworten