Добрый день.
При подключении к контроллеру никак не реагируют. Подключал по инструкции из wiki.
Обновлял прошивку версии “201707241130_webupd_wb55.fit”. Делал apt-get update, apt-get install.
К контроллеру еще подключены модули по rs-485, они работают.
Вот ответ команды cat /etc/wb-hardware.conf
{
"slots": [
{
"id": "wb55-mod1",
"name": "Internal slot 1",
"compatible": [
"wb5-mod",
"wb5-mod_mmc-1bit"
],
"module": "",
"options": {}
},
{
"id": "wb55-mod2",
"name": "Internal slot 2",
"compatible": [
"wb5-mod",
"wb5-mod_can"
],
"module": "",
"options": {}
},
{
"id": "wb5-extio1",
"name": "External I/O module 1",
"compatible": [
"wb5-extio"
],
"module": "wbio-di-dr-8",
"options": {}
},
{
"id": "wb5-extio2",
"name": "External I/O module 2",
"compatible": [
"wb5-extio"
],
"module": "wbio-do-r3a-8",
"options": {}
},
{
"id": "wb5-extio3",
"type": "wb5-extio",
"name": "External I/O module 3",
"module": "",
"options": {}
},
{
"id": "wb5-extio4",
"type": "wb5-extio",
"name": "External I/O module 4",
"module": "",
"options": {}
},
{
"id": "wb5-extio5",
"type": "wb5-extio",
"name": "External I/O module 5",
"module": "",
"options": {}
},
{
"id": "wb5-extio6",
"type": "wb5-extio",
"name": "External I/O module 6",
"module": "",
"options": {}
},
{
"id": "wb5-extio7",
"type": "wb5-extio",
"name": "External I/O module 7",
"module": "",
"options": {}
},
{
"id": "wb5-extio8",
"type": "wb5-extio",
"name": "External I/O module 8",
"module": "",
"options": {}
},
{
"id": "wb5-eth",
"name": "2nd Ethernet Slot",
"compatible": [
"wb5-eth"
],
"module": "",
"options": {}
},
{
"id": "wb55-gsm",
"name": "GSM modem",
"compatible": [
"wb55-gsm"
],
"module": "",
"options": {}
}
]
}
**и cat /etc/wb-homa-gpio.conf**
{
"device_name": "Discrete I/O",
"channels": [
{
"gpio": 26,
"name": "A1_OUT",
"inverted": false
},
{
"gpio": 16,
"name": "A2_OUT",
"inverted": false
},
{
"gpio": 24,
"name": "A3_OUT",
"inverted": false
},
{
"gpio": 20,
"name": "A4_OUT",
"inverted": false
},
{
"gpio": 6,
"name": "A1_IN",
"inverted": true,
"direction": "input"
},
{
"gpio": 7,
"name": "A2_IN",
"inverted": true,
"direction": "input"
},
{
"gpio": 28,
"name": "A3_IN",
"inverted": true,
"direction": "input"
},
{
"gpio": 27,
"name": "A4_IN",
"inverted": true,
"direction": "input"
},
{
"gpio": 5,
"name": "R1_IN",
"inverted": true,
"direction": "input"
},
{
"gpio": 62,
"name": "BATTERY_PRESENT",
"inverted": true,
"direction": "input"
},
{
"gpio": 102,
"name": "BATTERY_CHARGING",
"inverted": true,
"direction": "input"
},
{
"gpio": 78,
"name": "5V_OUT",
"direction": "output",
"initial_state": true
},
{
"name": "EXT1_DR1",
"gpio": 160,
"direction": "input",
"inverted": false
},
{
"name": "EXT1_DR2",
"gpio": 161,
"direction": "input",
"inverted": false
},
{
"name": "EXT1_DR3",
"gpio": 162,
"direction": "input",
"inverted": false
},
{
"name": "EXT1_DR4",
"gpio": 163,
"direction": "input",
"inverted": false
},
{
"name": "EXT1_DR5",
"gpio": 164,
"direction": "input",
"inverted": false
},
{
"name": "EXT1_DR6",
"gpio": 165,
"direction": "input",
"inverted": false
},
{
"name": "EXT1_DR7",
"gpio": 166,
"direction": "input",
"inverted": false
},
{
"name": "EXT1_DR8",
"gpio": 167,
"direction": "input",
"inverted": false
},
{
"name": "EXT2_R3A1",
"gpio": 168,
"direction": "output",
"inverted": false
},
{
"name": "EXT2_R3A2",
"gpio": 169,
"direction": "output",
"inverted": false
},
{
"name": "EXT2_R3A3",
"gpio": 170,
"direction": "output",
"inverted": false
},
{
"name": "EXT2_R3A4",
"gpio": 171,
"direction": "output",
"inverted": false
},
{
"name": "EXT2_R3A5",
"gpio": 172,
"direction": "output",
"inverted": false
},
{
"name": "EXT2_R3A6",
"gpio": 173,
"direction": "output",
"inverted": false
},
{
"name": "EXT2_R3A7",
"gpio": 174,
"direction": "output",
"inverted": false
},
{
"name": "EXT2_R3A8",
"gpio": 175,
"direction": "output",
"inverted": false
}
]
}