Communication between multicode reader O2I1xx and Siemens Simatic S7
18
The "read_conf" and "read_stat" inputs send the corresponding status query to the
multicode reader with each positive edge� In addition the receive buffer is deleted�
The received data is read byte-by-byte from the CP and then stored consecutively
in the receive buffer�
The length of the receive buffer is defined variably as ANY pointer and can be
extended or reduced according to the respective requirements�
For the serial coupling there is an additional intermediate buffer for the telegram
to be sent and the telegram to be received� Stored here in DB200, parameters
can be set at the inputs SEND_DB_BUF, SEND_DBB_NO, RECV_DB_BUF and
RECF_DBB_NO�
The character string received from the configuration software after the start and
end characters have to be evaluated externally�