Measurement-computing CB-NAP-7000P Manual do Utilizador Página 26

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 36
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 25
22
5.14 I7000_NetworkDigitalIn
z Description:
Read the multi-module digital input value from CB-7000 RS-485 network.. The user can call I7000_DigitalIn to read
analog input value one by one or call this function once for easy programming.
z Syntax:
I7000_NetworkDigitalIn(WORD wPort, WORD wTotal, WORD wT, WORD wID[], WORD wConfig[], WORD
wChksum[], WORD w7000[])
z Input Parameter:
wPort: RS-232 port number, 1/2/3/4
wTotal: number of modules to read
wT: time out constant, normal=100
wID: wID[?]=module address of module_?, from 0x00 to 0xFF
wConfig: reserved.
wChksum: if wChksum[?]=1 :the checksum of module_? is enable
w7000[0]: 16-bit digital value of module_0
w7000[1]: 16-bit digital value of module_1
…………………………………………
w7000[n]: 16-bit digital value of module_n
z Return Value:
NoError: OK
others: Error code, refer to 7000W31.H.
Vista de página 25
1 2 ... 21 22 23 24 25 26 27 28 29 30 31 ... 35 36

Comentários a estes Manuais

Sem comentários