Mitsubishi Electronics MR-MC241 Sleep Apnea Machine User Manual


 
6 - 56
6. APPLICATION FUNCTIONS
6.21.3 Sequence example
Prepare a home position return complete memo showing that the home position has been established on the
user program. Turn the home position return complete memo on when home position return is complete.
When the home position return complete memo is turned on, execution of home position return is not
necessary. If the absolute position erased signal (ABSE) is turned on, turn the home position return complete
memo off, and re-execute home position return.
(1) Startup procedure
sscSystemStart function
sscResetAllParameter
function
sscGetSystemStatusCode
function
Turn Power
ON
System startup
While system
is running
Wait for completion of system preparation
(Wait until the during system preparation
(0001h) is set in the system status code)
Parameter initialization command
(set the system command code to 0003h)
Waiting for completion of parameter
initialization (wait until the system status code
is set to 0003h)
Perform writing of parameters as needed.
Is the home position return
complete memo on?
Set parameters 024D, 024E, 024F with the
home position multiple revolution data and
home position within 1 revolution position data
Set the absolute position data of the home
position return option 2 (parameter No.0241)
to 1 (valid)
Startup system
(set the system command code to 000Ah.)
Wait for completion of system startup
(wait until the system status code is set to 000Ah.)
N
Y
Complete system startup
(set the system status code to 000Ah.)
Waiting for system startup command
(wait until the system command code is set to
000Ah.)
Complete parameter initialization
(set the system status code to 0003h)
Waiting for parameter initialization command
(wait until the system command code is set to
0003h)
System preparation completion
(Set "during system preparation" (0001h) in
the system status code)
User program
Position board
sscChangeParameter
function
sscChangeParameter
function
sscChangeParameter
function