How to make two or more robots dependent on each other?

You can use IN[port] and OUT[port] to use signals in expressions.