MPCIB 396 P6
mect s.r.l.
ME3025_13 03/21
33
5.1 DATA READING FROM HOST TO INSTRUMENT MPCIB396 P6
Transmission string set-up.
EOT GID GID UID UID C1 C2 ENQ
EOT = EOT from host indicates start of transmission string
GID = Instrument address: ASCII in decimal code to transmit twice consecutively
UID = Instrument address: in units ASCII to transmit twice consecutively
C1 C2 = mnemonic ASCII code for command to follow (see paragraph “command
codes”).
EXAMPLE: data transmission string from host to MPCIB396 P6 with address "01"
for data request "PRESET" (PR).
EOT 0 0 1 1 P R ENQ
04 30 30 31 31 50 52 05 cod. ASCII
The instrument, as soon as receives the first string code transmitted by the host,
leaves 400 ms. during which it waits for the completion of the transmission
operation. When the 400 ms. operation finishes, or when the data reception is
complete, the instrument, depending on the information received, can behave in the
following ways :
1.
If the data string received presents errors which do not allow address identification
then the instrument cannot reply and rejects the information received.
2.
The string has a correct address code but it detects other errors: in this case the
instrument transmits the ASCII code: NACK (not understood) and rejects the
information received.
3.
The received data string is totally correct, in this case the instrument transmits the
data requested in ASCII format. (see paragraph “DATA TRANSMISSION FROM
MPCIB396 P6 TO HOST”)
4.
When the complete message is not received before "timeout" (400 ms), the
instrument rejects the information received and is ready to receive a new message.
5.2 DATA TRANSMISSION FROM MPCIB396 P6 TO HOST
Transmission String configuration
STX C1 C2 D1 . . . . D8 ETX BCC
STX = text beginning
C1 C2 = mnemonic code ASCII relative to command to follow. (see paragraph
“command codes”).