#echo 0 > /sys/class/gpio/gpio346/value
Serial Port
Serial device nodes mapping.
Table 2. Serial device nodes mapping table.
Port Type
Connector
Device Node
RS232
DB9
/dev/ttyS6
RS422_485
5 pin terminal
/dev/ttyS4
RS485
3 pin terminal
/dev/ttyS5
RS485
3 pin terminal
/dev/ttyS2
Execute the
#sudo chmod 777 /dev/ttyS#
command on two systems, where # is port number corresponding to ports being
used.
•
On system A, execute the
#cat < /dev/ttyS#
command, this will put system A waiting for transmission.
•
On system b, execute the
#echo "test" > /dev/ttyS#
command, this will let system B send out transmission.
Expansion IO Module
PCIe
The PCIe slot on the external IO Module for the Edge Gateway is driven directly from the host PCIe bus. Since it is generic PCIe
expansion, there are no PCIe device-specific drivers integrated into the OS image. If there is specific PCIe card used on this slot,
contact the Vendor of that PCIe card for drivers.
GPIO
The GPIOs on the external IO Module for the Edge Gateway are behind PIC microcontroller. The PIC microcontroller is exposed to
the host system and to the host OS as a USB-HID device. Software application developed to communicate with the GPIOs may use
the protocol defined in following set of references to communicate with the GPIO modules. There is no native application software
available on the factory OS image that communicates with the IO Module GPIOs.
Zigbee
NOTE: This feature is only supported if hardware module presented.
The OS provides the capability of mutual communication between user space application and physical module. If there is a specific
Zigbee programming requirement of user mode application, contact the hardware provider of that module for API Documentation.
Controller Area Network
NOTE: This feature is only supported if hardware module presented.
The OS provides the capability of mutual communication between user space application and physical module. If there is a specific
Controller Area Network (CAN) bus programming requirement of user mode application, contact the hardware provider of that
module for API documentation.
To find the device bus iver dmesg (if hardware is presented):
•
#dmesg | grep –i microchip
•
for i in /sys/class/hidraw/*; do udevadm info $i --attribute-walk | grep -q 'CANBus HID
Device' && echo path: /dev/$(basename $i); done
36
Содержание Edge 5000 Series
Страница 14: ...24 V AC DC power port 19 5 V DC power adapter port 14 ...
Страница 15: ...System Right Features 1 IO expansion port Connect an external expansion module for additional IO ports 15 ...
Страница 25: ...3 Mount the Edge Gateway on a DIN rail 4 Secure the Edge Gateway to the DIN rail by pressing the latch 25 ...
Страница 83: ...24 V AC DC power port Sealed lead acid battery port 83 ...
Страница 87: ...Wall mount bracket DIN rail 6 Connect the power sources and press the power button on the Edge Gateway 87 ...
Страница 95: ...95 ...