background image

ii

 

Disclaimers 

 

This  manual  has  been  carefully  checked  and  believed  to  contain  accurate  information. 
Axiomtek  Co.,  Ltd.  assumes  no  responsibility  for  any  infringements  of  patents  or  any  third 
party

’s rights, and any liability arising from such use.   

Axiomtek  does  not  warrant  or  assume  any  legal  liability  or  responsibility  for  the  accuracy, 
completeness, or usefulness of any information in this document. Axiomtek does not make any 
commitment to update the information in this manual. 

Axiomtek  reserves  the  right  to  change  or  revise  this  document  and/or  product  at  any  time 
without notice. 

No part of this document may be reproduced, stored in a retrieval system, or transmitted, in any 
form or by any means, electronic, mechanical, photocopying, recording, or otherwise, without 
the prior written permission of Axiomtek Co., Ltd. 

 

 

 

CAUTION 

 
If  you  replace  wrong  batteries,  it  causes  the  danger  of  explosion.  It  is  recommended  by the 
manufacturer  that  you  follow  the  manufacturer

’s  instructions  to  only  replace  the  same  or 

equivalent type of battery and dispose of used ones. 

©

Copyright 2022 Axiomtek Co., Ltd. 

All Rights Reserved 

February 2022, Version A1 

Printed in Taiwan

 

 

 
 

 

Summary of Contents for MANO321 Series

Page 1: ...MANO321 Series Intel Celeron Processor J6412 Mini ITX Motherboard User s Manual ...

Page 2: ...anual Axiomtek reserves the right to change or revise this document and or product at any time without notice No part of this document may be reproduced stored in a retrieval system or transmitted in any form or by any means electronic mechanical photocopying recording or otherwise without the prior written permission of Axiomtek Co Ltd CAUTION If you replace wrong batteries it causes the danger o...

Page 3: ...e system unit chassis for a few seconds It discharges static electricity from your body Wear a wrist grounding strap available from most electronic component stores when handling boards and components Trademarks Acknowledgments Axiomtek is a trademark of Axiomtek Co Ltd Intel and Celeron are trademarks of Intel Corporation Windows is a trademark of Microsoft Corporation AMI is a trademark of Ameri...

Page 4: ...1 12 2 4 2 COM Headers CN2 CN6 12 2 4 3 Front Panel Header CN10 13 2 4 4 Digital IO Header CN11 13 2 4 5 SPI Header CN12 14 2 4 6 VGA Header CN14 14 2 4 7 SATA 3 0 Connectors CN15 14 2 4 8 PCI Express x4 Slot CN16 15 2 4 9 Ethernet Ports CN17 and CN18 16 2 4 10 Audio Jack CN19 17 2 4 11 PCI Express Mini Card Connector CN20 17 2 4 12 USB3 2 Gen1 Stack Ports CN21 and CN22 18 2 4 13 HDMI Connector CN...

Page 5: ...Key B Connector SCN2 24 Section 3 AMI BIOS Setup Utility 25 3 1 Starting 25 3 2 Navigation Keys 25 3 3 Main Menu 27 3 4 Advanced Menu 28 3 5 Chipset Menu 42 3 6 Security Menu 50 3 7 Boot Menu 51 3 8 Save Exit Menu 52 Appendix A Watchdog Timer 53 A 1 About Watchdog Timer 53 A 2 Sample Program 53 Appendix B Digital I O 55 B 1 About Digital I O 55 B 2 Sample Program 55 ...

Page 6: ...vi This page is intentionally left blank ...

Page 7: ...S 232 providing robust storage and I O options Users also can increase board functionality with PCI Express x4 and full type PCI Express Mini Card slot The high quality MANO321 allows four display interfaces via VGA HDMI LVDS and eDP in quadruplicate views making it an ideal solution for gaming workstation digital signage medical and other IoT M2M applications 1 1 Features Intel Celeron J6412 Proc...

Page 8: ...rial ATA One SATA 3 0 port 6Gb s Audio Realtek Codec ALC897 Support Line out on the rear I O Support Line in MIC in Line out Speaker in box header internal Display Intel Integrated Graphics One HDMI connector Resolution max up to 4096x2160 24Hz One VGA header Resolution max up to 1920x1200 One 18 24 bit dual channel LVDS and one 8 pin inverter connector LVDS resolution is max up to 1920x1200 One E...

Page 9: ...C jack power input connector Operating Temperature 0 C 60 C Storage Temperature 40 C 85 C Form Factor Mini ITX 6 7 x 6 7 17 0cm x 17 0cm Note All specifications and images are subject to change without notice 1 3 Utilities Supported Chipset driver Graphics driver Intel ME driver Ethernet driver Audio driver ...

Page 10: ...MANO321 Mini ITX Motherboard 4 Introduction 1 4 Block Diagram ...

Page 11: ...MANO321 Mini ITX Motherboard Board and Pin Assignments 5 Section 2 Board and Pin Assignments 2 1 Board Layout Top View ...

Page 12: ...MANO321 Mini ITX Motherboard 6 Board and Pin Assignments Bottom View ...

Page 13: ...2 COM1 Data Power Select Jumper JP1 7 DDR4 SO DIMM Connectors DIMM1 DIMM2 23 VGA Header CN14 8 SMBus Header CN28 24 M 2 Key B Connector SCN2 9 COM2 COM6 Headers CN2 CN6 25 SIM Card Slot SCN1 10 SATA 3 0 Connector CN15 26 eDP Connector CN50 11 SATA Power Connector CN51 27 DC Jack Power Connector DCJACK1 12 Front Panel Header CN10 28 HDMI Connector CN23 13 COM2 6 Data Power Select Jumper JP2 JP6 29 ...

Page 14: ... 3 Jumper Settings Jumper is a small component consisting of jumper clip and jumper pins Install jumper clip on 2 jumper pins to close And remove jumper clip from 2 jumper pins to open The following illustration shows how to set up jumper Before applying power to MANO321 Series please make sure all the jumpers are in factory default position Below you can find a summary table of all jumpers and on...

Page 15: ...pability on DCD and 12V on RI by setting JP2 JP6 2 3 3 LVDS VDD Select JP11 The motherboard supports voltage selection for flat panel displays Use this 2x3 pin pitch 2 0mm jumper to set up VDD power of the LVDS connector To prevent hardware damage before connecting please make sure that the input voltage of LVDS panel is correct Function Setting Power Set COM pin 1 to 5V 1 3 close Data Set COM pin...

Page 16: ...the computer and unplug the power cord 2 Remove the onboard battery 3 Move the jumper clip from pins 1 2 default to pins 2 3 Keep the clip on pins 2 3 for about 5 10 seconds then move the clip back to pins 1 2 4 Re install the battery 5 Plug the power cord and turn ON the computer 6 Hold down the Del key during the boot process and enter BIOS setup to re enter data 2 3 5 AT ATX Power Mode Select J...

Page 17: ...10 Front Panel Header CN11 Digital I O Header CN12 SPI Header CN14 VGA Header CN15 SATA 3 0 Connector CN16 PCI Express x4 Slot CN17 CN18 Ethernet Ports CN19 Audio Jack CN20 PCI Express Mini Card Connector CN21 CN22 USB 3 2 Gen 1 Stack Ports CN23 HDMI Connector CN24 CN25 USB 2 0 Headers CN26 4 pin ATX Power Input Connector CN27 I2C Header CN28 SMBus Header CN29 LVDS Signal Header CN50 eDP Connector...

Page 18: ...3 3 1 2 4 2 COM2 COM6 Headers CN2 CN6 The motherboard comes with four 2x5 pin pitch 2 00mm headers for COM2 COM6 serial port interfaces It has power capability on DCD and RI pins by setting jumper JP2 JP6 COM2 COM6 Note COM 2 is RS232 422 485 COM3 COM6 only support RS232 Pin 1 of COM2 6 can be DCD 5V and pin 8 of COM2 6 can be RI 12V by selecting JP2 JP6 see section 3 3 2 Pin RS 232 RS 422 RS 485 ...

Page 19: ...Button Pin 9 and 10 connect the power button on front panel to the board which allows users to turn on or off power supply System Reset Switch Pin 11 and 12 connect the case mounted reset switch that reboots your computer without turning off the power switch It is a better way to reboot your system for a longer life of system power supply HDD Activity LED This connection is linked to hard drive ac...

Page 20: ...logy Attachment Serial ATA or SATA connectors are for SATA 3 0 interfaces allowing up to 6 0Gb s data transfer rate They are computer bus interfaces for connecting to devices such as hard disk drives Pin Signal 1 NC 2 WP 3 VCC 4 GND 5 CS 6 CLK 7 MISO 8 MOSI 9 HD Pin Signal Pin Signal 1 VGA_RED 2 5V 3 VGA_GRN 4 GND 5 VGA_BLUE 6 NC 7 NC 8 VGA_5VDDA 9 GND 10 HSYNC_C 11 GND 12 VSYNC_C 13 GND 14 5VDDCL...

Page 21: ... SMDAT A6 NC B7 GND A7 NC B8 3 3V A8 NC B9 NC A9 3 3V B10 3 3Vaux A10 3 3V B11 WAKE A11 PERST B12 NC A12 GND B13 GND A13 REFCLK B14 PETp0 A14 REFCLK B15 PETn0 A15 GND B16 GND A16 PERp0 B17 PRSNT2 A17 PERn0 B18 GND A18 GND B19 PETp1 A19 NC B20 PETn1 A20 GND B21 GND A21 PERp1 B22 GND A22 PERn1 B23 NC A23 GND B24 NC A24 GND B25 GND A25 NC B26 GND A26 NC B27 NC A27 GND B28 NC A28 GND B29 GND A29 NC B3...

Page 22: ...T hub CN18 CN17 Note Speed LED turns orange for 1000Mbps or green for 100Mbps Pin 1000 Base T 100 10 Base T Description L1 BI_DA TX Bidirectional or Transmit Data L2 BI_DA TX Bidirectional or Transmit Data L3 BI_DB RX Bidirectional or Receive Data L4 BI_DC N C Bidirectional or Not Connected L5 BI_DC N C Bidirectional or Not Connected L6 BI_DB RX Bidirectional or Receive Data L7 BI_DD N C Bidirecti...

Page 23: ...Color Signal Green Line out Pin Signal Pin Signal 1 WAKE 2 3 3VAUX 3 NC 4 GND 5 NC 6 1 5V 7 CLKREQ 8 UIM_PWR NC 9 GND 10 UIM_DAT NC 11 REFCLK 12 UIM_CLK NC 13 REFCLK 14 UIM_REST NC 15 GND 16 UIM_VPP NC 17 NC 18 GND 19 NC 20 3 3VAUX 21 GND 22 PERST 23 PCIE_RX_DP 24 3 3VAUX 25 PCIE_RX_DN 26 GND 27 GND 28 1 5V 29 GND 30 SMB_CLK 31 PCIE_TX_DN 32 SMB_DATA 33 PCIE_TX_DP 34 GND 35 GND 36 USB 4_D 37 GND 3...

Page 24: ...n audio over a single cable 2 4 14 USB 2 0 Headers CN24 and CN25 The CN24 and CN25 are 2x4 pin pitch 2 00mm headers for USB 2 0 interface Pin Signal Pin Signal 1 USB_PWR 10 USB_PWR 2 USB 1_D 11 USB 2_D 3 USB 1_D 12 USB 2_D 4 GND 13 GND 5 SSRX1 14 SSRX2 6 SSRX1 15 SSRX2 7 GND 16 GND 8 SSTX1 17 SSTX2 9 SSTX1 18 SSTX2 Pin Signal Pin Signal 1 HDMI OUT_DATA2 2 GND 3 HDMI OUT_DATA2 4 HDMI OUT_DATA1 5 GN...

Page 25: ... firmly fits into this connector Loose connection may cause system instability By default the motherboard comes with a 4 pin ATX 90 angle connector CN9 for DC 9 20V power input The CN26 provides 12V to the CPU power circuit 2 4 16 I2C Connector CN27 The CN27 is a 4 pin pitch 2 00mm connector for SMBus interface which is compatible with I2C 2 4 17 SMBus Connectors CN28 The CN28 is a 5 pin pitch 2 0...

Page 26: ...Pin Signal 1 VDD 2 VDD 3 VDD 4 VDD 5 VDD 6 VDD 7 LVDS_EDID_SCL 8 LVDS_EDID_SDA 9 GND 10 GND 11 LVDS_B_DATA0 12 LVDS_B_DATA3 13 LVDS_B_DATA0 14 LVDS_B_DATA3 15 GND 16 GND 17 LVDS_B_DATA1 18 LVDS_B_CLK 19 LVDS_B_DATA1 20 LVDS_B_CLK 21 GND 22 GND 23 LVDS_B_DATA2 24 LVDS_A_DATA0 25 LVDS_B_DATA2 26 LVDS_A_DATA0 27 GND 28 GND 29 LVDS_A_DATA3 30 LVDS_A_DATA1 31 LVDS_A_DATA3 32 LVDS_A_DATA1 33 GND 34 GND ...

Page 27: ...y can t be accessed simultaneously Panel power VDD is 3 3V by default 5V or 12V is selectable by jumper JP11 see section 3 3 3 Pin Signal Pin Signal 1 VDD 2 VDD 3 VDD 4 VDD 5 NC 6 GND 7 GND 8 GND 9 GND 10 EDP_HPD 11 GND 12 EDP_DATA3 13 EDP_DATA3 14 GND 15 EDP_DATA2 16 EDP_DATA2 17 GND 18 EDP_DATA1 19 EDP_DATA1 20 GND 21 EDP_DATA0 22 EDP_DATA0 23 GND 24 EDP_MUX 25 EDP_MUX 26 GND 27 VSS_EDP_AMOLED 2...

Page 28: ... 25mm header for LVDS backlight control interface 2 4 23 DC Jack Power Connector DCJACK1 The DCJACK1 is a DC jack with screw supporting 9 20VDC power input connector Firmly insert at least 90W adapter into this connector Loose connection may cause system instability and make sure all components devices are properly installed before connecting Pin Signal 1 12V 2 GND 3 GND 4 5V Pin Signal Pin Signal...

Page 29: ...or BAT1 The BAT1 is a 2 pin pitch 1 25mm connector for CMOS battery interface 2 4 25 SIM Card Slot SCN1 The SCN1 is for inserting SIM Card which is mainly used in wireless network application Pin Signal 1 3V 2 GND Pin Signal 1 UIM_PWR 2 UIM_RESET 3 UIM_CLK 4 N A 5 GND 6 VPP 7 UIM_DATA 1 ...

Page 30: ...SB_D 8 NC 9 USB_D 10 DAS 11 GND 12 Key B 13 Key B 14 15 16 17 18 19 20 NC 21 CONFIG_0 22 NC 23 NC 24 NC 25 NC 26 NC 27 GND 28 NC 29 PCIE1_RX_N USB3_ RX_N 30 UIM_RST 31 PCIE1_RX_P USB3_ RX_P 32 UIM_CLK 33 GND 34 UIM_DATA 35 PCIE1_TX_N USB3_ TX_N 36 UIM_PWR 37 PCIE1_TX_N USB3_ TX_N 38 DEVSLP 39 GND 40 NC 41 PCIE0_RX_N SATA1 _RX_P 42 NC 43 PCIE0_RX_P SATA1 _RX_N 44 NC 45 GND 46 NC 47 PCIE0_TX_N SATA1...

Page 31: ...ce you enter the BIOS the main BIOS setup menu displays You can access the other setup screens from the main BIOS setup menu such as the Advanced and Chipset menus Note If your computer cannot boot after making and saving system changes with BIOS setup you can restore BIOS optimal defaults by setting JP3 see section 3 3 3 It is strongly recommended that you should avoid changing the chipset s defa...

Page 32: ...b screens Plus Minus PU PD The Plus and Minus Arrow keys allow you to change the field value of a particular setup item F1 The F1 key allows you to Show descriptions of the function keys F2 The F2 key allows you to Restore the previous BIOS settings for the current submenus F9 The F9 key allows you to Load the Optimized BIOS default settings for the current submenus F10 The F10 key allows you to S...

Page 33: ...w The Main BIOS setup screen is shown below BIOS Information Display system BIOS information System Language Use this option to choose the system default language System Date Time Use this option to change the system time and date Highlight System Time or System Date using the Arrow keys Enter new values through the keyboard Press the Tab key or the Arrow keys to move between fields The date must ...

Page 34: ...d other system devices You can select any of the items in the left frame of the screen to go to the sub menus CPU Configuration Trusted Computing ACPI Settings F81966 Super IO Configuration Hardware Monitor USB Configuration Network Stack Configuration Realtek PCIe GBE Family Controller For items marked with please press Enter for more options ...

Page 35: ...MANO321 Mini ITX Motherboard AMI BIOS Setup Utility 29 CPU Configuration This screen shows CPU information ...

Page 36: ...le or disable BIOS support for security device OS will not show security device TCG EFI protocol and INT1A interface will not be available SHA256 PCR Bank Enable or Disable SHA256 PCR Bank SHA384 PCR Bank Enable or Disable SHA384 PCR Bank SM3_256 PCR Bank Enable or Disable SM3_256 PCR Bank Pending operation Schedule an Operation for the Security Device Note Your computer will reboot during restart...

Page 37: ... Physical Presence Spec Version Select to Tell O S to support PPI Spec Version 1 2 or 1 3 Note Some HCK tests might not support 1 3 Device Select TPM 1 2 will restrict support to TPM 1 2 devices TPM 2 0 will restrict support to TPM 2 0 devices Auto will support both with the default set to TPM 2 0 devices if not found TPM 1 2 devices will be enumerated ...

Page 38: ...e of system when power is re applied after a power failure Power Off Keep the power off until the power button is pressed Power On Restore power to the computer PME Wake up from S5 Enable system to wake from S5 using PME event Wake system with Fixed Time Enable or disable system wake on alarm event When enabled system will wake on the hr min sec specified USB Device Wakeup from S3 S4 When enabled ...

Page 39: ...ected option A description of the selected item appears on the right side of the screen For items marked with please press Enter for more options Serial Port 1 6 Configuration Use these items to set parameters related to serial port 1 6 Watch Dog Degree Watchdog degree selection in minute or second Watch Dog Timer Watchdog timer value range from 1 to 255 Set 0 will disable watchdog timer ...

Page 40: ...al port 1 Auto IO 3F8h IRQ 4 IO 3F8h IRQ 3 4 5 6 7 9 10 11 12 IO 2F8h IRQ 3 4 5 6 7 9 10 11 12 IO 3E8h IRQ 3 4 5 6 7 9 10 11 12 IO 2E8h IRQ 3 4 5 6 7 9 10 11 12 For serial port 2 Auto IO 2F8h IRQ 3 IO 3F8h IRQ 3 4 5 6 7 9 10 11 12 IO 2F8h IRQ 3 4 5 6 7 9 10 11 12 IO 3E8h IRQ 3 4 5 6 7 9 10 11 12 IO 2E8h IRQ 3 4 5 6 7 9 10 11 12 COM1 COM2 Port Type Select RS 232 422 485 mode for serial port 1 or po...

Page 41: ... setting for Super IO device For serial port 3 Auto IO 3E8h IRQ 7 IO 3E8h IRQ 3 4 5 6 7 9 10 11 12 IO 2E8h IRQ 3 4 5 6 7 9 10 11 12 IO 2F0h IRQ 3 4 5 6 7 9 10 11 12 IO 2E0h IRQ 3 4 5 6 7 9 10 11 12 For serial port 4 Auto IO 2E8h IRQ 7 IO 3E8h IRQ 3 4 5 6 7 9 10 11 12 IO 2E8h IRQ 3 4 5 6 7 9 10 11 12 IO 2F0h IRQ 3 4 5 6 7 9 10 11 12 IO 2E0h IRQ 3 4 5 6 7 9 10 11 12 ...

Page 42: ...3E8h IRQ 3 4 5 6 7 9 10 11 12 IO 2E8h IRQ 3 4 5 6 7 9 10 11 12 IO 2F0h IRQ 3 4 5 6 7 9 10 11 12 IO 2E0h IRQ 3 4 5 6 7 9 10 11 12 For serial port 6 Auto IO 2F0h IRQ 7 IO 3E8h IRQ 3 4 5 6 7 9 10 11 12 IO 2E8h IRQ 3 4 5 6 7 9 10 11 12 IO 2F0h IRQ 3 4 5 6 7 9 10 11 12 IO 2E0h IRQ 3 4 5 6 7 9 10 11 12 ...

Page 43: ...ITX Motherboard AMI BIOS Setup Utility 37 Hardware Monitor This screen monitors hardware health status This screen displays the temperature of system and CPU system voltages VCCIN DRAM 5V 12V VCC 3 3V VSB 3 3V VBAT ...

Page 44: ...MANO321 Mini ITX Motherboard 38 AMI BIOS Setup Utility USB Configuration USB Devices Display all detected USB devices ...

Page 45: ...MANO321 Mini ITX Motherboard AMI BIOS Setup Utility 39 Network Stack Configuration Network Stack Enable or disable UEFI Network Stack ...

Page 46: ...MANO321 Mini ITX Motherboard 40 AMI BIOS Setup Utility NVMe Configuration Displays information on your M 2 NVME PCIe SSD if installed ...

Page 47: ...MANO321 Mini ITX Motherboard AMI BIOS Setup Utility 41 Realtek PCIe GBE Family Controller This screen shows the LAN device information ...

Page 48: ...enu allows users to change the advanced chipset settings You can select any of the items in the left frame of the screen to go to the sub menus System Agent SA Configuration PCH IO Configuration Onboard Device LVDS Panel Setting For items marked with please press Enter for more options ...

Page 49: ...aphics Configuration Select to open sub menu for parameters related to graphics configuration VT d VT d capability X2APIC Opt Out Enable or Disable X2APIC_OPT_OUT bit DMA Control Guarantee Enable or Disable DMA_Control_Guarantee bit IGD VTD Enable Enable or Disable IGD VTD IOP VTD Enable Enable or Disable IOP VTD Above 4GB MMIO BIOS assignment This is enabled automatically when Aperture Size is se...

Page 50: ...n can select the Aperture Size Note Above 4GB MMIO BIOS assignment is automatically enabled when selecting 2048MB aperture To use this feature please disable CSM Support DVMT Pre Allocated Select DVMT 5 0 Pre Allocated Fixed Graphics Memory size used by the Internal Graphics Device DVMT Total Gfx Mem Select DVMT 5 0 Total Graphic Memory size used by the Internal Graphic Device DiSM Size DiSM Size ...

Page 51: ...ini ITX Motherboard AMI BIOS Setup Utility 45 PCH IO Configuration This screen allows you to set PCH parameters SATA Configuration SATA device options settings HD Audio HD Audio Subsystem Configuration Settings ...

Page 52: ...Utility SATA Configuration During system boot up BIOS automatically detects the presence of SATA devices In the SATA Configuration menu you can see all currently installed SATA device s SATA Controller s Enable or disable the SATA Controller feature ...

Page 53: ...MANO321 Mini ITX Motherboard AMI BIOS Setup Utility 47 HD Audio Control detection of the HD Audio device Disabled HDA will be unconditionally disabled Enabled HDA will be unconditionally enabled ...

Page 54: ...21 Mini ITX Motherboard 48 AMI BIOS Setup Utility Onboard Device Onboard Gigabit LAN 1 2 Enable or disable onboard Gigabit LAN 1 2 Onboard LAN1 LAN2 Option ROM Enable or disable onboard LAN1 LAN2 Option ROM ...

Page 55: ...Mini ITX Motherboard AMI BIOS Setup Utility 49 LVDS Panel Setting LVDS Panel Resolution Allows user to set LVDS Resolution Default 1024x768 LVDS Panel Color Depth Allows user to set LVDS bit rate Default 24 bit ...

Page 56: ...X Motherboard 50 AMI BIOS Setup Utility 3 6 Security Menu The Security menu allows users to change the security settings for the system Administrator Password Set administrator password User Password Set user password ...

Page 57: ...inite waiting Bootup NumLock State Use this item to select the power on state for the keyboard NumLock Boot Success Beep Enable or disable beep sound after successful boot Quiet Boot Select to display either POST output messages or a splash screen during boot up Boot Option Priorities These are settings for boot priority Specify the boot device priority sequence from the available devices Default ...

Page 58: ...h optimal or fail safe default values Save Changes and Reset Reset the system after saving the changes Discard Changes and Exit Exit system setup without saving any changes Restore Defaults Restore or load default values for all the setup options Boot Override Select a drive to immediately boot that device regardless of the current boot order ...

Page 59: ...ically If the counter ever reaches zero which means the software has crashed the system will reboot A 2 Sample Program include stdafx h include windows h include stdio h include tchar h include stdlib h ifdef _DEBUG define new DEBUG_NEW endif pragma comment lib User32 lib define IDT_TIMER WM_USER 200 define _CRT_SECURE_NO_WARNINGS 1 define setbit value x value 1 x define clrbit value x value 1 x H...

Page 60: ...07 set LDN07 FA 10 to 11 lpFnDll_Set_IO 0x2e 0xFA WDTDATA lpFnDll_Get_IO 0x2f WDTDATA setbit WDTDATA 0 lpFnDll_Set_IO 0x2f WDTDATA if unit 1 lpFnDll_Set_IO 0x2e 0xF6 lpFnDll_Set_IO 0x2f WDTtimer start watchdog counting lpFnDll_Set_IO 0x2e 0xF5 WDTDATA lpFnDll_Get_IO 0x2f WDTDATA setbit WDTDATA 5 lpFnDll_Set_IO 0x2f WDTDATA else if unit 2 set WDT Timer lpFnDll_Set_IO 0x2e 0xF6 lpFnDll_Set_IO 0x2f W...

Page 61: ... tchar h include stdlib h pragma comment lib User32 lib define IDT_TIMER WM_USER 200 define _CRT_SECURE_NO_WARNINGS 1 define setbit value x value 1 x define clrbit value x value 1 x define GPIO_HIGH 1 define GPIO_LOW 0 HINSTANCE hinstLibDLL NULL LONG u8AHData 0 LONG u88HData 0 LONG u89HData 0 static int DI0status 1 static int DI1status 1 static int DI2status 1 static int DI3status 1 typedef ULONG ...

Page 62: ...88HData 88h 1 1 GPIO81 DO1 output mode set 1 or input mode set 0 lpFnDll_Set_IO 0x2e 0x88 u88HData lpFnDll_Get_IO 0x2f u88HData setbit u88HData 1 lpFnDll_Set_IO 0x2f u88HData 88h 2 1 GPIO82 DO2 output mode set 1 or input mode set 0 lpFnDll_Set_IO 0x2e 0x88 u88HData lpFnDll_Get_IO 0x2f u88HData setbit u88HData 2 lpFnDll_Set_IO 0x2f u88HData 88h 3 1 GPIO83 DO3 output mode set 1 or input mode set 0 l...

Page 63: ...lse DI0status GPIO_LOW if 0x20 u8AHData GPIO85 DI1 status DI1status GPIO_HIGH else DI1status GPIO_LOW if 0x40 u8AHData GPIO86 DI2 status DI2status GPIO_HIGH else DI2status GPIO_LOW if 0x80 u8AHData GPIO87 DI3 status DI3status GPIO_HIGH else DI3status GPIO_LOW if DI0status GPIO_LOW DI1status GPIO_LOW DI2status GPIO_LOW DI3status GPIO_LOW printf All DINPUT status Low n else if DI0status GPIO_HIGH DI...

Reviews: