Registers and I/O handling

Get variable

Function

Properties

Values

Comments

GET


Index

HEX

Check EMCL manual to see the different registers available and their meaning.

Subindex

SET VARIABLE

The registers freely available to write data to are called 'General Purpose Registers'. Please check the EMCL documentation for more information on which registers are available (see below).

Function

Properties

Values

Comments

SET


Index

HEX

Check EMCL manual to see the different registers available and their meaning.

Subindex

Operation

  • Constant

  • Variable

  • Add

  • Subtract

  • Divide

  • Multiply

  • Absolute

  • Complement

  • AND

  • OR

  • XOR

  • Shift Left

  • Shift Right

A variable can be set using a constant value or by operating using different functions with another variable.

The different operations will enable additional properties to be set.

Example:

This macro reads the current mode of operation (Get) and 'Set' it to profile torque.

Get variable.JPG

Set variable.JPG

EMCL registers

For more information about the internal registers and their functionality, check the online document EMCL Registers

Set Output

Function

Properties

Values

Comments

SET OUTPUT


Output

  • Digital

  • Analog

Select output type

Number of available I/Os depends on servo drive model

Digital / Analog value

  • On

  • Off

  • Analog value

Analog value is a constant number