User`s manual

366
16.3 Communication Data Monitoring Example
The following is an example of the data monitoring of nonprocedural protocol communication.
(1) System configuration
The system configuration for the sample program is as shown below.
The CH used for operation of this sample program is CH1 only.
(2) Program condition
This is a program to monitor transmitted data from CH1 of the QJ71C24N-R2 with user instructions.
(a) GX Developer switch setting
(b) Devices used by the user
Monitor start instruction signal: X20
Monitor option specification signal: X21
Monitor stop instruction signal: X22
During monitor start instructions: M20
During monitoring: M21
During monitor stop instructions: M22
Communication data monitoring specification area storage condition: D300
Monitor option specification area storage condition: D301
Switch number Setting value
Switch 1 07C2
Switch 2 0006
Switch 3 07C2
Switch 4 0006
Switch 5 0000
GX Developer QJ71C24N-R2
CH1: Transmission channel
CH2: Reception channel