-- //////////////////////////////////////////////////////////////////////////// -- -- CONTEC Conprosys Nano series Private MIB ver.1.01 (2026-07-21) -- -- //////////////////////////////////////////////////////////////////////////// CPSN-MIB DEFINITIONS ::= BEGIN IMPORTS MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE, enterprises, Gauge32, Counter32, Integer32 FROM SNMPv2-SMI Counter, Gauge, IpAddress, NetworkAddress, TimeTicks FROM RFC1155-SMI DisplayString FROM SNMPv2-TC; MacAddress ::= OCTET STRING (SIZE (6)) -- Root for Conprosys nano series -- .1.3.6.1.4.1.672.73 -- contec OBJECT IDENTIFIER ::= { enterprises 672 } -- Module identity CPSN series -- OID: .1.3.6.1.4.1.672.73 cpsn MODULE-IDENTITY LAST-UPDATED "202607210000Z" ORGANIZATION "CONTEC CO., LTD." CONTACT-INFO "" DESCRIPTION "The MIB module for Conprosys nano series." ::= { contec 73 } -- Traps (Reserved) -- OID: .1.3.6.1.4.1.672.73.1.1 cpsnTraps OBJECT IDENTIFIER ::= { cpsn 1 } -- Environments -- OID: .1.3.6.1.4.1.672.73.1.2 cpsnEnvironment OBJECT IDENTIFIER ::= { cpsn 2 } cpsnLoaderVersion OBJECT-TYPE SYNTAX DisplayString MAX-ACCESS read-only STATUS current DESCRIPTION "Version of loader." ::= { cpsnEnvironment 1 } cpsnFirmwareVersion OBJECT-TYPE SYNTAX DisplayString MAX-ACCESS read-only STATUS current DESCRIPTION "Version of firmware." ::= { cpsnEnvironment 2 } cpsnHardwareVersion OBJECT-TYPE SYNTAX DisplayString MAX-ACCESS read-only STATUS current DESCRIPTION "Version of hardware." ::= { cpsnEnvironment 3 } cpsnEthernetAddress OBJECT-TYPE SYNTAX MacAddress MAX-ACCESS read-only STATUS current DESCRIPTION "Ethernet address (MAC address)." ::= { cpsnEnvironment 4 } cpsnIPAddress OBJECT-TYPE SYNTAX IpAddress MAX-ACCESS read-only STATUS current DESCRIPTION "IP address." ::= { cpsnEnvironment 5} cpsnSubnetMask OBJECT-TYPE SYNTAX IpAddress MAX-ACCESS read-only STATUS current DESCRIPTION "Subnet mask." ::= { cpsnEnvironment 6 } cpsnDefaultGateway OBJECT-TYPE SYNTAX IpAddress MAX-ACCESS read-only STATUS current DESCRIPTION "Default gateway." ::= { cpsnEnvironment 7 } cpsnDnsServer1 OBJECT-TYPE SYNTAX IpAddress MAX-ACCESS read-only STATUS current DESCRIPTION "DNS server 1." ::= { cpsnEnvironment 8 } cpsnDnsServer2 OBJECT-TYPE SYNTAX IpAddress MAX-ACCESS read-only STATUS current DESCRIPTION "DNS server 2." ::= { cpsnEnvironment 9 } cpsnSerialNumber OBJECT-TYPE SYNTAX DisplayString MAX-ACCESS read-only STATUS current DESCRIPTION "Serial number of device." ::= { cpsnEnvironment 10 } cpsnStatus OBJECT IDENTIFIER ::= { cpsn 3 } -- Slot Table -- OID: .1.3.6.1.4.1.672.73.3.1 cpsnSlotTable OBJECT-TYPE SYNTAX SEQUENCE OF cpsnSlotEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "Table of slots and installed logical modules (physical slotIndex + moduleIndex)." ::= { cpsnStatus 1 } -- Slot entry cpsnSlotEntry OBJECT-TYPE SYNTAX SlotEntry MAX-ACCESS not-accessible STATUS current INDEX { slotIndex, moduleIndex } DESCRIPTION "An entry for each logical module within a physical slot. Indexed by slotIndex and moduleIndex." ::= { cpsnSlotTable 1 } SlotEntry ::= SEQUENCE { slotIndex Integer32, moduleIndex Integer32, slotStatus Integer32, moduleType Integer32, moduleFunction Integer32, moduleName DisplayString } -- slotIndex (physical) slotIndex OBJECT-TYPE SYNTAX Integer32 (1..8) MAX-ACCESS read-only STATUS current DESCRIPTION "Physical slot number. This is shared across all module tables as the first index component." ::= { cpsnSlotEntry 1 } -- moduleIndex (logical) moduleIndex OBJECT-TYPE SYNTAX Integer32 (1..32) MAX-ACCESS read-only STATUS current DESCRIPTION "Logical module number within the slot. Use this to distinguish multiple logical modules (e.g., DI and DO) in the same physical slot." ::= { cpsnSlotEntry 2 } -- Slot status slotStatus OBJECT-TYPE SYNTAX Integer32 { present(1), absent(2) } MAX-ACCESS read-only STATUS current DESCRIPTION "Presence status of the logical module identified by (slotIndex, moduleIndex)." ::= { cpsnSlotEntry 3 } -- Module type group moduleType OBJECT-TYPE SYNTAX Integer32 { unknown(0), dio(1), aio(2), cnt(3), com(4) } MAX-ACCESS read-only STATUS current DESCRIPTION "Broad type group of the logical module (e.g., dio/aio/cnt/com). Use moduleFunction to distinguish DI/DO/AI/AO etc." ::= { cpsnSlotEntry 4 } -- Module function moduleFunction OBJECT-TYPE SYNTAX Integer32 { unknown(0), di(1), do(2), rry(3), ai(4), ao(5), ssi(6), cnt(7), com(8) } MAX-ACCESS read-only STATUS current DESCRIPTION "Function of the logical module (DI/DO/RRY/AI/AO/SSI/CNT/COM). Together with slotIndex and moduleIndex, this identifies which per-channel table is applicable." ::= { cpsnSlotEntry 5 } -- Module name moduleName OBJECT-TYPE SYNTAX DisplayString MAX-ACCESS read-only STATUS current DESCRIPTION "Human-readable name of the logical module identified by (slotIndex, moduleIndex)." ::= { cpsnSlotEntry 6 } -- -- Usage notes: -- * slotIndex is a physical slot identifier (1..8). -- * moduleIndex is a logical module identifier within the same physical slot. -- This enables multiple logical modules (e.g., DI and DO) to coexist in one slot. -- * Determine the module kind by reading cpsnSlotTable/cpsnSlotEntry columns: -- - moduleFunction indicates the per-channel table to use (DI/DO/AI/AO/...). -- - moduleType is a broad category (dio/aio/cnt/com). -- * Per-channel tables (diEntry/doEntry/aiEntry/aoEntry) are indexed by -- (slotIndex, moduleIndex, channelIndex). For non-applicable combinations, -- the agent should return noSuchInstance (or omit rows). -- -- //////////////////////////////////////////////////////////////////////////// -- Module definitions -- //////////////////////////////////////////////////////////////////////////// cpsnModules OBJECT IDENTIFIER ::= { cpsn 10 } cpsnDI OBJECT IDENTIFIER ::= { cpsnModules 1 } cpsnDO OBJECT IDENTIFIER ::= { cpsnModules 2 } cpsnRRY OBJECT IDENTIFIER ::= { cpsnModules 3 } cpsnAI OBJECT IDENTIFIER ::= { cpsnModules 4 } cpsnAO OBJECT IDENTIFIER ::= { cpsnModules 5 } cpsnSSI OBJECT IDENTIFIER ::= { cpsnModules 6 } cpsnCNT OBJECT IDENTIFIER ::= { cpsnModules 7 } -- //////////////////////////////////////////////////////////////////////////// -- //////////////////////////////////////////////////////////////////////////// -- DI definitions -- //////////////////////////////////////////////////////////////////////////// -- DI table diTable OBJECT-TYPE SYNTAX SEQUENCE OF diEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "Table of DI channels for logical modules where moduleFunction=di(1)." ::= { cpsnDI 2 } -- DI entry diEntry OBJECT-TYPE SYNTAX DiEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "An entry for each DI channel. Indexed by slotIndex, moduleIndex, and diIndex." INDEX { slotIndex, moduleIndex, diIndex } ::= { diTable 1 } DiEntry ::= SEQUENCE { diIndex Integer32, diData Integer32, diCntData Gauge32, diCntZeroClear Integer32 } -- DI index diIndex OBJECT-TYPE SYNTAX Integer32 (1..16) MAX-ACCESS read-only STATUS current DESCRIPTION "Bit number of DI data." ::= { diEntry 1 } -- DI data diData OBJECT-TYPE SYNTAX Integer32 (0..1) MAX-ACCESS read-only STATUS current DESCRIPTION "DI data." ::= { diEntry 2 } -- DI count data diCntData OBJECT-TYPE SYNTAX Gauge32 MAX-ACCESS read-only STATUS current DESCRIPTION "Count data." ::= { diEntry 3 } -- DI count zero clear diCntZeroClear OBJECT-TYPE SYNTAX Integer32 (0..1) MAX-ACCESS write-only STATUS current DESCRIPTION "Clear count value when set to 1." ::= { diEntry 4 } -- //////////////////////////////////////////////////////////////////////////// -- DO definitions -- //////////////////////////////////////////////////////////////////////////// -- DO table doTable OBJECT-TYPE SYNTAX SEQUENCE OF doEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "Table of DO channels for logical modules where moduleFunction=do(2)." ::= { cpsnDO 2 } -- DO entry doEntry OBJECT-TYPE SYNTAX DoEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "An entry for each DO channel. Indexed by slotIndex, moduleIndex, and doIndex." INDEX { slotIndex, moduleIndex, doIndex } ::= { doTable 1 } DoEntry ::= SEQUENCE { doIndex Integer32, doData Integer32, pwmDuty Integer32 } -- DO index doIndex OBJECT-TYPE SYNTAX Integer32 (1..16) MAX-ACCESS read-only STATUS current DESCRIPTION "Bit number of DO data." ::= { doEntry 1 } -- DO data doData OBJECT-TYPE SYNTAX Integer32 (0..1) MAX-ACCESS read-write STATUS current DESCRIPTION "DO data." ::= { doEntry 2 } -- PWM duty (supported ch 1..4) pwmDuty OBJECT-TYPE SYNTAX Integer32 (0..65535) MAX-ACCESS read-write STATUS current DESCRIPTION "PWM duty value. Range 0..65535 where 65535 represents 100% duty." ::= { doEntry 3 } -- //////////////////////////////////////////////////////////////////////////// -- RRY definitions -- //////////////////////////////////////////////////////////////////////////// -- RRY table rryTable OBJECT-TYPE SYNTAX SEQUENCE OF rryEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "Table of RRY channels for logical modules where moduleFunction=rry(3)." ::= { cpsnRRY 2 } -- RRY entry rryEntry OBJECT-TYPE SYNTAX RryEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "An entry for each RRY channel. Indexed by slotIndex, moduleIndex, and rryIndex." INDEX { slotIndex, moduleIndex, rryIndex } ::= { rryTable 1 } RryEntry ::= SEQUENCE { rryIndex Integer32, rryData Integer32 } -- RRY index rryIndex OBJECT-TYPE SYNTAX Integer32 (1..8) MAX-ACCESS read-only STATUS current DESCRIPTION "Bit number of RRY data." ::= { rryEntry 1 } -- RRY data rryData OBJECT-TYPE SYNTAX Integer32 (0..1) MAX-ACCESS read-write STATUS current DESCRIPTION "RRY output data." ::= { rryEntry 2 } -- AI definitions -- //////////////////////////////////////////////////////////////////////////// -- AI table aiTable OBJECT-TYPE SYNTAX SEQUENCE OF aiEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "Table of AI channels for logical modules where moduleFunction=ai(4)." ::= { cpsnAI 2 } -- AI entry aiEntry OBJECT-TYPE SYNTAX AiEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "An entry for each AI channel. Indexed by slotIndex, moduleIndex, and aiIndex." INDEX { slotIndex, moduleIndex, aiIndex } ::= { aiTable 1 } AiEntry ::= SEQUENCE { aiIndex Integer32, aiData Integer32 } -- AI index aiIndex OBJECT-TYPE SYNTAX Integer32 (1..8) MAX-ACCESS read-only STATUS current DESCRIPTION "Index of AI channel." ::= { aiEntry 1 } -- AI data aiData OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-only STATUS current DESCRIPTION "AI data (raw value or scaled value)." ::= { aiEntry 2 } -- //////////////////////////////////////////////////////////////////////////// -- AO definitions -- //////////////////////////////////////////////////////////////////////////// -- AO table aoTable OBJECT-TYPE SYNTAX SEQUENCE OF aoEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "Table of AO channels for logical modules where moduleFunction=ao(5)." ::= { cpsnAO 2 } -- AO entry aoEntry OBJECT-TYPE SYNTAX AoEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "An entry for each AO channel. Indexed by slotIndex, moduleIndex, and aoIndex." INDEX { slotIndex, moduleIndex, aoIndex } ::= { aoTable 1 } AoEntry ::= SEQUENCE { aoIndex Integer32, aoData Integer32 } -- AO index aoIndex OBJECT-TYPE SYNTAX Integer32 (1..8) MAX-ACCESS read-only STATUS current DESCRIPTION "Index of AO channel." ::= { aoEntry 1 } -- AO data aoData OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-write STATUS current DESCRIPTION "AO data (raw value or scaled value)." ::= { aoEntry 2 } -- //////////////////////////////////////////////////////////////////////////// -- SSI definitions -- //////////////////////////////////////////////////////////////////////////// -- SSI table ssiTable OBJECT-TYPE SYNTAX SEQUENCE OF ssiEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "Table of SSI channels for logical modules where moduleFunction=ssi(6)." ::= { cpsnSSI 2 } -- SSI entry ssiEntry OBJECT-TYPE SYNTAX SsiEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "An entry for each SSI channel. Indexed by slotIndex, moduleIndex, and ssiIndex." INDEX { slotIndex, moduleIndex, ssiIndex } ::= { ssiTable 1 } SsiEntry ::= SEQUENCE { ssiIndex Integer32, ssiData Gauge32 } -- SSI index ssiIndex OBJECT-TYPE SYNTAX Integer32 (1..8) MAX-ACCESS read-only STATUS current DESCRIPTION "Index of SSI channel." ::= { ssiEntry 1 } -- SSI data ssiData OBJECT-TYPE SYNTAX Gauge32 MAX-ACCESS read-only STATUS current DESCRIPTION "SSI data (raw value)." ::= { ssiEntry 2 } -- //////////////////////////////////////////////////////////////////////////// -- CNT definitions -- //////////////////////////////////////////////////////////////////////////// -- CNT table cntTable OBJECT-TYPE SYNTAX SEQUENCE OF cntEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "Table of CNT channels for logical modules where moduleFunction=cnt(7)." ::= { cpsnCNT 2 } -- CNT entry cntEntry OBJECT-TYPE SYNTAX CntEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "An entry for each CNT channel. Indexed by slotIndex, moduleIndex, and cntIndex." INDEX { slotIndex, moduleIndex, cntIndex } ::= { cntTable 1 } CntEntry ::= SEQUENCE { cntIndex Integer32, cntData Gauge32, cntZeroClear Integer32 } -- CNT index cntIndex OBJECT-TYPE SYNTAX Integer32 (1..8) MAX-ACCESS read-only STATUS current DESCRIPTION "Index of CNT channel." ::= { cntEntry 1 } -- CNT data cntData OBJECT-TYPE SYNTAX Gauge32 MAX-ACCESS read-only STATUS current DESCRIPTION "CNT data value." ::= { cntEntry 2 } -- CNT zero clear cntZeroClear OBJECT-TYPE SYNTAX Integer32 (0..1) MAX-ACCESS write-only STATUS current DESCRIPTION "Clear count value when set to 1." ::= { cntEntry 3 } END