Mitsumi electronic 13JX10 Universal Remote User Manual


 
54
7 COMMUNICATION EXAMPLES
7.1 Example of Communications Between a Master Station and a Remote Device Station
When creating the programs of (19) to (26), refer to the manual for the remote device station used and
change the program as needed.
The programs of (30) to (45) and (65) to (74) are needed only for the initial setting change.
(0) The data link status is checked.
(26) When 'Remote device station initialization procedure registration instruction' (SB000D) is turned on, the initial setting is executed.
When the initial setting is completed, the input value of the AJ65VBTCU-68ADVN is converted into a digital value.
(30) When 'Initialization_68ADVN' (X20) is turned on, the initial setting of the AJ65VBTCU-68ADVN is changed.
(47) The CH.1 digital output value is stored in 'DigitalOutputValue_CH1_68ADVN' (D500) and CH.2 digital output value is stored in
'DigitalOutputValue_CH2_68ADVN' (D501).
(56) If an error occurs in the AJ65VBTCU-68ADVN, an error code is stored in 'ErrorCode_68DAVN' (D508).
After the cause of the error is eliminated and 'ResetError_68ADVN' (X25) is turned on, the error is reset.
(65) When 'Initialization_68DAVN' (X21) is turned on, the initial setting of the AJ65VBTCU-68DAVN is changed.
(76) When 'DigitalValue_68DAVN' (X22) is turned on, the digital value of the AJ65VBTCU-68DAVN is set.
(84) When 'EnableAnalogOutput_68DAVN' (X23) is turned on, the analog value is output from the AJ65VBTCU-68DAVN.
(88) If an error occurs in the AJ65VBTCU-68DAVN, an error code is stored in 'ErrorCode_68DAVN' (D518).
After the cause of the error is eliminated and 'ResetError_68DAVN' (X26) is turned on, the error is reset.