Axis APPINT Uživatelský manuál Strana 30

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 60
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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)
Zobrazit stránku 29
1 2 ... 25 26 27 28 29 30 31 32 33 34 35 ... 59 60

Komentáře k této Příručce

Žádné komentáře