SLAVEREG

Start of the area in the addressed slave to which the source data is written. The source area always resides within the %MW address area.

NOTE: For slaves for a non-Control Expert PLC:

The destination area always resides within the 4x register area. SLAVEREG expects the target address as an 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 registers to be written to slave processor (1 ... 100). The parameter can be entered as an address, located variable, unlocated variable or literal.

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.

REG_WRIT

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.