
IEC61131 User and Reference Manual
April 22, 2008
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.
Arguments
Communication port to get port protocol settings, 1 to 4.
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
Protocol station number
1 to 255 in standard Modbus
1 to 65534 in extended Modbus
0 to 254 in DF1
Protocol addressing mode
0 = standard
1 = extended
Store and forward enable
Enable store and forward when set to TRUE.
Disables store and forward when set to FALSE.
Enron Modbus enable
Enable Enron Modbus when set to TRUE.
Disables Enron Modbus when set to FALSE.
Enron Modbus station number
1 to 255 in standard Modbus
1 to 65534 in extended Modbus
Comentários a estes Manuais