cancel
Showing results for 
Search instead for 
Did you mean: 

Get resource assigned to signal

Valued Contributor
Valued Contributor

Hi

 

Does anyone know of how to get the assigned device of a signal. I see there is PlcResource property but this is for team center and not the EMS type and I have tested it and it is not loaded.

 

Thanks

1 REPLY

Re: Get resource assigned to signal

Siemens Phenom Siemens Phenom
Siemens Phenom

Hi RobSimCoder,

 

Currently such property is not available in the API, but we will consider adding it in the next versions. What you can do is to implement your own method that will find the matching device, sensor or generic conveyor.

You can get the signals out of the devices and other PLC Resources and then check against your signal:

ITxDevice exposes the Signals property.

ITxPlcSensor exposes the Signal property.

ITxPlcGenericConveyor exposes the Signal property.

 

Best Regards,

DianaG