Axis APPINT Instrukcja Użytkownika Strona 30

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 60
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 29
LNC-M8000
Function
206 寶元數控精密股份有限公司
LNC Technology Co., Ltd.
BIT=>Appoint R value Bit, value range0~31, unitN/A
Reply
R Bit, value range0 ~ 1, unitN/A
Alarm
-1 =>R value NO. is over range.
-2 => BIT No. is over range
Example
#1= R_REG_BIT(3,2); /* If R[3]=21, #1Value=1 */
R_REG_BIT_F(R_No,BIT)
Pre-read R BIT value
R
Descriptio
n
This function will pre-read R bit, easy to have pre-INT problem, so need to use WAIT(….) to use,
suitable for advanced programmer to use.
R_No=> R location NO., value range0 ~ 179999, 1000000 ~ 5999999, unitN/A
BIT=>Appoint R Bit, value range0~31, unitN/A
Reply
R Bit, value range0 ~ 1, unitN/A
Alarm
-1 =>R value NO. is over range.
-2 => R value NO. is over range.
Example
#1= R_REG_BIT_F(3,2); /* If R[3]=21, #1Value=1 */
W_REG(R_No,VALUE)
Write R value
W
Description
This function will stop interpretation automatically.(Type)
R_No=> R location NO., value range0 ~ 179999, 1000000 ~ 5999999, unitN/A
VALUE =>Write info, value range-2147483648 ~ 2147483647, unitN/A
Reply
Alarm
-1 =>R value NO. is over range.
Example
W_REG(2,13); /* R[2]Value=13 */
W_ REG_SYNC(R_No,VALUE)
Write R value with SBK synchronizely
W
Description
Write R value by SBK order, no need to stop INT, has limit when writing R location, this SBK will
need 1 interrupt time.
R_No=> R location NO., value range0 ~ 179999, unitN/A
VALUE =>Write info, value range-1073741824 ~ 1073741823, unitN/A
Reply
Alarm
-1 =>R value NO. is over range.
-2 => R value writes over range
Example
W_ REG_SYNC(2,13); /* R[2]Value=13 */
W_REG_BIT(R_No,BIT,ONOFF)
Write R BIT value
W
Description
This function will stop interpretation automatically.(Type)
Przeglądanie stron 29
1 2 ... 25 26 27 28 29 30 31 32 33 34 35 ... 59 60

Komentarze do niniejszej Instrukcji

Brak uwag