cancel
Showing results for 
Search instead for 
Did you mean: 

Question - SendSignal and GetSignalValue Methods of TxRobotSimulationEngineServicesProvider class

Genius
Genius

Hello,

 

I some questions regarding these two Methods.

1. Do these methods have the funktionality as the Methods krc_wait_signal and krc_send_signal in Robcad? (e.g. VKRC1.pm module)

2. Do these methods work in Standard Mode? Would it be possible to send signals from one robot to another one?

 

 

 

2 REPLIES

Re: Question - SendSignal and GetSignalValue Methods of TxRobotSimulationEngineServicesProvider clas

Siemens Phenom Siemens Phenom
Siemens Phenom

If you are talking of the simulation API by themselves (so you are developing a controller simulation), SendSignal will not send a signal directly to the robot but to the PLC. To send a signal to a robot, you need to use SendSignalToRobot method in this same class.

 

SendSignal makes sense only in LineSimulation. SendSignalToRobot will also work in Standard mode.

 

GetSignalValue will work in both modes, wherever the signal is coming from (from the PLC or directly from another robot). It will retrieve the value of a signal, it will not wait for anything.

Re: Question - SendSignal and GetSignalValue Methods of TxRobotSimulationEngineServicesProvider clas

Genius
Genius

Thank you very very much, Gilles!