394
20 USING SEND/RECEIVE DATA MONITORING FUNCTION
20.3 Send/receive Data Monitoring Example
20.3 Send/receive Data Monitoring Example
The following shows an example of the send/receive data monitoring for communication using the nonprocedural protocol.
System configuration
The system configuration for the program example is as shown below.
The CH used for operation of this sample program is CH1 only.
Program example for send/receive data monitoring
■Parameter settings
■Program example
Setting item Setting content
CH1 CH2
Basic
settings
Various control
specification
Test mode setting CH2: Not used
Communication protocol setting Nonprocedural
protocol
Communication speed setting 19200 bps
Transmission setting Operation setting Independent
Data bit 8
Parity bit None
Odd/even parity Odd
Stop bit 1
Sum check code None
Online change Enable
Setting change Enable
Station number setting (CH1, 2 in common: 0 to 31) 0
Category Label name Description Device
Module label C24_1 Module
C24_1.stnCH1.uSet_DataMonitoring_D CH1_Send/receive data monitoring
designation
U0\G8216
C24_1.stnCH1.uSet_MonitoringDataOptional_D CH1_Monitor option specification U0\G8217
Label to be defined Define the global label as shown below.
CH1: Transmission channel
CH2: Reception channel
Engineering tool RJ71C24