Skip to main content
Skip table of contents

get_tcp_list()

Features

Returns all currently registered TCP information for the current safety setting parameter.

Parameters

None

Return

Value

Data Types

Description

ret

class.config_tcp_list

All registered TCP information

Class

class.config_tcp_list
FieldData TypesDescription

obj

listObject information for that class

count

int

Number of registered TCPs

tcp_list

class.config_tcp_symbol[50]

Registered TCP information (up to 50)

class.config_tcp_symbol
FieldData TypesDescription

obj

listObject information for that class

symbol

string

TCP name

tcp

class.config_tcp

TCP details

class.config_tcp
FieldData TypesDescription

obj

list

Object information for that class

target_pos

float[6]

Target location

Example

PY
ret = get_tcp_list()
 
for i in range(0, ret.count):
    print(ret.tcp_list[i].symbol)
    print(ret.tcp_list[i].tcp.target_pos)

Related commands

  • None
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.