
R01UH0336EJ0102 Rev.1.02
Page 354 of 1538
Jul 17, 2014
V850E2/PG4-L
Section 10 Safety Guardian (SGA)
10.3.3
Operations for Error Output
The error output SGATERROUZ is connected to the ERROROUT pin.
The error output can be configured for two different modes of operation, non-
dynamic or dynamic.
Caution
The following programming procedure should be considered.
(1)
Dynamic Mode Enable
1) Set the SGAEMK0 and SGAEMK1 registers.
2) Initialize the related timer (connected to SGATTIN).
3) Drive the error output to high level by setting the SGAmECLR.SGAmECT
bit to 1. Refer to the note in Section 10.4.2 (2), SGAmECLR - SGAm
Error Clear Trigger Register.
4) Set the SGAEPCFG.SGASL0 bit to 1 for dynamic mode.
5) Start the timer.
Note
Set the timer cycle according to the characteristics of the external device to be
connected.
(2)
Dynamic Mode Disable
1) Set the SGAEMK0 and SGAEMK1 registers.
2) Drive the error output to low level by setting the SGAmESET.SGAmEST
bit to 1. Refer to the note in Section 10.4.2 (1), SGAmESET SGAm Error
Set Trigger Register.
3) Stop the timer.
4) Set the SGAEPCFG.SGASL0 bit to 0 for non-dynamic mode.
Table 10-7
Operating Modes for Error Output
Error Status
SGAmESSTR
y.SGAmSSE0
19-000/
SGAmSSE13
1-100
(y = 0, 1)
Operating
Mode
SGASL0
Bit
Error Output
Operating Mode
Error Output Level
Error Status
0
0
Non-dynamic
High
No error
1
Dynamic
Toggles (according to
SGATTIN timer configuration)
No error
1
0
Non-dynamic
Low
Error
1
Dynamic
Low
Error
Содержание V850 Series
Страница 1556: ...V850E2 PG4 L R01UH0336EJ0102 Back Cover ...