C.1.3 checking the data – Festo Электромотор MTR-DCI User Manual

Page 283

Advertising
background image

C. The Command Interpreter (CI)

C-9

Festo P.BE-MTR-DCI-DN-EN en 1209a

C.1.3

Checking the data

Invalid values

Transferred parameters and values are checked by the MTR-
DCI before being accepted. In the case of invalid parameters
or values, no error message will appear in the response, the
values transferred are always returned.

Note
The following applies when writing to the objects:

– Discrete values (values from a value list):

A non-permitted value is not accepted, the existing valid
value is retained.

– Continuous values (values from a continuous interval):

A non-permitted value is limited to the next permitted
minimum or maximum value.

Recommendation:
Check that values and parameters have been written correctly
by downloading the current contents of the parameter or
value with one of the following Read commands.

Transmission error

If a transmission error occurs between a higher-order con-
troller and the MTR-DCI, instead on the normal response the
value <0x00FF> is transmitted (see object 2FF0).

Possible causes:

Incorrect initial character, separating character or empty
character

Incorrect hex digit

Incorrect value type

Checksum <PS>

The higher-order controller must compare the sent command
with the “echo” from the MTR-DCI and evaluate its checksum.
Optionally, an additional checksum comparison by the
MTR-DCI for received commands can also be activated
(CI object 20F3h). The higher-order controller must then
insert a checksum before the termination character (CR =
Carriage return).

Advertising