Festo Электромотор MTR-DCI User Manual

Page 145

Advertising
background image

B. Supplementary information

B-9

Festo P.BE-MTR-DCI-IO-EN en 1209d

Note
The following applies when the objects are written:

– Discrete values:

A non-permitted value will not be accepted, the previ-
ously valid value will be retained.

– Concrete values (e.g. lengths, speeds, etc.):

A non-permitted value will be limited up to the next
permitted minimum or maximum value.

READ (R)

Read commands (R) transfer a value from the MTR-DCI. The
reply from the MTR-DCI controller contains the value read. A
checksum <PS> will be inserted in front of the <CR>.

All commands are entered as a character sequence without
any empty spaces. A hex character corresponds to a Char
character in hex format.

Acc

Command

Reply

W

=IIIISS:<value>CR

=IIIISS:<value> <PS> <CR>

R

?IIIISS<CR>

=IIIISS:<value> <PS> <CR>

W = write
R = read

Syntax

Explanation

“=”, “?”

Starting character for Write or Read commands

IIII

Index in 4 hexadecimal figures (4H)

SS

Subindex in 2 hexadecimal figures (2H)
If the addressed Object does not have an indexed
parameter, subindex <00> will be specified.

“:”

Separating character

<Value>

Data in a format depending on data type

<PS>

Checksum in 2 hexadecimal figures (2H)

<CR>

End character <Carriage Return> ($0D)

Advertising