IA261/262 WinCE User’s Manual First Edition, January 2008 www.moxa.com/product Moxa Inc. Tel: +886-2-2910-1230 Fax: +886-2-2910-1231 Web: www.moxa.
IA261/262 WinCE User’s Manual Introduction 1-6Product Software Specifications IA261/262 WinCE ready-to-run embedded computers are network centric /
IA261/262 WinCE User’s Manual Introduction 1-7y Network Utilities (IpConfig, Ping, Route) - Utilities for troubleshooting various network problems.
IA261/262 WinCE User’s Manual Introduction 1-8IA26X-CE computer, please format them as the FAT file system on your PC. Hive-Based Registry-Contrast
IA261/262 WinCE User’s Manual Introduction 1-9CAN Ports (IA262 Only) The IA262-CE computer embedded two CAN ports. The CAN (Controller Area Network)
22 Chapter 2 Getting Start In this chapter, we explain how to operate an IA26X-CE computer via a PC near you. For clarity, this PC is called a deve
IA261/262 WinCE User’s Manual Getting Start 2-2Powering on IA261/262 Connect the power source located at the top side of the unit to boot up the sys
IA261/262 WinCE User’s Manual Getting Start 2-3Operating IA26X-CE Computer Via Serial Console The serial console port gives users a convenient way o
IA261/262 WinCE User’s Manual Getting Start 2-42. Right-Click the LAN icon and click the [property]. 3. Click “OK” button after configuration is
IA261/262 WinCE User’s Manual Getting Start 2-5User/Group Management User Group: You should assign specific services, such as ftp and telnet, to def
IA261/262 WinCE User’s Manual Getting Start 2-6Adjusting System Time Setting the System Time Manually: Use the date, and time commands to query the
IA261/262 WinCE User’s Manual The software described in this manual is furnished under a license agreement and may be used only in accordance with t
IA261/262 WinCE User’s Manual Getting Start 2-7Address: 80 86 33 33 34 12 DHCP Enabled: NO Ethernet adapter Local Area Connection: IP Address: 192.1
IA261/262 WinCE User’s Manual Getting Start 2-8SNMP Manager An SNMP manager is an SNMP application that generates queries to SNMP-agent applications
IA261/262 WinCE User’s Manual Getting Start 2-9Data:38 38 38 38 38 38 38 38 Send Msg Success! Receive message: canapp <port> <-rx > \&g
33 Chapter 3 Management Tools The IA26X-CE series ready-to-run embedded computers are network-centric platforms and are designed to serve as excell
IA261/262 WinCE User’s Manual Management Tools 3-2 System Information The first page displays the system information of the IA26X-CE computer, includ
IA261/262 WinCE User’s Manual Management Tools 3-3 Following figure indicates condition of IA261-CE. Following figure indicates condition of IA262-
IA261/262 WinCE User’s Manual Management Tools 3-4 Process (Thread) Monitoring/Control At runtime, the IA26X-CE computer manages up to 32,000 applica
IA261/262 WinCE User’s Manual Management Tools 3-5 You can also adjust the time automatically by using SNTP. Click on the check box to enable the se
IA261/262 WinCE User’s Manual Management Tools 3-6 Note: You must restart (reboot) your IA26X-CE to make the setting take effect. User/Group Managem
IA261/262 WinCE User’s Manual Management Tools 3-7
Table of Contents Chapter 1 Introduction ...1-1 Over
IA261/262 WinCE User’s Manual Management Tools 3-8 Auto Launch Configuration You can specify programs to execute automatically after booting up. Clic
IA261/262 WinCE User’s Manual Management Tools 3-9 In this administration page, you can create a new web site or create a virtual web path for your
IA261/262 WinCE User’s Manual Management Tools 3-10 You can also change the authentication for each web virtual directory.
AA Appendix A Firmware Upgrade Procedure To upgrade the IA26X-CE firmware, you must download the firmware upgrade installation file. This firmware
ThinkCore IA261/262 WinCE User’s Manual Firmware Upgrade Procedure A-2Select (2) User Configure Input Local IP Address (IA26X-CE) and Server IP Addr
ThinkCore IA261/262 WinCE User’s Manual Firmware Upgrade Procedure A-33. Select “firmware update”. Select (3) Load from LAN2. Input the firmware
ThinkCore IA261/262 WinCE User’s Manual Firmware Upgrade Procedure A-4
BB Appendix B CANopen Library Moxa IA262-CE comes with dual CAN ports as well as the CANopen protocol library support. This chapter will guide you
IA261/262 WinCE User’s Manual CANopen Library B-2CANopen Introduction CANopen is a field bus protocol based on the Controller Area Network (CAN). As
IA261/262 WinCE User’s Manual CANopen Library B-3The protocol is designed in three levels, as shown in Figure 1. The lowest level is the CANbus driv
CANopen Introduction...B-2 Using Dictionar
IA261/262 WinCE User’s Manual CANopen Library B-4PDO COMMUNICATION The PDO (Process Data Object) communications path is linked directly to the appli
IA261/262 WinCE User’s Manual CANopen Library B-5The CANopen library is coming with a tool: - Object Dictionary Editor GUI. This tool helps a lot in
IA261/262 WinCE User’s Manual CANopen Library B-63) Create new node Edit your node name, ID and type. Choose your inherited specific profile. 4) No
IA261/262 WinCE User’s Manual CANopen Library B-75) Profile editor Choose the profile to Edit. Pick up optional chosen profile entries.
IA261/262 WinCE User’s Manual CANopen Library B-86) User types Use User Types to implement value boundaries, and string length. 7) Mapped variable
IA261/262 WinCE User’s Manual CANopen Library B-98) Generating the object Dictionary Once object dictionary has been edited and saved, you have to g
IA261/262 WinCE User’s Manual CANopen Library B-10y Parameters d: [input] Node handle pointer. y Return Values None. 3. moxa_heartbeatStop Stop P
IA261/262 WinCE User’s Manual CANopen Library B-115. moxa_masterSendNMTstateChange The function is used to change the state of a slave. y Syntax U
IA261/262 WinCE User’s Manual CANopen Library B-12y Syntax void moxa_masterRequestNodeState(CO_Data* d, UNS8 nodeId) y Parameters d: [input] Node
IA261/262 WinCE User’s Manual CANopen Library B-13y Syntax UNS32 moxa_getODentry( CO_Data* d, UNS16 wIndex, UNS8 bSubindex, void * pDestData
11 Chapter 1 Introduction Microsoft® Windows® CE 6.0 is an open, scalable, 32-bit operating system (OS) that allows you to build a wide range of in
IA261/262 WinCE User’s Manual CANopen Library B-14y Syntax UNS32 moxa_setODentry( CO_Data* d, UNS16 wIndex, UNS8 bSubindex, void * pSourceDa
IA261/262 WinCE User’s Manual CANopen Library B-15y Parameters d: [input] Node handle pointer. wIndex: [input] The index in the object dictionary w
IA261/262 WinCE User’s Manual CANopen Library B-16y Parameters d: [input] Node handle pointer. Cobid: [input] COB-ID. y Return Values The result o
IA261/262 WinCE User’s Manual CANopen Library B-17y Parameters d: [input] Node handle pointer. m: [input] CAN message structure. y Return Values 0
IA261/262 WinCE User’s Manual CANopen Library B-18y Parameters d: [input] Node handle pointer. line: [input] SDO channel. nbBytes: [input] size of
IA261/262 WinCE User’s Manual CANopen Library B-19index: [input] The index in the object dictionary where you want to handle. subIndex: [input] The
IA261/262 WinCE User’s Manual CANopen Library B-20y Parameters d: [input] Node handle pointer. line: [input] SDO channel. nodeId: [input]specified
IA261/262 WinCE User’s Manual CANopen Library B-21y Syntax UNS8 moxa_getSDOlineOnUse (CO_Data* d, UNS8 nodeId, UNS8 whoami, UNS8 *line) y Paramete
IA261/262 WinCE User’s Manual CANopen Library B-22y Return Values 0 30. moxa_setSDOlineRestBytes Store in the line structure the nb of bytes which
IA261/262 WinCE User’s Manual CANopen Library B-23y Parameters d: [input] Node handle pointer. Whoami: [input] SDO_CLIENT or SDO_SERVER. index: [in
IA261/262 WinCE User’s Manual Introduction 1-2Overview The IA261/IA262 embedded computers, which are ideal for industrial automation applications, f
IA261/262 WinCE User’s Manual CANopen Library B-24count: [input] nb of bytes to write in the dictionary. dataType: [input] defined in objdictdef.h d
IA261/262 WinCE User’s Manual CANopen Library B-25y Parameters d: [input] Node handle pointer. nodeId: [input] nodeId:specified node id index: [inp
IA261/262 WinCE User’s Manual CANopen Library B-26y Parameters d: [input] Node handle pointer. nodeId: [input]specified node id data: [output] spec
IA261/262 WinCE User’s Manual CANopen Library B-2740. moxa_getState Return the state of the node. y Syntax e_nodeState moxa_getState (CO_Data* d) y
IA261/262 WinCE User’s Manual CANopen Library B-28Operational = 0x05, Pre_operational = 0x7F, Unknown_state = 0x0F y Return Values 0xFF
IA261/262 WinCE User’s Manual CANopen Library B-29cob_id: [input]COB-ID. y Return Values 1: success, 0: fail. 45. moxa_proceedSYNC This function is
IA261/262 WinCE User’s Manual CANopen Library B-30y Syntax TIMER_HANDLE moxa_DelAlarm (TIMER_HANDLE handle) y Parameters Handle: [input] timer han
IA261/262 WinCE User’s Manual CANopen Library B-31y Parameters port: [input] specified can port (1 or 2) m: [input]CAN message structure. y Return
IA261/262 WinCE User’s Manual CANopen Library B-32struct struct_s_BOARD { * busname; //port number * baudrate;//baud rate }; d: [input
IA261/262 WinCE User’s Manual CANopen Library B-33#include "master.h" //this file is generated by Dictionary Editor GUI } UNS8 GetChangeS
IA261/262 WinCE User’s Manual Introduction 1-3IA262-I-T-CE RISC-based Embedded Computer with VGA, 2 Serial Ports, Dual LANs, CAN, DIO, CompactFlash,
IA261/262 WinCE User’s Manual CANopen Library B-34 UNS8 res = SDO_UPLOAD_IN_PROGRESS; // Read SDO UNS8 err = moxa_readNetworkDict (&w
IA261/262 WinCE User’s Manual CANopen Library B-35 /* process command line arguments */ if (argc < 3) { wprintf( TEXT(
IA261/262 WinCE User’s Manual CANopen Library B-36 /* wait until slave’s mode will switch to operational state*/ /* if return 0, mean thi
IA261/262 WinCE User’s Manual CANopen Library B-37 res = ReadSDO(node_id, 0x1000, 0, uint32, &dev_type, &size); print
IA261/262 WinCE User’s Manual CANopen Library B-38 } else { wprintf(TEXT("ERROR: Object dictionary acces
IA261/262 WinCE User’s Manual CANopen Library B-39int _tmain(int argc, _TCHAR* argv[]) { //set canbus port and baud rate s_BOARD MasterB
IA261/262 WinCE User’s Manual Introduction 1-4Product Hardware Specifications System CPU: Cirrus Logic EP9315 ARM9 CPU, 200 MHz DRAM: 128 MB onboar
IA261/262 WinCE User’s Manual Introduction 1-5Digital input levels: Dry contact: Logic level 0: Close to GND Logic level 1: Open Wet contact:
Comments to this Manuals