24
Pipe ID Control System. RF096-35/55-100 Series
RF096-35/55-100 [Revision 1.0.0] 12.12.2018
5
Length
Fixed data length (High byte).
6
Fixed data length (Low byte).
7
0~255
Interval time between the two batches of the data.
8
0~255
Timeout value.
9~384
Data
Output data to COM port.
12.3.1. Data output command (byte 1)
The PROFINET IO Controller is cyclically polling the I-7580 module. The PROFINET
IO Controller sends data from its output buffer to the input buffer of the converter. If no new
data is put on the PROFINET IO Controller output buffer, the PROFINET IO Controller sends
the same data in each polling cycle. Therefore, it is necessary for the converter to detect
whether the data arriving at its PROFINET IO device input buffer has already been sent
before or is new. The converter recognizes a new data packet when the value of the first
byte differs from the previous data packet. A change of the first byte results in an immediate
output of the newly arrived data (at the PROFINET IO device input buffer) to the serial COM
port.
When the user wants to send a new data packet to the converter, the user should
increase progressively the first byte (ex: 0->1, 1->2, 2->3, …, 255->0), and the converter will
send the new data packet to the serial COM port. If the user changes the first byte but
doesn’t increase progressively it (ex: 0->2, 1->3, 2->5), the converter will send a diagnostic
message "Output data - data loss". This message informs the user that the PROFINET data
may be loss.
ATTENTION!
The converter will send no data to the connected serial devices if the content of the first byte of
two consecutive PROFINET messages is identical. Even if the remaining bytes differ, no
message will be forwarded to the COM port. The converter detects a new data packet only by
checking the first byte.
12.3.2. Control bit (byte 2)
Bit 0: When this bit is set, all diagnostic messages sent by the I-7580 module will be
cleared.
Bit 1: When this bit is set, the I-7580 module sets the
Received data count
to zero
(please refer to section "PROFINET Input Data Area").
Bit 2: When this bit is set, the I-7580 module sets the
Transmitted data count
to
zero (please refer to section "PROFINET Input Data Area").
Bit 3~7: The remaining bits have to be set to zero.
12.3.3. Output data length (byte 3, byte 4)
The default value for the output data length is 0. It has to be set for every single
output command, otherwise no data will be sent to the COM port.
These two bytes determine the number of bytes copied from the I-7580 PROFINET
IO device input buffer to the COM port output buffer. This means that regardless of the data
length sent by the master, only the number of bytes specified in the third byte will be
forwarded to the COM port.