background image

POC-400 Series 

92 

COS Function Reference 

SetupDICOS 

Syntax

 

BOOL SetupDICOS(COS_INT_SETUP *lpSetup, DWORD 

cbSetup);

 

Description

 

Setup Digital-Input(DI) Change-of-State(COS) interrupt 

parameters. 

Parameter

 

lpSetup [in] 

A pointer to a 

COS_INT_SETUP

 structure that contains the 

COS configuration information for the DI device.   

This data structure contains the following variables: 

portMask 

WORD value specifies the interrupt mask for corresponding 

channel(s). 

edgeMode 

WORD value specifies that interrupt is generated when level 

change (set to 0) or on rising/falling edge (set to 1) for the 

corresponding channel(s). 

edgeType 

WORD value specifies that interrupt is generated on rising 

edge (set to 0) or falling (set to 1) edge for corresponding 

channel(s). This value is neglected if 

edgeMode 

is set to 0 for 

the corresponding channel(s).

 

cbSetup [in] 

The length of the structure, in bytes. The caller must set this 

member to size of (COS_INT_SETUP). 

Return Value 

TRUE

 if setup successes 

FALSE

 if setup failed 

Usage 

COS_INT_SETUP    setup; 

        memset(&setup, 0, sizeof(setup)); 

        setup.portMask = 0x0f;    // enable ch.0~3 

        setup.edgeMode = 0;    // level 

        setup.edgeType = 0x00;    // Lo/Hi 

        BOOL   

bRet = SetupDICOS(&setup, sizeof(setup)); 

         

 

Содержание POC-400 Series

Страница 1: ...Neousys Technology Inc POC 400 Series User Manual Revision 1 0...

Страница 2: ...ower over Ethernet Port POC 400 only 26 2 2 7 3 Pin Terminal Block 27 2 3 POC 400 Series COM Port Panel 28 2 3 1 Power Button 29 2 3 2 Reset Button 29 2 3 3 COM Port COM1 30 2 3 4 COM Ports COM2 COM3...

Страница 3: ...00 Only 74 4 5 Wake on LAN 74 4 6 Power On after Power Failure 75 4 7 Position New Boot Device 76 4 8 Watchdog Timer 77 5 OS Support and Driver Installation 5 1 Operating System Compatibility 78 5 2 D...

Страница 4: ...Table of Contents 4 GetStatusPoEPort 97 EnablePoEPort 98 DisablePoEPort 99...

Страница 5: ...in advance with Neousys Technology Inc Customer is solely responsible for ensuring the compatibility and interoperability of the third party s products Customer is further solely responsible for ensur...

Страница 6: ...o part 15 of the FCC Rules These limits are designed to provide reasonable protection against harmful interference when the equipment is operated in a commercial environment This equipment generates u...

Страница 7: ...epresent commitment from Neousys Technology Inc Neousys Technology Inc shall not be liable for any direct indirect special incidental or consequential damages arising from the use of the product or do...

Страница 8: ...wn disconnect all cables from the system and ground yourself before touching internal modules Ensure that the correct power range is being used before powering the device Should a module fail arrange...

Страница 9: ...y as possible while assuring proper connector engagement ESD Precautions Handle add on module motherboard by their retention screws or the module s frame heat sink Avoid touching the PCB circuit board...

Страница 10: ...out This Manual About This Manual This manual introduces and demonstrates installation procedures of Neousys POC 400 series systems Revision History Version Date Description 1 0 Jul 2022 Initial relea...

Страница 11: ...3 PoE capability they provide higher data bandwidth for devices such as NBASE T cameras and is backward compatible with 1000 100 10 Mbps Ethernet It also has two 4K DisplayPort 2x USB3 1 Gen1 2x USB 2...

Страница 12: ...Serial Port 1x software programmable RS 232 422 485 ports COM1 3x 3 wire RS 232 ports COM2 3 4 or 1x RS 422 485 port COM2 Audio 1x 3 5 mm jack for mic in and speaker out Storage Interface M 2 M key 1x...

Страница 13: ...Procedure I EMC CE FCC Class A according to EN 55032 EN 55035 The 100 CPU GPU loading for high temperature test is applied using Passmark BurnInTest v8 0 For detail testing criteria please contact Ne...

Страница 14: ...S 232 ports COM2 3 4 or 1x RS 422 485 port COM2 Audio 1x 3 5 mm jack for mic in and speaker out Storage Interface M 2 M key 1x M 2 2280 SATA interface Internal Expansion Bus M 2 E key 1x M 2 2230 E ke...

Страница 15: ...55035 The 100 CPU GPU loading for high temperature test is applied using Passmark BurnInTest v8 0 For detail testing criteria please contact Neousys Technology For sub zero operating temperature a wi...

Страница 16: ...POC 400 Series 16 1 3 Dimension 1 3 1 Superior View 1 3 2 Front Panel View...

Страница 17: ...POC 400 Series 17 1 3 3 Bottom View...

Страница 18: ...OC 400 Series Mounting Options The system comes with various mounting options such as DIN rail and wall mount bracket DIN rail mount clip is shipped with POC 400 series as standard mounting option 1 4...

Страница 19: ...any item s are missing or damaged please contact your local dealer or Neousys Technology 2 1 Unpacking the System Item Description Qty 1 POC 400 ultra compact fanless computer Please verify additional...

Страница 20: ...b s transfer bandwidth 3 System status LED Four system LEDs Power PWR Hard Disk Drive HDD Watchdog Timer WDT and Ignition control IGN 4 USB 2 0 port The USB 2 0 ports offer up to 480Mbit s bandwidth a...

Страница 21: ...tensible Host Controller Interface controller and are backward compatible with USB 2 0 USB 1 1 and USB 1 0 devices UEFI USB support is also provided so you can use USB keyboard mouse in UEFI shell env...

Страница 22: ...le the LEDs on the RJ45 connector indicate connection status and speed Active Link LED Right LED Color Status Description Yellow Off Ethernet port is disconnected On Ethernet port is connected and no...

Страница 23: ...following table Indicator Color Description PWR Green Power indicator lid when system is on HDD Red Hard drive indicator flashing when SATA HDD is active WDT Yellow Watchdog timer indicator flashing w...

Страница 24: ...t Controller Interface and are backward compatible with USB 1 1 and USB 1 0 devices UEFI USB support is also provided so you can use USB keyboard mouse in UEFI shell environment xHCI driver is support...

Страница 25: ...m is designed to support passive DP adapter cable You can connect to other display devices using DP to HDMI cable or DP to DVI cable DP to HDMI DP to DVI The system supports dual independent display o...

Страница 26: ...oE automatically detects and determine if the connected device is PoE PD or not before supplying power making it compatible with standard Ethernet devices as well Active Link LED Right LED Color Statu...

Страница 27: ...terminal block which is fit for field usage where DC power is usually provided The screw clamping mechanism on the terminal block offers connection reliability when wiring DC power WARNING Please mak...

Страница 28: ...Description 1 Power button Use this button to turn on or shutdown the system 2 Reset button Use this button to manually reset the system 3 COM port 1 Software programmable RS 232 422 485 port 4 COM po...

Страница 29: ...power button for 5 seconds to force shutdown the system Please note that there is a 5 seconds interval between two on off operations i e once turning off the system you will need to wait for 5 second...

Страница 30: ...le RS 232 422 485 port via 9 pin D Sub male connector The operation mode slew rate and termination of COM1 can be set in BIOS setup utility The following table describes the pin definition of COM port...

Страница 31: ...3 wire RS 232 ports COM2 COM3 COM4 Please refer to COM2 3 4 Port Configuration for configuring operation mode An optional 1 to 3 Y cable is available to connect three RS 232 devices COM2 3 4 Pin 1 to...

Страница 32: ...unction in Windows you need to install corresponding drivers Please refer to the section Driver Installation 2 3 6 SMA Antennae Opening COM port side DIO reserved port side The system offers four SMA...

Страница 33: ...ctors consist of a SO DIMM socket M 2 2280 M key SATA interface port M 2 E key port and a MezIOTM port for application oriented expansion purposes 2 4 1 SO DIMM Memory Socket The system has an interna...

Страница 34: ...he system has an M 2 2230 E key socket that offers PCIe Gen3 x1 and USB2 0 signal for WiFi module installation For SMA antenna installation there are four dedicated openings located on both sides of t...

Страница 35: ...ND 8 9 10 11 12 13 14 15 16 17 18 GND 19 20 21 22 23 Mechanical Key 33 GND 32 35 PETP0 34 37 PETN0 36 39 GND 38 41 PER P0 40 43 PER N0 42 45 GND 44 47 REFCLK_P0 46 49 REFCLK_N0 48 51 GND 50 53 CLKREQ...

Страница 36: ...3 M 2 2280 M Key The system has an M 2 2280 slot SATA signal only for you to install an M 2 SATA SSD for faster access over traditional hard disk drives NOTE The M 2 slot is only compatible with SATA...

Страница 37: ...S_N 11 12 3V3 13 14 3V3 15 GND 16 3V3 17 18 3V3 19 20 21 GND 22 23 24 25 26 27 GND 28 29 30 31 32 33 GND 34 35 36 DEVSLP 37 38 39 GND 40 41 SATA B 42 43 SATA B 44 45 GND 46 47 SATA A 48 49 SATA A 50 P...

Страница 38: ...also mechanically reliable benefited from its 3 point mounted mezzanine structure A MezIOTM module can leverage these signals to implement comprehensive I O functions POC 400 series incorporates MezIO...

Страница 39: ...eserved Reserved 13 14 CLK100_N_0 PCIe clock pair Ground GND 15 16 GND Ground Reserved UID_LED 17 18 PCIE_TXP_1 PCIe data pair Platform reset signal PLT_RST 19 20 PCIE_TXN_1 PCIe data pair USB data pa...

Страница 40: ...al I O 2 5 HDD SSD accommodation USB or ignition power control Model Description Product Photo MezIO R11 SATA port MezIO R12 SATA port 4x isolated DI 4x isolated DO MezIO C180 50 4 port RS 232 422 485...

Страница 41: ...and service this product to avoid injury or damage to the system Please observe all ESD procedures at all times to avoid damaging the equipment Before disassembling your system please make sure the sy...

Страница 42: ...y components such as memory module M 2 modules or MezIOTM module you need to disassemble the POC 400 system enclosure 1 To disassemble POC 400 unfasten the screws shown in the following illustrations...

Страница 43: ...POC 400 Series 43 3 Gently slide the enclosure open 4 Remove the SO DIMM module heatsink by unscrewing the screws indicated to gain access to internal expansion slots...

Страница 44: ...therboard Please follow the procedures below to install the memory module 1 Disassemble the system enclosure 2 The SO DIMM slot can be located once the enclosure and heatsink have been removed 3 To in...

Страница 45: ...POC 400 Series 45 4 Remove the memory thermal pad cover and secure the heatsink with the screws indicated Remove memory thermal pad cover Secure the heatsink 5 Reinstall the system enclosure...

Страница 46: ...0 M key module expansion slot on POC 400 series motherboard Please follow the procedures below for installation 1 Disassemble the system enclosure 2 The M 2 2280 M key expansion can be located once th...

Страница 47: ...POC 400 Series 47 4 Gently press the card down and secure with a screw 5 Reinstall the system enclosure...

Страница 48: ...vidius VPU module installation Please follow the procedures below for installation 1 Disassemble the system enclosure 2 The M 2 E key slot can be located once the enclosure and the heatsink has been r...

Страница 49: ...e module s antennae please refer to the module s user manual on antennae cable connection 5 Remove the M 2 E key thermal pad cover and secure the heatsink with the screws indicated Remove M 2 E key th...

Страница 50: ...lease refer to the illustration below to secure the SMA antenna Secure antenna body on enclosure Install the external antenna 8 Reinstall the system enclosure and attach the external antennae to compl...

Страница 51: ...the MezIOTM Module section For installation please refer to the following procedure 1 Disassemble the system enclosure 2 The MezIOTM module expansion slot can be located once the enclosure has been r...

Страница 52: ...zIOTM port should engage if the three 3 standoffs and screw holes meet Then using the three 3 screws supplied secure the module by fastening a screw on each standoff 5 If you are installing a new MezI...

Страница 53: ...sure gently slide the L shaped enclosure back in place making sure the screw hole on the hinge sits on the inside Place enclosure back in place Make sure hinge sits on the inside 2 Complete installing...

Страница 54: ...POC 400 Series 54 Bottom of the enclosure...

Страница 55: ...tem The DIN rail has been proven to be most beneficial in the industrial environment where space is limited The mount plate comes with two M4 screws Please refer to the illustrations below to install...

Страница 56: ...DIN rail tilting downwards overlap the top clip edge of the mount plate onto the DIN rail first then firmly press the bottom front of the enclosure to clip the bottom edge of the mount plate 3 Confir...

Страница 57: ...mount bracket allows the system to be mounted horizontally Please refer to the following installation procedure to install the wall mount 1 To install secure the wall mount bracket to the bottom of th...

Страница 58: ...all Mount Optional Accessory 1 To install secure the wall mount bracket to the rear side panel of the system enclosure using the M4 screws provided 2 Dimension illustration of the install vertical wal...

Страница 59: ...ibed in section 3 7 3 6 1 Powering On Using the Power Button This is the simplest way to turn on your system The power button on the front panel is a non latched switch and behaves as the ATX mode on...

Страница 60: ...T mode or ATX mode power on off control When using the ATX mode on off control you need a non latch switch The external non latched switch acts exactly the same as the power button on the front panel...

Страница 61: ...tate via issuing Subnet Directed Broadcasts SDB or a magic packet The system implements the Wake on LAN function for the GbE port 1 shown below To enable WOL function and power on your system please f...

Страница 62: ...s 62 3 In Windows systems identify the Local Area Connection of the corresponding Gigabit Controller and click the Configure button 4 Click the Power Management tag and check the following two options...

Страница 63: ...8 D0 04 0A 0B 0C 78 D0 04 0A 0B 0C 78 D0 04 0A 0B 0C 78 D0 04 0A 0B 0C 78 D0 04 0A 0B 0C 78 D0 04 0A 0B 0C 78 D0 04 0A 0B 0C 78 D0 04 0A 0B 0C 78 D0 04 0A 0B 0C 78 D0 04 0A 0B 0C 78 D0 04 0A 0B 0C 78...

Страница 64: ...starts to periodically detect ignition signal Note that only MCU is working at this moment and the overall power consumption is less than 2 mW 2 Ignition signal is active both 12VDC and 24VDC ignition...

Страница 65: ...module will cancel the power off delay process and keep the system running System hard off In some cases system may fail to shutdown via a soft off operation due to system application halts The ignit...

Страница 66: ...minal block shared with DC power input For in vehicle ignition control wiring please do the following 1 Connect car Battery line 12V for sedan 24V for bus truck to V 2 Connect car Batter GND line to G...

Страница 67: ...g the power button By default Windows 7 8 10 goes to sleep S3 mode when power button is pressed As sleep S3 is not a complete shutdown behavior the ignition control function does not recognize the fin...

Страница 68: ...mode without power on and power off delay User can only use the power button on the front panel to turn on or turn off the system Mode Power on Delay Power off Delay Hard off Timeout 0 N A N A N A Mod...

Страница 69: ...1 minute 10 minutes 10 A 3 minutes 10 minutes 10 minutes 11 B 3 minutes 30 minutes 10 minutes 12 C 10 minutes 30 minutes 10 minutes Mode 13 D Mode 14 E Mode 13 and Mode 14 are ignition power control...

Страница 70: ...In this section we ll illustrate some BIOS settings you may need to set or change prior to operating system installation Please always make sure you understand the effect of change before you proceed...

Страница 71: ...ransmission you may set the Slew Rate option as High to improve signal quality For RS 422 485 communication the RS 422 485 Termination option determines whether to enable disable internal termination...

Страница 72: ...2 485 transmission you may set the Slew Rate option as High to improve signal quality For RS 422 485 communication the RS 422 485 Termination option determines whether to enable disable internal termi...

Страница 73: ...CPU to wake up and be 100 operational Depending on your application you can configure these options to have higher performance disable C States or lower power consumption enable C States To set C Stat...

Страница 74: ...ke on LAN Wake on LAN WOL is a mechanism which allows you to turn on your system via Ethernet connection To utilize Wake on LAN function you have to enable this option first in BIOS settings Please re...

Страница 75: ...s supplied When you want to use the AT mode remote on off control function you have to set this option to S0 Power On Please refer to section 3 7 2 for instructions of using AT mode remote on off cont...

Страница 76: ...the first device to boot or the last in the boot sequence To set the newly installed boot device as the first or last boot device 1 Press F2 when the system boots up to enter the BIOS setup utility 2...

Страница 77: ...ed the user must stop the watchdog timer once booted into the OS This guarantees the system can always boot into the OS otherwise another booting process will be initiated For information about progra...

Страница 78: ...n tested in Neousys Technology Inc Microsoft Windows 10 Professional 64 bit Microsoft Windows 10 IoT Enterprise 64 bit Ubuntu 20 04 2 LTS 5 8 kernel NOTE For Linux system user may need to manually com...

Страница 79: ...ally please refer to the following procedures 1 Insert the Drivers Utilities DVD into a USB DVD drive connect to your system A setup utility launches and the following dialog appears 2 Click on Automa...

Страница 80: ...below Windows 10 x64 The recommended driver installation sequence is 1 Chipset driver x Driver_Pool Chipset_ELK Win_10_64 SetupChipset exe 2 Graphics driver x Driver_Pool Graphics_ELK Win_10_64 igxpin...

Страница 81: ...e in prior to use these functions Please note that you must install WDT_DIO_Setup_v2 3 1 or later versions NOTE Please install WDT_DIO_Setup_v2 3 1 or later versions Windows 10 x64 Please execute the...

Страница 82: ...supports Windows 10 x64 and WOW64 platform For other OS support please contact Neousys Technology for further information Installing WDT_DIO Library The WDT_DIO function library is delivered in the fo...

Страница 83: ...llation To setup WDT DIO Library please follow instructions below 1 Execute WDT_DIO_Setup 2 3 1 exe and the following dialog appears 2 Click Next and specify the directory of installing related files...

Страница 84: ...y will take effect after the system has rebooted 4 When programming your WDT or DIO program the related files are located in Header File Include Library File Lib Function Reference Manual Sample Code...

Страница 85: ...OL SetWDT WORD tick BYTE unit Description Set timeout value and unit for watchdog timer When InitWDT is invoked a default timeout value of 255 seconds is assigned Parameter tick WORD value 1 65535 to...

Страница 86: ...nction returns TRUE otherwise FALSE Usage BOOL bRet StartWDT ResetWDT Syntax BOOL ResetWDT void Description Reset the timeout value to the value given by SetWDT If ResetWDT or StopWDT is not invoked b...

Страница 87: ...e for logic low is 0 1 5V The digital output function of System series is implemented using Power MOSFET Analog Device iCoupler component The DO channels are configured as NO normally open configurati...

Страница 88: ...POC 400 Series 88 DIO Pin Definition Pin Pin Definition Pin Pin Definition 1 DI_0 9 DI_GND 2 DI_1 10 DI_2 3 DI_GND 11 DI_3 4 DO_GND 12 DO_GND 5 DO_0 13 DO_2 6 DO_1 14 DO_3 7 DO_GND 15 8 VDD...

Страница 89: ...Line BYTE ch Description Read a single channel of isolated digital input Parameter ch BYTE value specifies the DI channel to be read ch should be a value of 0 3 Return Value The status TRUE or FALSE o...

Страница 90: ...cifies the status of DO channel Return Value None Usage BYTE ch 3 DI channel 3 BOOL DOChValue TRUE DOWriteLine ch DOChValue write DO channel 3 as TRUE DOWritePort Syntax void DOWritePort WORD value De...

Страница 91: ...es the status of DO channel Return Value None Usage BYTE ch 3 DI channel 3 BOOL DOChValue TRUE DOWriteLineChecked ch DOChValue write DO channel 3 as TRUE DOWritePortChecked Syntax void DOWritePortChec...

Страница 92: ...at interrupt is generated when level change set to 0 or on rising falling edge set to 1 for the corresponding channel s edgeType WORD value specifies that interrupt is generated on rising edge set to...

Страница 93: ...oid __stdcall callback_func COS_INT_CALLBACK_ARG arg Return Value TRUE if setup successes FALSE if setup failed Usage void __stdcall callback_func COS_INT_CALLBACK_ARG arg printf data 0x 02x flag 0x 0...

Страница 94: ...h include windows h include WDT_DIO h Step 0 define a Change of State Interrupt callback function void __stdcall callback_function COS_INT_CALLBACK_ARG arg printf data 0x 02x flag 0x 02x seq 02d n arg...

Страница 95: ...return 2 printf SetupDICOS PASSED n Step 3 register the callback function if RegisterCallbackDICOS callback_function printf RegisterCallbackDICOS FAILED n return 3 printf RegisterCallbackDICOS PASSED...

Страница 96: ...POC 400 Series 96 printf StopDICOS PASSED n printf npress any key to exit n system pause nul return 0...

Страница 97: ...Appendix A Watchdog Timer Isolated DIO to install the driver package prior to programming PoE on off control function PoE On Off Control Function Reference GetStatusPoEPort Syntax BYTE GetStatusPoEPor...

Страница 98: ...rn on PoE power of designated PoE port Parameter port BYTE value specifies the index of PoE port Please refer to the following illustration port should be a value of 1 2 Return Value TRUE if enabled s...

Страница 99: ...n off PoE power of designated PoE port Parameter port BYTE value specifies the index of PoE port Please refer to the following illustration port should be a value of 1 2 Return Value TRUE if disabled...

Отзывы: