Справочник Пользователя для Mitsubishi Electronics MR-MC241

Скачать
Страница из 658
 
 
6 - 78 
6. APPLICATION FUNCTIONS 
 
6.26 Digital input/output 
6.26.1 Summary 
The digital input/output function is a function that controls the general input/output signal of the servo amplifier 
assigned to the digital input/output table. The user program can check whether the digital input/output signals 
are on/off by using the digital input/output table. The points for the each input/output signal can be assigned up 
to 1024. 
 
 
CAUTION
 
If the digital output signal is updated from the user program during controlling of the digital 
output signal by the other axes start function, the consistency of the data may not be kept. This 
condition is applied to the case when the host controller and position board update the data at 
the same time to the same digital output area number. In this case, read/write the digital output 
signal after controlling the possessory right of the digital output signal using the exclusive control 
function. 
 
 
POINT 
 
For detailed specifications and how to assign the input/output signal to the 
digital input/output table, refer to Section 6.27. 
 
API LIBRARY  
Use the sscGetDigitalInputDataBit or sscGetDigitalInputDataWord functions 
to get digital input. 
Use the sscSetDigitalOutputDataBit or sscSetDigitalOutputDataWord 
functions to set digital output. 
Use the sscGetDigitalOutputDataBit or sscGetDigitalOutputDataWord 
functions to get digital output.