Skip to main content

Tab: Sercos Slave – User Parameter

Object: Sercos Slave

On this tab, you define additional parameters which are transmitted once only into the bus system during the phase of the starting procedure allotted to this. Most of these parameters can be configured only in communication phase 2. The device documentation will indicate where a parameter can be configured.

Table 6. Initialization Phase 2 - 4

To change a parameter, double-click its value.

Column

Phase in which the parameters can be transferred

IDN.SI.SE

32-bit identification number

Name

Name of object

Value

Value of the object

Length

Data length of the object

Abort on Error

  • standard icon: In case of error, the entire transmission of the parameters is aborted.

  • standard icon: In case of error, the program resumes with the line specified in the Next Line column. In this way, an entire block can be skipped, or a return can be defined.

    Note that a return may lead to an infinite loop if the same parameter can never be written.

Comment

Add

Opens the Select item from object directory selection view. There you can add a new parameter for the selected phase.

Edit

Opens the Select item from object directory selection view to change the selected line.

Delete

Deletes the selected line from the list.

Move Up

Move Down

By clicking the Move Up and Move Down buttons, you change the parameter order in the list. A multiple selection is possible here. The order of the parameters in the list corresponds to the order at the initialization.



Dialog: Select item from object directory

The dialog provides a list of objects that have been imported from the device description file. You select the parameters from this list for the individual phases. Clicking an entry copies the data to the lower part of the dialog. Then you can edit the Value and Data mask fields.

As an alternative to selecting from the list, you can type in all data that composes the complete 32-bit identification number (IDN.SI.SE).

Caution

When individual values are entered, a plausibility check is not performed. Any errors are identified only when the bus is started and they are reported with a message in the log file.

Name

Name of object

IDN

Identification number

S

Type of parameter

  • S: default parameter

  • P: manufacturer-specific parameters.

This information reserves the first bit of the IDN.SI.SE.

P

PSet

Parameter set. The value range is 0–7 and reserves the next 3 bits of the IDN.SI.SE.

FG

The FG offset reserves the next 12 bits, resulting in a value range of 0 – 4095.

SI

Structure instance with 8 bits (value range 0 – 255).

SE

Structure element with 8 bits (value range 0 – 255).

Type

Data type of the value in the Value field.

Value

Value of the object

Edit value as list

standard icon You can type in several comma-separated values in the Values field.

Data mask

Data for masking the value

Command

  • Write: You can set a value and a data mask. If you do not set a data mask, then the value is written directly.

    If you do set a data mask, first the current value is read from the slave and linked with the AND data mask. The same linking occurs with the configured value and data mask. Both results are then linked with OR and the result is written to the slave.

  • Read/Compare: The current value is read by the slave and compared with the configured value. If you do not set a data mask, then the comparison for equality is provided without further calculation.

    If you do set a data mask, first the current value is read from the slave and linked with AND. The same calculation occurs with the configured value and data mask. The results are compared. If a difference is detected, then either the command is canceled or the line is skipped depending on the defined error behavior.

  • Execute: The data type, value, and data mask are ignored and a procedure command (for example, reset IDN99 error) is executed on the slave.

Command Order

  • Before: The user-defined parameters are placed before the module parameters in the command order.

  • After module: The user-defined parameters are placed after the module parameters in the command order.

Example dialog: User Parameter

Depending on the device description, the dialog has the following appearance:

_serc_img_slave_user_parameter.png

Symbolic values (1) Shows the symbolic value instead of the numeric value.

Defaults (2): Reset to default settings.

Double-clicking the Value column (3) opens a list box with the defined parameter values. For some parameters, a user-defined value can be entered into the input field. If a predefined value is selected, then the input field is disabled.