SLAVEREG
Start of the area in the addressed slave from which the source data is read. The source area always resides within the %MW register area.
The source area always resides
within the 4x register area. SLAVEREG
expects the
source reference as offset within the 4x area. The leading "4" must
be omitted (e.g. 59 (contents of the variables or value of the literal)
= 40059).
The parameter can be entered as an address, located variable, unlocated variable or literal.
NO_REG
Number of addresses to be read from the addressed slave (1 ... 100).
The parameter can be entered as an address, located variable or unlocated variable.
REG_READ
An ARRAY
that is the same size as the requested
transmission must be agreed upon (≥ NO_REG
) for this parameter. The name of this array is defined as a parameter.
If the array is defined too small, then only the amount of data is
transmitted that is present in the array.
The parameter must be defined as a located variable.
STATUS
If an error occurs while the function is being executed, an error code remains at this output for one cycle.
The parameter can be entered as an address, located variable or unlocated variable.