EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-RJ71C24-R2 - Send;Receive Data Monitoring Operation

Mitsubishi Electric MELSEC iQ-RJ71C24-R2
574 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
388
20 USING SEND/RECEIVE DATA MONITORING FUNCTION
20.1 Send/receive Data Monitoring Function
Send/receive data monitoring operation
The following describes the send/receive data monitoring operation.
When using the send/receive data monitoring function, the total transmission speed of the two interfaces
should not exceed 230400 bps.
Start monitoring
Write the monitor start instruction "0001H" to the send/receive data monitoring designation (Un\G8216/8472). (Set by user)
By the monitor start instruction, the monitor data pointer/monitor data size area are cleared to '0' and "0002H" is written in
the send/receive data monitoring designation area to start monitoring. (Set by C24)
Monitor data area (Un\G9730 to 13055/13058 to 16383 (default)) is not cleared to '0'.
When a monitor setting error occurs, "100FH" is written to the send/receive data monitoring designation area. (Set by C24)
Review the monitor buffer start address and the monitor buffer size setting range and perform monitoring again.
During monitoring
Once monitoring starts, data of reception, transmission, data reception error, and signal change are stored from the start
address of the monitor data area in the order of occurrence.
When the monitored data exceeds the monitor data area size, monitoring is continued by writing new data over the oldest
data.
However, monitoring may automatically stop according to the settings of the 'Monitor option specification' (Un\G8217/
8473). (Page 391 Monitor option specification (Un\G8217/8473))
Each data is stored in the monitor data area at the timing shown below.
Data classification Data storage timing
Receive data When data is received
Send data When data is transmitted
Reception error data When a reception error is detected
RS-232 line RS (RTS), ER (DTR) signals When the RS (RTS), ER (DTR) signals change
CS (CTS), DR (DSR), CD (DCD)
signals
When signal changes are detected during the periodic processing (operation interval: 1 to 19 ms) and at
the each timing described above (Monitoring is not performed to changes during the periodic processing)
0003H
0CFEH
+0
+1
+2
+3
Buffer memory
(CH1 side)
Un\G9728
Monitor data pointer storage area
Monitor data count storage area
Un\G9729
Un\G9730
Un\G9731
Un\G9732
Un\G9733
Oldest data
Un\G9734
Monitor data area
Un\G13055
(Default value)
to

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-RJ71C24-R2

Related product manuals