12.07.2015 Views

RAPID reference manual - Technology

RAPID reference manual - Technology

RAPID reference manual - Technology

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

InstructionAliasIOAdvanced <strong>RAPID</strong>AliasIO - Define I/O signal with alias nameAliasIO is used to define a signal of any type with an alias name or to use signals inbuilt-in task modules.Signals with alias names can be used for predefined generic programs, without anymodification of the program before running in different robot installations.The instruction AliasIO must be run before any use of the actual signal. See example 1below for loaded modules and example 2 below for builtin modules.Example 1VAR signaldo alias_do;PROC prog_start()ENDPROCAliasIO config_do, alias_do;The routine prog_start is connected to the START event in system parameters.The program defined digital output signal alias_do is connected to the configureddigital output signal config_do at program start (start the program frombeginning).ArgumentsAliasIOFromSignalFromSignal ToSignalData type: signalxx or stringLoaded modules:The signal identifier named according to the configuration (data type signalxx)from which the signal descriptor is copied. The signal must be defined in the IOconfiguration.Built-in modules:A <strong>reference</strong> (CONST, VAR, PERS or parameter of these) containing the name ofthe signal (data type string) from which the signal descriptor after search in thesystem is copied. The signal must be defined in the IO configuration.<strong>RAPID</strong> <strong>reference</strong> <strong>manual</strong> - part 1a, Instructions A-R 7

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

Saved successfully!

Ooh no, something went wrong!