274
10 FUNCTIONS
10.8 SIL2 A/D Conversion Function
10.8 SIL2 A/D Conversion Function
The R60AD8-G (Main) and R60AD8-G (Sub) use this function based on the time set in "SIL2 A/D conversion cycle setting" to
execute A/D conversion that satisfies the safety level defined by IEC61508: 2010 SIL2 and IEC61511: 2015 SIL2 while
executing error detection functions, such as double input discrepancy detection, and regular diagnostics for failure, such as A/
D conversion circuit diagnostics. The SIL2 diagnostic FB library is required for this function.
The following table describes each function executed by the SIL2 A/D conversion function, corresponding SIL2 diagnostic FB
library used, and the module status at the time of error detection.
SIL2 diagnostic FB library
Safety devices specified by the SIL2 diagnostic FB library and corresponding I/O labels are as follows.
■SIL2 safety program FB (M+SIL2ADG_ADConv_R)
• Symbol
• Input labels
Function name SIL2 diagnostic FB library
used
Module status at the time of error detection
Error description Safety input status Relay connection
Double input discrepancy
detection function
SIL2 safety program FB
(M+SIL2ADG_ADConv_R)
Double input discrepancy
detection error (error code:
1EDH)
Input of a channel with
an error turns off.
Does not disconnect
sensors.
A/D conversion circuit
diagnostic function
• SIL2 safety program FB
(M+SIL2ADG_ADConv_R)
• SIL2 standard program FB
(M+SIL2ADG-
IEF_WriteDAVal_R)
A/D conversion circuit diagnostic
error (error code: 1EFH)
Disconnect sensors.
Input HOLD function Safety I/O HOLD time exceeded
error (error code: 1500H)
Previous values are
maintained for input of
all channels.
The relay is not
changed.
No. Variable name Name Data type Scope Description
(1) i_bEN Execution command Bit On or off On: The FB is activated.
Off: The FB is not activated.
Set 'Safety refresh communication status of each
safety connection (1st module)' (SA\SD1008 to
SA\SD1015)
*1
for the intelligent device station where
the R60AD8-G (Main) is mounted.
For details on the safety special register, refer to the
following.
MELSEC iQ-R CPU Module User's Manual
(Application)
For a setting example of this input label, refer to the
following.
Page 297 EXAMPLE OF OPERATION
o_bErr B:
o_bOK B:
o_u8ADSndTbl UW:
o_bENO B:
i_bInitDiagSkipB:
i_bUnitErrClearB:
M+SIL2ADG_ADConv_R
i_u8ADRcvTblUW :
i_bENB:
(1)
(3)
(4)
(2)
(5)
(6)
(7)
(8)
o_uErrId UW:
o_stNFB_ADConv DUT:
o_u8DiagCode UW:
o_uConnectSts UW:
o_w8ADVal W:
(9)
(10)
(11)
(12)
(13)