6. RAS FEATURES IN HF-W100E/IoT
6-4
<Explanation>
The GendoControlN function sets the output state of the general purpose output with
usiOuput and specifies a control target with usiMask. Figure 6-1 shows an operation
example to illustrate the relationship between usiOutput and usiMask.
Figure 6-1 Operation Example of the GendoControlN Function
<Supplementary information>
Figure 6-2 shows the operation of the general purpose output1 when the
GendoControlN function is used. The dashed lines show the general purpose output
level, and the bold line show the transition of the general purpose output1.
Figure 6-2 Operation Example of the External General Purpose Output1
<Program example>
For an example of a program using this function, see “6.2.3 Examples of using the
RAS library”.
NOTE
Do not use this function if you are using the RAS library in the HF-W RAS
features to control the external general purpose I/O. In the presence of
contention caused by simultaneous access, the output cannot be controlled
properly.
GendoControlN
ucOutput
: 0x00
ucMask
: 0x01
High
Low
Time
→
Power OFF
Power ON
Start the equipment
GendoControlN
ucOutput
: 0x01
ucMask
: 0x01
Shut down
0
ucOutput
ucMask
0
1
1
0
1
0
1
0
0
0
0
1
1
1
1
Keep outputs state
output8
output7
output6
output5
output4
output3
output2
output1