Connect TXT Controller to another TXT Controller

fischertechnik in General
Forumsregeln
Bitte beachte die Forumsregeln!
Antworten
chrichr
Beiträge: 5
Registriert: 18 Feb 2021, 12:19

Connect TXT Controller to another TXT Controller

Beitrag von chrichr » 18 Feb 2021, 12:25

Dear fellow-FT enthusiasts,
I am new to FT and currently trying to understand how to connect the TXT controller of the "TXT Discovery Set" to the one from "Robotics TXT Automation Robots". What I am trying to achieve is to make those two collaborate so for example the 3-axis Robot starts moving only when the Discovery Robot is at the end point of its trail. Something similar to the way the Learning Factory 4.0 works. Is there any way to do something like this? I searched online but I couldn't find any relevant information. Any help would be extremely appreciated.
Best, Christos

Torsten
Beiträge: 324
Registriert: 29 Jun 2015, 23:08
Wohnort: Gernsheim (Rhein-Main-Region)

Re: Connect TXT Controller to another TXT Controller

Beitrag von Torsten » 19 Feb 2021, 18:08

Dear Christos,

there are different possible ways to couple two TXTs:

1. Connecting two TXTs via 10-pin extension cable and operating tem in Master-Slave mode.

2. Connecting both TXTs to the same Wireless Network (this wireless network could also be provided by one of the TXTs in AccessPoint-Mode) and have them communicate via POSIX sockets.

3. Connecting both TXTs to the same Wireless Network (this wireless network could also be provided by one of the TXTs in AccessPoint-Mode) and control one TXT from the other. This is a bit similar to 1. in that only one of the TXTs is running a program, without using the Master - Slave mode but using the ROBOPro socket protocol.

Variant 1. can be used with ROBOPro, Python or C++
Variant 2. and 3. can only be used with Python or C++ (ROBOPro does not support posix-socket communication, it only provides an interface to that)

Of course you could also use some sensor signal. E.g. a light barrier connected to the TXT-Automation-Robot that will give a signal when the TXT-Discovery-Set passes through. You could set the light barrier at the end of the TXT-Discovery-Set's trail.

Best wishes,
Torsten

Antworten