Mitsubishi Electric MELSEC iQ-R Series Manual page 13

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

• Logging data can be stored into the file register using M+R60ADH_ReadContinuousLogging of the R60ADH4 and other
FBs. When using M+R60ADH_ReadContinuousLogging, set the value as follows. For details on
M+R60ADH_ReadContinuousLogging, refer to the following.
 MELSEC iQ-R Analog-Digital Converter Module/Digital-Analog Converter Module Function Block Reference
Ex.
The following shows an example when the logging data of two channels is stored in an SD memory card.
M+R60ADH_ReadContinuousLogging
B:i_bEN
DUT:i_stModule
(1)
UW:i_uCH
(2)
UD:i_udDataAddr
UW:i_uReadPoints
(3)
M+R60ADH_ReadContinuousLogging
B:i_bEN
DUT:i_stModule
UW:i_uCH
UD:i_udDataAddr
UW:i_uReadPoints
M+FileOperation_SaveLoggingCSV_W_R
B:i_bEN
UD:i_udDataAddr
UW:i_uCHNum
UD:i_udSavePoints
S:i_sAppendFileName
(4)
(1) Specify CH1 for the first FB and CH2 for the second FB as target channels in M+R60ADH_ReadContinuousLogging. Specify 2 for the number of channels in
M+FileOperation_SaveLoggingCSV_W_R.
(2) Specify the start address of the file register (ZR) where the CH1 logging data is stored for the start address of the storage location of logging data in
M+FileOperation_SaveLoggingCSV_W_R.
(3) Specify the consecutive start addresses of the file register for CH1 and CH2 in M+R60ADH_ReadContinuousLogging.
(4) Specify the number of points of logging data that is read using M+R60ADH_ReadContinuousLogging for the number of save points in
M+FileOperation_SaveLoggingCSV_W_R. In this case, check that the number of logging data that has been read from CH1 and CH2 is larger than the
specified number of save points.
o_bENO:B
o_bOK:B
o_udCompleteLogPoints:UD
o_bErr:B
o_uErrId:UW
o_bENO:B
o_bOK:B
o_udCompleteLogPoints:UD
o_bErr:B
o_uErrId:UW
o_bENO:B
o_bOK:B
o_udCompleteLogPoints:UD
o_bErr:B
o_uErrId:UW
2 FILE OPERATION FB
2.1 M+FileOperation_SaveLoggingCSV_W_R
2
11

Advertisement

Table of Contents
loading

Table of Contents