12.07.2015 Views

RAPID reference manual - Technology

RAPID reference manual - Technology

RAPID reference manual - Technology

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

InstructionGetSysDataRobotWare-OSGetSysData - Get system dataGetSysData fetches the value and optional symbol name for the current system data ofspecified data type.With this instruction it is possible to fetch data for and the name of the current activeTool, Work Object or PayLoad (for robot).ExamplePERS tooldata curtoolvalue := [TRUE, [[0, 0, 0], [1, 0, 0, 0]], [0, [0, 0, 0], [1, 0, 0, 0], 0, 0, 0]];VAR string curtoolname;GetSysData curtoolvalue;Copy current active tool data value to the persistent variable curtoolvalue.GetSysData curtoolvalue \ObjectName := curtoolname;Copy also current active tool name to the variable curtoolname.ArgumentsGetSysData DestObject [\ ObjectName ]DestObjectData type: anytypePersistent for storage of current active system data value.The data type of this argument also specifies the type of system data (Tool, WorkObject or PayLoad) to fetch.[\ObjectName]Data type: stringOption argument (variable or persistent) to also fetch the current active systemdata name.<strong>RAPID</strong> <strong>reference</strong> <strong>manual</strong> - part 1a, Instructions A-R 121

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!