Moxa Technologies 331 Manual do Utilizador

Consulte online ou descarregue Manual do Utilizador para Servidores Moxa Technologies 331. Moxa Technologies 331 User`s manual Manual do Utilizador

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 69
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 0
Moxa C Programmable RTU Controllers
User’s Manual
Second Edition, December 2011
www.moxa.com/product
© 2011 Moxa Inc. All rights reserved.
Vista de página 0
1 2 3 4 5 6 ... 68 69

Resumo do Conteúdo

Página 1 - User’s Manual

Moxa C Programmable RTU Controllers User’s Manual Second Edition, December 2011 www.moxa.com/product © 2011 Moxa Inc. All rights reserved.

Página 2

Moxa C Programmable RTU Controllers Introduction 1-6 EMS: IEC 61000-4-2 (ESD) Level 2/3, IEC 61000-4-3 (RS) Level 2, IEC 61000-4-4 (EFT) Level 2

Página 3 - Table of Contents

2 2. Getting Started In this chapter, it explains how to connect the Moxa RTU C Programmable controller, and how to get started on the programming.

Página 4

Moxa C Programmable RTU Controllers Getting Started 2-2 I/O and Communication Module Installation The 5 I/O modules and single communication module

Página 5 - Introduction

Moxa C Programmable RTU Controllers Getting Started 2-3 Installing the RTU Controller on a DIN-Rail ioPAC 8020-C Series The aluminum DIN-rail attach

Página 6 - Software Architecture

Moxa C Programmable RTU Controllers Getting Started 2-4 Removing ioPAC 8020-C Series from the DIN-Rail To remove the ioPAC 8020-C from the DIN-rail,

Página 7 - Software Package

Moxa C Programmable RTU Controllers Getting Started 2-5 ioPAC 8020-C Series ioLogik W5348 Series: Powering on the RTU Controller Connect the 12

Página 8 - Available Products

Moxa C Programmable RTU Controllers Getting Started 2-6 NOTE After connecting the RTU controller to the power supply, it will take about 30 to 60 se

Página 9 - Product Specifications

Moxa C Programmable RTU Controllers Getting Started 2-7 Serial Console The serial console gives users a convenient way of connecting to the RTU cont

Página 10 - Warranty

Moxa C Programmable RTU Controllers Getting Started 2-8 STEP 2: Install the Moxa PComm Lite to the host Windows PC. STEP 3: Run the PComm Lite Termi

Página 11 - Getting Started

Moxa C Programmable RTU Controllers Getting Started 2-9 example, users can set the host PC’s IP address to 192.168.127.253 and netmask to 255.255.25

Página 12

Moxa C Programmable RTU Controllers User’s Manual The software described in this manual is furnished under a license agreement and may be used only in

Página 13

Moxa C Programmable RTU Controllers Getting Started 2-10 Click on “Yes” to accept the security key exchange from the RTU controller’s SSH console.

Página 14 - Grounding the RTU Controller

Moxa C Programmable RTU Controllers Getting Started 2-11 Broadcast Search Select the model and click the “Start Search” button to proceed. Main S

Página 15

Moxa C Programmable RTU Controllers Getting Started 2-12 System a. Auto Search: Searches for Moxa RTU controllers on the local network. b. Netwo

Página 16 - LED Indicators

Moxa C Programmable RTU Controllers Getting Started 2-13 Configuring the Ethernet Interface The network settings of the Moxa C programming RTU contr

Página 17 - Serial Console

Moxa C Programmable RTU Controllers Getting Started 2-14 Adding a Default Gateway Follow the instructions given in a previous section to access the

Página 18 - Telnet Console

Moxa C Programmable RTU Controllers Getting Started 2-15 #mount/dev/cdrom /mnt/cdrom #sh /mnt/cdrom/Software/toolchain/arm-linux_3.3.2_V1.X_BuildXXX

Página 19 - SSH Console

Moxa C Programmable RTU Controllers Getting Started 2-16 hello-debug—An ARM platform GDB debug server execution file (see Chapter 5 for details) NOT

Página 20 - RTUAdmin Utility

3 3. Managing the RTU Controllers This chapter includes information for version control, deployment, updates, and peripherals. The information in

Página 21 - Main Screen Overview

Moxa C Programmable RTU Controllers Managing the RTU Controllers 3-2 System Version Information To verify the hardware capability of the target RTU

Página 22 - Status Bar

Moxa C Programmable RTU Controllers Managing the RTU Controllers 3-3 4. After the firmware file is transferred to the RAM disk, perform upgradehfm

Página 23 - Dynamic IP addresses

Table of Contents 1. Introduction ...

Página 24 - Developing Procedures

Moxa C Programmable RTU Controllers Managing the RTU Controllers 3-4 Perform the command “ps -ef” to list all the running processes. 192.168.127.

Página 25 - Compiling Hello.c

Moxa C Programmable RTU Controllers Managing the RTU Controllers 3-5 The following diagram shows how to edit the last line of the rc.local to activa

Página 26

Moxa C Programmable RTU Controllers Managing the RTU Controllers 3-6 Adjusting the System Time Setting the Time Manually The Moxa C programming RTU

Página 27

Moxa C Programmable RTU Controllers Managing the RTU Controllers 3-7 10.120.53.100 - PuTTY root@Moxa:~# date ; hwclock Sat Jan 1 00:00:36 CST 20

Página 28 - System Version Information

Moxa C Programmable RTU Controllers Managing the RTU Controllers 3-8 mm h dom mon dow user command min hour date month week user command

Página 29 - Loading Factory Defaults

4 4. Managing Communications In this chapter, it explains how to configure the RTU controller’s communication functions. The following topics are co

Página 30

Moxa C Programmable RTU Controllers Managing Communications 4-2 Telnet/FTP The Telnet and FTP Server service is enabled by default on the RTU contro

Página 31 - Setting the Run-Level

Moxa C Programmable RTU Controllers Managing Communications 4-3 /home/httpd/htdocs/ Save the customized CGI page to the following directory: /home/h

Página 32 - Adjusting the System Time

Moxa C Programmable RTU Controllers Managing Communications 4-4 Step 1: Check if the system contains enough free space by performing the df -h comma

Página 33

Moxa C Programmable RTU Controllers Managing Communications 4-5 Step 4: Unzip the package. Perform the command “tar xvzf php.tar.gz”. 192.168.127.

Página 34

NFS (Network File System) ... 4-16 Settin

Página 35 - Managing Communications

Moxa C Programmable RTU Controllers Managing Communications 4-6 The Moxa C programming RTU controller supports 3 types of IPTABLES table: Filter tab

Página 36 - Web Service—Apache

Moxa C Programmable RTU Controllers Managing Communications 4-7 The following figure shows the IPTABLES hierarchy. The Moxa C programming RTU contr

Página 37

Moxa C Programmable RTU Controllers Managing Communications 4-8 Use the lsmod command to check if the ip_tables module has already been loaded in th

Página 38

Moxa C Programmable RTU Controllers Managing Communications 4-9 POSTROUTING: To alter packets as they are about to be sent out. Examples: #iptables

Página 39 - IPTABLES

Moxa C Programmable RTU Controllers Managing Communications 4-10 # iptables –A INPUT –i eth0 –p all –m mac -–mac-source 01:02:03:04:05:06 –j DROP NO

Página 40

Moxa C Programmable RTU Controllers Managing Communications 4-11 # Edit the rc.local file to make this shell startup automatically. # vi /etc/rc.d/r

Página 41

Moxa C Programmable RTU Controllers Managing Communications 4-12 Example 1: Connecting to a PPP Server over a Simple Dial-up Connection The followin

Página 42 - Examples:

Moxa C Programmable RTU Controllers Managing Communications 4-13 defaultroute Once the PPP link is established, make it the default route; if you ha

Página 43 - Append or Delete Rules

Moxa C Programmable RTU Controllers Managing Communications 4-14 Try typing: netstat –nr It should show three routes, similar as the following: Kern

Página 44 - Enabling NAT at Bootup

Moxa C Programmable RTU Controllers Managing Communications 4-15 4. Edit the file /etc/ppp/pap-secrets and add the following: “[email protected]”*

Página 45 - Dial-up Service—PPP

1 1. Introduction The Moxa C programmable RTU controller is a system with 1 or 2 10/100 Mbps Ethernet ports, an internal SD socket, 1 or 2 RS-232/42

Página 46 - Connection

Moxa C Programmable RTU Controllers Managing Communications 4-16 Create a pppd configuration “cellular-connect” at /etc/ppp/peers Perform the comm

Página 47 - How to Check the Connection

Moxa C Programmable RTU Controllers Managing Communications 4-17 Mail smtpclient is a minimal SMTP client that takes an email message body and passe

Página 48

Moxa C Programmable RTU Controllers Managing Communications 4-18 Setup 1: Ethernet Bridging for Private Networks on Different Subnets 1. Set up fou

Página 49 - PPP over Cellular

Moxa C Programmable RTU Controllers Managing Communications 4-19 ;; netmask ) NETMASK=$f2 ;; broadcast ) BROADCA

Página 50 - NFS (Network File System)

Moxa C Programmable RTU Controllers Managing Communications 4-20 openvpn --mktun --dev tap${i} # connect tap device to the bridge brctl addif

Página 51 - OpenVPN

Moxa C Programmable RTU Controllers Managing Communications 4-21 exit 0 #---------------------------------- end ----------------------------- Run th

Página 52

Moxa C Programmable RTU Controllers Managing Communications 4-22 Destination Gateway Genmsk Flags Metric Ref Use Iface 192.168.4.0 * 255.25

Página 53

Moxa C Programmable RTU Controllers Managing Communications 4-23 Setup 3: Routed IP 1. Set up four machines as shown in the following diagram: 2.

Página 54

Moxa C Programmable RTU Controllers Managing Communications 4-24 Note that the parameter “ifconfig” defines the first argument as the local internal

Página 55

5 5. Tool Chains for Application Development In this chapter we describe how to install a tool chain on the host computer to develop user applicatio

Página 56

Moxa C Programmable RTU Controllers Introduction 1-2 Overview The Moxa C programmable RTU controller uses the Moxa ART RISC CPU. The RISC architectu

Página 57 - Setup 3: Routed IP

Moxa C Programmable RTU Controllers Tool Chains for Application Development 5-2 Linux Tool Chain The Linux tool chain contains a suite of cross comp

Página 58

Moxa C Programmable RTU Controllers Tool Chains for Application Development 5-3 Moxa provides cross compiler tools for the following native compiler

Página 59

6 6. Programmer's Guide This chapter includes important information for programmers. The following topics are covered in this chapter:  Flash

Página 60 - Linux Tool Chain

Moxa C Programmable RTU Controllers Programmer's Guide 6-2 Flash Memory Partition sizes are hard coded into the kernel binary. The flash memory

Página 61 - On-Line Debugging with GDB

7 7. Software Lock “Software Lock” is an innovative technology developed by Moxa. It can be adopted by a system integrator or developer to protect h

Página 62 - Programmer's Guide

A A. System Commands Linux normal command utility collection: File manager 1. cp copy file 2. ls list file 3. ln make symbolic link file 4. moun

Página 63 - C Library

Moxa C Programmable RTU Controllers System Commands A-2 4. ifconfig set network ip address 5. tracerout trace route 6. tftp 7. telnet 8. ftp

Página 64 - Software Lock

B B. Module Specifications and Wiring 16-channel 24 VDC Digital Input Module RM-1602-T: 16 digital inputs, 24 VDC, sink/source type Inputs per

Página 65 - System Commands

Moxa C Programmable RTU Controllers Module Specifications and Wiring B-2 16-channel Digital Output Module RM-2600-T: 16 digital outputs, 24 VDC, si

Página 66

Moxa C Programmable RTU Controllers Module Specifications and Wiring B-3 8-channel Analog Input Module, 16-bit Resolution RM-3810-T: 8 analog input

Página 67

Moxa C Programmable RTU Controllers Introduction 1-3 Journaling Flash File System (JFFS2) The Root File System and User directory in the flash memor

Página 68

Moxa C Programmable RTU Controllers Introduction 1-4 inetd TCP server manager program ftpd FTP server daemon apache Web server daemon sshd Secur

Página 69

Moxa C Programmable RTU Controllers Introduction 1-5 Product Specifications Computer CPU: ARM9 based CPU, 32-bit/160 Mhz SDRAM/Flash: 64 MB / 32 MB

Comentários a estes Manuais

Sem comentários