EasyManua.ls Logo

WAGO WAGO-I/O-IPC-C6 - Snmpregistercustomoid_Int32(); Table 143: Data Type; Table 144: Parameter Snmpregistercustomoid_Int32(); Table 145: Return Snmpregistercustomoid_Int32()

WAGO WAGO-I/O-IPC-C6
322 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
276 Appendix WAGO-I/O-SYSTEM 750
758-874/000-131 WAGO-I/O-IPC-C6
Manual
Version 1.0.0
Variables
The following data types are supported:
Table 143: Data type
OID data type CoDeSys data type Length (in bytes)
Integer DINT 4
UInteger, Gauge32 UDINT, DWORD 4
Octet String STRING(255) 255
Functions
Functions of registered, customer-specific OIDs:
An OID can only be registered once, a repeated call up of these functions for the
same OID returns the error:
2 (RET_ERR_OID_ALREADY_REGISTERED)
19.2.1 snmpRegisterCustomOID_INT32()
Registers an OID for the data type: Integer (4 bytes)
Table 144: Parameter snmpRegisterCustomOID_INT32()
Parameter Description
sOID : STRING(128) numerical OID i.e.: .1.3.6.1.4.1.8072.2.4.1.1.1.0
iDefValue : DINT default value i.e.: 2
bReadOnly : BOOL true, if read-only variable
Table 145: Return snmpRegisterCustomOID_INT32()
Return Description
WORD error number: 0 = ok
FUNCTION snmpRegisterCustomOID_INT32 : WORD
VAR_INPUT
sOID : STRING(128) := '';
iDefValue : DINT := 0;
bReadOnly : BOOL := FALSE;
END_VAR

Table of Contents

Related product manuals