Mitsubishi Electronics MR-J3 ユーザーズマニュアル

ページ / 668
 
 
3 -  34 
3. CC-LINK COMMUNICATION FUNCTIONS 
 
3.6 Data communication timing charts 
3.6.1 Monitor codes 
(1) When 1 station is occupied 
Data HOLD
ON
OFF
Monitor 1
(RWwn)
Monitor 2
(RWwn+1)
Monitor execution
demand (RYn8)
ON
OFF
Monitoring
(RXn8)
Monitor 1 data
(RWrn)
Monitor 2 data
(RWrn+1)
Respond code
(RWrn+2)
 
Set the monitor codes (refer to section 3.5.3) to Monitor 1 (RWwn) and Monitor 2 (RWwn+1) and turn Monitor 
output execution demand (RYn8) to ON. Turning Monitor execution demand (RYn8) to ON sets the next data. 
Data are all hexadecimal numbers. At this time, Monitoring (RXn8) turns to ON at the same time. 
 
Monitor data 1 (RWrn): Data demanded by Monitor 1 (RWwn) 
Monitor data 2 (RWrn+1): Data demanded by Monitor 2 (RWwn+1) 
 
For 32-bit data, set the lower 16 bits of the monitor code to Monitor 1 (RWwn) and the upper 16 bits to Monitor 
2 (RWwn+1) and read them simultaneously. 
The monitor data set to the remote register are always updated while Monitor execution demand (RYn8) is ON. 
When Monitoring (RXn8) turns to OFF, the data set to Monitor data RWrn, RWrn+1 are held. If the monitor 
code not in the specifications is set to either Monitor 1 (RWwn) or Monitor 2 (RWwn+1), the corresponding 
error code (
1) is set to respond code.