Mitsubishi Electric R60AD8-G User Manual page 78

Melsec iq-r series channel isolated analog-digital converter module
Table of Contents

Advertisement

Setting procedure
To use the logging read function, both the logging read function and the interrupt setting must be set.
1.
Set "Condition target setting" to "Logging read".
[Navigation window]  [Parameter]  [Module Information]  Module model name  [Module Parameter]  [Interrupt
setting]
2.
Set "A/D conversion enable/disable setting" to "A/D conversion enable".
[Navigation window]  [Parameter]  [Module Information]  Module model name  [Module Parameter]  [Basic
setting]  [A/D conversion enable/disable setting]
3.
Set "Logging enable/disable setting" to "Enable".
[Navigation window]  [Parameter]  [Module Information]  Module model name  [Module Parameter] 
[Application setting]  [Logging function]
4.
Set the target data to be logged in "Logging data setting".
5.
Set the cycle to store the logging data to "Logging cycle setting value".
6.
Set "Read interrupt enable/disable setting" to "Enable".
7.
Set the number of logging points that generate a read interrupt in "Logging read points setting value".
Setting example
Ex.
When an interrupt program that is executed when the data of 'CH1 Logging read points monitor value' (U0\G440) is logged is
assigned to the interrupt pointer I50
• Label settings
Classification
Label name
Module Label
RCPU.stSM.bAfter_RUN1_Scan_ON
R60ADG_1.unInterruptFactorMask_D[0].0
R60ADG_1.unInterruptFactorDetectionFlag_D[0].0
R60ADG_1.unInterruptFactorResetRequest_D[0].0
R60ADG_1.stnMonitor_D[0].wThisLoggingLoadPointer_D
R60ADG_1.stnMonitor_D[0].uLoggingLoadPointsMonitorValue_D
Labels to be
Define global labels as shown below:
defined
1 FUNCTIONS
76
1.12 Logging Function
Description
ON for one scan after RUN
Interrupt factor mask
Interrupt factor detection flag
Interrupt factor reset request
CH1 Current logging read pointer
CH1 Logging read points monitor
value
Device
SM402
U0\G124
U0\G4
U0\G156
U0\G438
U0\G440

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

R60ad16-g

Table of Contents