IDENT-I • IVI-KHA6-4HRX, IVI-KHD2-4HRX
Operating control interface units using the 3964R protocol
Subject to reasonable modifications due to technical advances. Copyright Pepperl+Fuchs, Printed in Germany
epperl+Fuchs Group • Tel.: Germany (06 21) 7 76-0 • USA (330) 4 25 35 55 • Singapore 7 79 90 91 • Internet http://www.pepperl-fuchs.com
Date of issue 27.08.2001
40
8.1.5 Data exchange via 3964R with RK512 involving SEND messages
The commands are transmitted in the form of data contained in a SEND message.
Responses to the command received are transmitted to the control system via a
SEND-message. The possible responses to a command are as follows:
• Fixed code command: Codes, error messages
• Read/write commands: Data, error messages, negative acknowledgment of a write
command
• Operating mode commands: Positive or negative command acknowledgment
The message parameters in the response message are obtained from the initializing
SEND message. This gives the user the opportunity to place the required data in the
appropriate address space. The following parameters are required from the initializing
SEND message:
The only restriction is in relation to the data type. The data can be transmitted in a
single data block only. Accordingly, send and receive data are organized in words. If
the selected data format has a data length consisting of an odd number of bytes, a
byte, value 00h, is added. The same applies to the transmission of a command from
the control system to the control interface unit.
Example: "Double-sided" read command
Data transmitted to the control interface unit: 02 00
Communication errors or errors relating to the message structure are transmitted in
the 4th character of the response message.
Bild 8.7: Error numbers for message errors
8.1.6 Data exchange without the RK512 Interpreter
The command and data structure are the same as when using the protocol with the
RK512. The RK512-specific message header and message exchange sequence are
not used.
Parameter Permissiblerange
Number of target data block 3 ... FFh
Start address in target data block 0 ... FFh
CPU number any
Coordination marker FFFFh
Value Significance
0Ch The data type specified is not valid
10h Bytes 1 and 2 of the message were not 00h
14h The data block specified is not permissible
34h The quantity of data sent was incorrect
36h Incorrect message sequence