7 DATA COMMUNICATIONS USING BIDIRECTIONAL PROTOCOL
7.3Processing when Simultaneous Transmission Performed During
This section explains the processing when simultaneous transmissions occur in full- duplex communication.
7.3.1 Processing when simultaneous transmissions occur
This section explains the processing performed by the Q series C24 when the external device and the Q series C24 transmit at the same time during data communications using the bidirectional protocol.
Since the external device and the Q series C24 do not transmit at the same time during
When an external device and the Q series C24 transmit at the same time, the Q series C24 processing depends on the setting of "Simultaneous transmission data valid/invalid designation" with GX
The GX
Simultaneous transmission data valid/invalid designation area (addresses: 9BH/13BH) The Q series C24 communication data processing for each setting is described in Section 7.3.2.
Setting contents | Value set to buffer memory | Q series C24 processing contents | ||
with GX | (Address 9BH/13BH) | Message transmit processing | Message receive processing | |
|
| Waits to receive the response message | Transmits a response message | |
|
| after data reception | ||
Transmission data: Valid |
| transmission | Posts the receive data and receive | |
0000H | Posts normal end or abnormal end | result to the PLC CPU through the | ||
Receive data: Valid | ||||
| according to whether or not the PLC | buffer memory. | ||
|
| |||
|
| CPU received a response message |
| |
|
| through the buffer memory. |
| |
|
| Posts a simultaneous transmission error | Transmits a response message | |
Transmission data: Invalid |
| to the PLC CPU through the buffer | after data reception | |
0100H | memory after data transmission | Posts the receive data and receive | ||
Receive data: Valid | ||||
| Does not wait for a response massage | result to the PLC CPU through the | ||
|
| |||
|
| buffer memory. | ||
|
| Waits to receive the response message | Ignores data reception | |
|
| discards the received data. | ||
Transmission data: Valid |
| transmission | Does not transmit a response | |
0001H | Posts normal end or abnormal end | message | ||
Receive data: Invalid | ||||
| according to whether or not the PLC | Does not inform the PLC CPU that | ||
|
| |||
|
| CPU received a response message | data was received. | |
|
| through the buffer memory. |
| |
|
| Posts a simultaneous transmission error | Ignored data reception | |
|
| to the PLC CPU through the buffer | discards the receive data. | |
Transmission data: Invalid | 0101H | memory after data transmission | Does not transmit a response | |
Receive data: Invalid | Does not wait to a response massage | message | ||
| ||||
|
| Does not inform the PLC CPU that | ||
|
|
| data was received. |
(
7 - 24 | 7 - 24 |