Control Microsystems 5901 Manual do Utilizador Página 291

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 620
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 290
IEC61131 User and Reference Manual
April 22, 2008
283
getprot2
Get protocol settings method 2
Description
The getprot2 function block returns the protocol settings for a specific serial port. This
function supports Enron Modbus parameters.
comX
getprot2
stn
prtcltype
addrMode
SandFEnabled
EnEnabled
EnStn
Arguments
Inputs
Type
Description
comX
Integer
Communication port to get port protocol settings, 1 to 4.
Outputs
Type
Description
prtclType
Integer
Protocol type
0 = none
1 = Modbus RTU
2 = Modbus ASCII
3 = DF1 Full Duplex BCC
4 = DF1 Full Duplex CRC
5 = DF1 Half Duplex BCC
6 = DF1 Half Duplex CRC
7 = DNP
stn
Integer
Protocol station number
1 to 255 in standard Modbus
1 to 65534 in extended Modbus
0 to 254 in DF1
addrMode
Integer
Protocol addressing mode
0 = standard
1 = extended
SandFEnabled
Boolean
Store and forward enable
Enable store and forward when set to TRUE.
Disables store and forward when set to FALSE.
EnEnabled
Boolean
Enron Modbus enable
Enable Enron Modbus when set to TRUE.
Disables Enron Modbus when set to FALSE.
EnStn
Integer
Enron Modbus station number
1 to 255 in standard Modbus
1 to 65534 in extended Modbus
Vista de página 290
1 2 ... 286 287 288 289 290 291 292 293 294 295 296 ... 619 620

Comentários a estes Manuais

Sem comentários