Moxa C Programmable RTU Controllers User’s Manual Second Edition, December 2011 www.moxa.com/product © 2011 Moxa Inc. All rights reserved.
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 accordance with the terms of that agreement. Copyright Notice © 2011 Moxa Inc. All rights reserved. Trademarks The MOXA logo is a registered trademark of Moxa Inc. All other trademarks or registered marks in this manual belong to their respective manufacturers.
Table of Contents 1. Introduction ...................................................................................................................................... 1-1 Overview ........................................................................................................................................... 1-2 Software Architecture ..........................................................................................................................
NFS (Network File System) ................................................................................................................ 4-16 Setting up the RTU Controller as an NFS Client ............................................................................. 4-16 Mail ................................................................................................................................................ 4-17 OpenVPN ...........................................................................
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/422/485 serial ports, built-in or user-selectable modular I/Os, and pre-installed operating system, depending on the specific model. The Moxa C programmable RTU controller offers high-performance communication capability, and high storage capacity in one compact and rugged box.
Moxa C Programmable RTU Controllers Introduction Overview The Moxa C programmable RTU controller uses the Moxa ART RISC CPU. The RISC architecture and advanced semiconductor technology provide the RTU controller with a powerful computing engine and communication functions without generating a lot of heat. A 32 MB NOR Flash ROM, 64 MB on-board SDRAM, and an SD socket provide enough memory for you to install application software and store data directly on the RTU controller.
Moxa C Programmable RTU Controllers Introduction Journaling Flash File System (JFFS2) The Root File System and User directory in the flash memory is formatted with the Journaling Flash File System (JFFS2). The formatting process places a compressed file system in the flash memory. This operation is transparent to users. The Journaling Flash File System (JFFS2), which was developed by Axis Communications in Sweden, puts a file system directly on the flash, instead of emulating a block device.
Moxa C Programmable RTU Controllers Introduction inetd TCP server manager program ftpd FTP server daemon apache Web server daemon sshd Secure shell server openvpn Virtual private network openssl Open SSL Linux Tool Chain Gcc (V3.3.2) C/C++ PC Cross Compiler GDB (V5.3) Source Level Debug Server Glibc(V2.2.
Moxa C Programmable RTU Controllers Introduction Product Specifications Computer CPU: ARM9 based CPU, 32-bit/160 Mhz SDRAM/Flash: 64 MB / 32 MB I/O Scan Time: • ioPAC 80200-C-T: Digital channels: 10ms(all); Analog channels: 80ms/module • ioLogik W5348: Digital channels: 1ms(all); analog channels: 200ms(all) Program Cycle Time: 10 ms Ethernet Interface LAN: 1Ethernet or 2 auto-sensing 10/100 Mbps switch ports (M12 or RJ45) Ethernet Relay Function: Hardware Normal Close for ioPAC 8020-C Serial Interface S
Moxa C Programmable RTU Controllers Introduction EMS: IEC 61000-4-2 (ESD) Level 2/3, IEC 61000-4-3 (RS) Level 2, IEC 61000-4-4 (EFT) Level 2, IEC 61000-4-5 (Surge) Level 3, IEC 61000-4-6 (CS) Level 2, IEC 61000-4-8 (PM) Level 1, IEC 61000-4-11 (DIPS), IEC 61000-6-2 (ESD) Level 2/3, IEC 61000-6-4 (EFT) Level 2 Shock: IEC 60068-2-27 Freefall: IEC 60068-2-32 Vibration: IEC 60068-2-6 Rail Traffic: EN 50155, EN 50121-3-2, EN 50121-4 for ioPAC 8020-C Note: Please check Moxa’s website for the most up-to-date cer
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.
Moxa C Programmable RTU Controllers Getting Started I/O and Communication Module Installation The 5 I/O modules and single communication module may be selected for installation on the ioPAC 8020 system; all modules may be hot-swapped, allowing for convenient installation/removal at anytime. Care should be taken before installing the modules: 1. I/O modules (RM-1050-T, RM-1602-T, RM-2600-T, RM-3802-T, and RM-3810-T) may be installed on the ioPAC 8020-C system in any order.
Moxa C Programmable RTU Controllers Getting Started Installing the RTU Controller on a DIN-Rail ioPAC 8020-C Series The aluminum DIN-rail attachment plate should already be fixed to the back panel of the ioPAC 8020-C when you take it out of the box. If you need to reattach the DIN-rail attachment plate to the ioPAC 8020-C, make sure the spring-loaded bracket is situated towards the bottom, as shown in the following figures. NOTE Users can purchase a wall-mounting (WK-75) kit separately.
Moxa C Programmable RTU Controllers Getting Started Removing ioPAC 8020-C Series from the DIN-Rail To remove the ioPAC 8020-C from the DIN-rail, use a screwdriver to push down the spring-loaded bracket until it locks in place, as shown in the diagram to the right. Next, rotate the bottom of the switch upwards and then remove the switch from the DIN-rail. ioLogik W5348-C Series STEP 1: Insert the top of the DIN-rail into the slot just below the stiff metal spring.
Moxa C Programmable RTU Controllers Getting Started ioPAC 8020-C Series Grounding Nut ioLogik W5348 Series: Grounding Nut Powering on the RTU Controller Connect the 12 to 36 VDC power lines from the power supply to the Moxa C programming RTU controller’s power terminal block, and then power on the power supply attached to it. It takes about 30 to 60 seconds for the system to boot up. Once the system is ready, the Ready LED will light up.
Moxa C Programmable RTU Controllers NOTE Getting Started After connecting the RTU controller to the power supply, it will take about 30 to 60 seconds for the operating system to boot up. The green Ready LED will not turn on until the operating system is ready. ATTENTION This product is intended to be supplied by a Listed Power Unit with output marked “LPS” and rated for 12 to 36 VDC, 1.
Moxa C Programmable RTU Controllers Getting Started Serial Console The serial console gives users a convenient way of connecting to the RTU controller. This method is particularly useful when using the computer for the first time. The serial console is also effective for connecting the RTU controller when users do not know the target network settings and IP addresses.
Moxa C Programmable RTU Controllers Getting Started STEP 2: Install the Moxa PComm Lite to the host Windows PC. STEP 3: Run the PComm Lite Terminal Emulator from Start\Programs\PComm Lite Ver 1.x\Terminal Emulator. STEP 4: Click on Profile\Open. STEP 5: Specify the COM port that is connecting the RTU controller, and configure the settings to 115,200, 8, none, and 1. STEP 6: Click on the Terminal tab, and configure the Terminal Type to VT100. Click OK to proceed.
Moxa C Programmable RTU Controllers Getting Started example, users can set the host PC’s IP address to 192.168.127.253 and netmask to 255.255.255.0 to meet the default settings of the RTU controller. To start the telnet console, launch the Windows Command prompt and use the following command: To log in, type the Login name and password as requested.
Moxa C Programmable RTU Controllers Getting Started Click on “Yes” to accept the security key exchange from the RTU controller’s SSH console. Linux Users For a Linux-based system, users can use the “ssh” command to access the console of the RTU controller via SSH. #ssh 192.168.127.254 Select yes to complete the connection. [root@bee_notebook root]# ssh 192.168.127.254 The authenticity of host ‘192.168.127.254 (192.168.127.254)’ can’t be established.
Moxa C Programmable RTU Controllers Getting Started Broadcast Search Select the model and click the “Start Search” button to proceed. Main Screen Overview The main screen displays all the results of broadcast search. 1. Title 2. Menu Bar 3. Quick Link 5. Main Window 6. Sync. Rate Status 7. Status Bar Title It displays the program that is running. In this case, it is Moxa RTUAdmin. Menu Bar The Menu bar has four items: File, System, Sort, and Help. File Use the File\Exit to close the RTUAdmin.
Moxa C Programmable RTU Controllers Getting Started System a. Auto Search: Searches for Moxa RTU controllers on the local network. b. Network Interface: Selects a network interface to use the RTUAdmin. c. Auto Search Timeout: Selects the preferred timeout value for broadcast search. Sort a. By Connection: Sorts by the target Moxa RTU controller’s IP address. b. By Server: Sorts by the target Moxa RTU controller’s model name. Help Displays the software information of the RTUAdmin.
Moxa C Programmable RTU Controllers Getting Started Configuring the Ethernet Interface The network settings of the Moxa C programming RTU controller can be modified with the serial console port, or online over the network. Modifying Network Settings via Serial Console Follow the instructions given in the previous section to access the serial console of the target RTU controller, and then type #cd /etc/network to change directories.
Moxa C Programmable RTU Controllers Getting Started Adding a Default Gateway Follow the instructions given in a previous section to access the serial console of the target Moxa RTU Controller, and then type #cd /etc/network to change directories. 1. Type #vi interfaces to edit the network configuration file with vi editor. 2. Add the gateway IP to the last entry of the interface settings.
Moxa C Programmable RTU Controllers Getting Started #mount/dev/cdrom /mnt/cdrom #sh /mnt/cdrom/Software/toolchain/arm-linux_3.3.2_V1.X_BuildXXXXXXXX.sh The Tool Chain will be installed automatically on the host Linux PC within a few minutes. Before compiling the program, be sure to set the following path first, since the Tool Chain files (including the compiler, link, and library) are located in this directory.
Moxa C Programmable RTU Controllers Getting Started hello-debug—An ARM platform GDB debug server execution file (see Chapter 5 for details) NOTE Since the Moxa’s tool chain places a specially designed Makefile in the directory /tmp/example/ hello, be sure to type the #make command from within that directory. If users type the #make command from any other directory, the host Linux PC may use other system compilers (for example, cc or gcc) and resulting errors. Uploading and Running the “Hello” Program 1.
3 3. Managing the RTU Controllers This chapter includes information for version control, deployment, updates, and peripherals. The information in this chapter will be useful when users need to run the same application on several Moxa RTU controllers.
Moxa C Programmable RTU Controllers Managing the RTU Controllers System Version Information To verify the hardware capability of the target RTU controller, and the supported software, check the version numbers of your Moxa RTU controller’s hardware, kernel, and user file system. Contact Moxa to verify the hardware version. You will need the Production S/N (Serial number), which is labeled on the RTU controller’s bottom.
Moxa C Programmable RTU Controllers Managing the RTU Controllers 4. After the firmware file is transferred to the RAM disk, perform upgradehfm command to upgrade the kernel and root file system. #upgradehfm xxxx.hfm Press “Y” to complete the upgrade. ATTENTION The upfirm utility will reboot your target RTU controller after the upgrade is done. Loading Factory Defaults To load the factory default settings, press and hold the RESET button for more than 5 seconds.
Moxa C Programmable RTU Controllers Managing the RTU Controllers Perform the command “ps -ef” to list all the running processes. 192.168.127.
Moxa C Programmable RTU Controllers Managing the RTU Controllers The following diagram shows how to edit the last line of the rc.local to activate the complied example “tcps2-release”, and run in the background. 192.168.127.254 - PuTTY # !/bin/sh if [ -f /home/autoexec.sh ]; then /home/autoexec.sh fi # Add the new daemons or programs starting from the next line /home/tcps2-release &~ The enabled daemons will be available after rebooting the RTU controller. An alternative is the autoexec.
Moxa C Programmable RTU Controllers Managing the RTU Controllers Adjusting the System Time Setting the Time Manually The Moxa C programming RTU controller has two time settings. One is the system time, and the other is the RTC (Real Time Clock) time kept by the RTU controller’s hardware. Use the #date command to query the current system time or set a new system time. Use #hwclock to query the current RTC time or set a new RTC time.
Moxa C Programmable RTU Controllers Managing the RTU Controllers 10.120.53.100 - PuTTY root@Moxa:~# date ; hwclock Sat Jan 1 00:00:36 CST 2000 Sat Jan 1 00:00:37 2000 -0.772941 seconds root@Moxa:~# ntpdate time.stdtion.gov.tw 9 Dec 10:58:53 ntpdate[207]: step time server 220.130.158.52 offset 155905087.984256 sec root@Moxa:~# hwclock –w root@Moxa:~# date ; hwclock Thu Dec 9 10:59:11 CST 2010 Thu Dec 9 10:59:12 2010 -0.
Moxa C Programmable RTU Controllers mm h min 0-59 Managing the RTU Controllers dom mon dow user command hour date month week user command 0-23 1-31 1-12 0-6 (0 is Sunday) The following example demonstrates how to use Cron. How to use Cron to update the system time and RTC time every day at 8:00. STEP1: Write a shell script named fixtime.sh and save it to /home/. #!/bin/sh ntpdate time.nist.gov hwclock –-systohc exit 0 STEP2: Change mode of fixtime.sh #chmod 755 fixtime.
4 4. Managing Communications In this chapter, it explains how to configure the RTU controller’s communication functions.
Moxa C Programmable RTU Controllers Managing Communications Telnet/FTP The Telnet and FTP Server service is enabled by default on the RTU controller. To enable or disable the Telnet/ftp server, users need to edit the file /etc/inetd.conf. Enabling the Telnet/FTP Server The following example shows the default content of the file /etc/inetd.conf.
Moxa C Programmable RTU Controllers Managing Communications /home/httpd/htdocs/ Save the customized CGI page to the following directory: /home/httpd/cgi-bin/ Before modifying the homepage, use a browser from the host PC to perform a test to see if the Apache Web Server is working. Type the LAN IP address of the target RTU controller in the browser’s address box to open the homepage. E.g., http://192.168.127.254 To open the default CGI page, type http://192.168.127.
Moxa C Programmable RTU Controllers Managing Communications Step 1: Check if the system contains enough free space by performing the df -h command. 192.168.127.254 - PuTTY root@Moxa:/bin# df –h Filesystem Size /dev/mtdblock2 16.0M /dev/ram0 499.0k /dev/mtdblock3 12.0M /dev/mtdblock3 12.0M /dev/mtdblock3 12.0M tmpfs 30.4M root@Moxa:/bin# Used Available Use% Mounted on 6.7M 9.3M 42% / 17.0k 457.0k 4% /var 896.0k 11.1M 7% /tmp 896.0k 11.1M 7% /home 896.0k 11.1M 7% /etc 0 30.
Moxa C Programmable RTU Controllers Managing Communications Step 4: Unzip the package. Perform the command “tar xvzf php.tar.gz”. 192.168.127.254 - PuTTY root@Moxa:/mnt/ramdisk# tar xvzf php.tgz envvars envvars.old httpd.conf httpd.conf.old install.sh lib lib/libmysqlclient.so.15 lib/libpng.so.2 lib/libphp5.so lib/libmysqlclient.so.15.0.0 lib/libgd.so lib/libxml2.so.2.6.22 lib/libgd.so.2.0.0 lib/libjpeg.so lib/libxml2.so.2 lib/libgd.so.2 php php/php.ini phpinfo.
Moxa C Programmable RTU Controllers Managing Communications The Moxa C programming RTU controller supports 3 types of IPTABLES table: Filter tables, NAT tables, and Mangle tables: A. Filter Table—includes three chains: INPUT chain OUTPUT chain FORWARD chain B.
Moxa C Programmable RTU Controllers Managing Communications The following figure shows the IPTABLES hierarchy. The Moxa C programming RTU controller supports the following sub-modules. Be sure to use the module that matches the real application.
Moxa C Programmable RTU Controllers Managing Communications Use the lsmod command to check if the ip_tables module has already been loaded in the Moxa RTU unit. Use the modprobe command to insert and enable the module. Use the following command to load the modules (iptable_filter, iptable_mangle, iptable_nat): #modprobe iptable_filter NOTE IPTABLES plays the role of packet filtering or NAT. Be careful when setting up the IPTABLES rules.
Moxa C Programmable RTU Controllers Managing Communications POSTROUTING: To alter packets as they are about to be sent out. Examples: #iptables –P INPUT DROP #iptables –P OUTPUT ACCEPT #iptables –P FORWARD ACCEPT #iptables –t nat –P PREROUTING ACCEPT #iptables –t nat –P OUTPUT ACCEPT #iptables -t nat –P POSTROUTING ACCEPT In this example, the policy accepts outgoing packets and denies incoming packets.
Moxa C Programmable RTU Controllers Managing Communications # iptables –A INPUT –i eth0 –p all –m mac -–mac-source 01:02:03:04:05:06 –j DROP NOTE: In Example 7, remember to issue the command #modprobe ipt_mac first to load module ipt_mac. NAT NAT (Network Address Translation) protocol translates IP addresses used on one network to different IP addresses used on another network. One network is designated the inside network and the other is the outside network.
Moxa C Programmable RTU Controllers Managing Communications # Edit the rc.local file to make this shell startup automatically. # vi /etc/rc.d/rc.local # Add a line in the end of rc.local /home/nat.sh EXIF=‘eth0’ # This is an external interface for setting up a valid IP address. EXNET=‘192.168.4.0/24’ #This is an internal network address. # Step 1. Insert modules. # Here 2> /dev/null means the standard error messages will be dump to null device.
Moxa C Programmable RTU Controllers Managing Communications Example 1: Connecting to a PPP Server over a Simple Dial-up Connection The following command is used to connect to a PPP server by modem. Use this command for old ppp servers that prompt for a login name and password. Note that debug and default route 192.1.1.17 are optional.
Moxa C Programmable RTU Controllers Managing Communications defaultroute Once the PPP link is established, make it the default route; if you have a PPP link to the Internet, this is probably what you want. 192.1.1.17 This is a degenerate case of a general option of the form x.x.x.x:y.y.y.y. Here x.x.x.x is the local IP address and y.y.y.y is the IP address of the remote end of the PPP connection. If this option is not specified, or if just one side is specified, then x.x.x.
Moxa C Programmable RTU Controllers Managing Communications Try typing: netstat –nr It should show three routes, similar as the following: Kernel routing table Destination iface Gateway Genmask Flags Metric Ref Use 129.67.1.165 ppp0 0.0.0.0 255.255.255.255 UH 0 0 6 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo 0.0.0.0 ppp0 129.67.1.165 0.0.0.0 UG 0 0 6298 If your output looks similar but doesn’t have the destination 0.0.0.
Moxa C Programmable RTU Controllers Managing Communications 4. Edit the file /etc/ppp/pap-secrets and add the following: “username@hinet.net”*“password”* “username@hinet.net” is the username obtained from the ISP to log in to the ISP account. “password” is the corresponding password for the account. 5. Edit the file /etc/ppp/options and add the following line: plugin pppoe 6. Add one of the two files: /etc/ppp/options.eth0. The choice depends on which LAN is connected to the ADSL modem.
Moxa C Programmable RTU Controllers Managing Communications Create a pppd configuration “cellular-connect” at /etc/ppp/peers Perform the command #pppd call cellular-connect NFS (Network File System) The Network File System (NFS) is used to mount a disk partition on a remote machine, as if it were on a local hard drive, allowing fast, seamless sharing of files across a network.
Moxa C Programmable RTU Controllers Managing Communications Mail smtpclient is a minimal SMTP client that takes an email message body and passes it on to an SMTP server. It is suitable for applications that use email to send alert messages or important logs to a specific user. NOTE Click on the following link for more information about smtpclient: http://www.engelschall.com/sw/smtpclient/ To send an email message, use the ‘smtpclient’ utility, which uses SMTP protocol.
Moxa C Programmable RTU Controllers Managing Communications Setup 1: Ethernet Bridging for Private Networks on Different Subnets 1. Set up four machines, as shown in the following diagram. Host A (B) represents one of the machines that belongs to OpenVPN A (B). The two remote subnets are configured for a different range of IP addresses.
Moxa C Programmable RTU Controllers Managing Communications ;; netmask ) NETMASK=$f2 ;; broadcast ) BROADCAST=$f2 ;; esac done break fi done < /etc/network/interfaces } # get the ip address of the specified interface mname= module_up() { oIFS=$IFS IFS=‘ ‘ FOUND=“no” for LINE in `lsmod` do TOK=`echo $LINE | cut -d’ ‘ -f1` if [ “$TOK” = “$mname” ]; then FOUND=“yes”; break; fi done IFS=$oIFS if [ “$FOUND” = “no” ]; then modprobe $mname fi } start() { ifcfg_vpn if [ ! \( -d “/dev/net” \) ]; then mkdir /dev/ne
Moxa C Programmable RTU Controllers Managing Communications openvpn --mktun --dev tap${i} # connect tap device to the bridge brctl addif br0 tap${i} # null ip address of tap device ifconfig tap${i} 0.0.0.0 promisc up i=`expr $i + 1` if [ $i -ge $maxtap ]; then break fi done # null ip address of internal interface ifconfig $iface 0.0.0.
Moxa C Programmable RTU Controllers Managing Communications exit 0 #---------------------------------- end ----------------------------Run the shell command to start, stop, or restart the OpenVPN # sh /etc/openvpn/openvpn-bridge start # sh /etc/openvpn/openvpn-bridge stop # sh /etc/openvpn/openvpn-bridge restart 3. Create a configuration file named A-tap0-br.conf and an executable script file named A-tap0-br.sh on OpenVPN A. # point to the peer remote 192.168.8.174 dev tap0 secret /etc/openvpn/secrouter.
Moxa C Programmable RTU Controllers Managing Communications Destination Gateway Genmsk Flags Metric Ref Use Iface 192.168.4.0 * 255.255.255.0 U 0 0 0 br0 192.168.2.0 * 255.255.255.0 U 0 0 0 br0 192.168.8.0 * 255.255.255.0 U 0 0 0 eth0 Interface eth1 is connected to the bridging interface br0, to which device tap0 also connects, whereas the virtual device tun sits on top of tap0.
Moxa C Programmable RTU Controllers Managing Communications Setup 3: Routed IP 1. Set up four machines as shown in the following diagram: 2. Create a configuration file named “A-tun.conf” and an executable script file named “A-tun. sh”. # point to the peer remote 192.168.8.174 dev tun secret /etc/openvpn/secrouter.key cipher DES-EDE3-CBC auth MD5 tun-mtu 1500 tun-mtu-extra 64 ping 40 ifconfig 192.168.2.173 192.168.4.174 up /etc/openvpn/A-tun.
Moxa C Programmable RTU Controllers Managing Communications Note that the parameter “ifconfig” defines the first argument as the local internal interface and the second argument as the internal interface at the remote peer. Note that $5 is the argument that the OpenVPN program passes to the script file. Its value is the second argument of ifconfig in the configuration file. 3.
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 applications. In addition, the process for performing cross-platform development and debugging is also introduced. For clarity, the MOXA C Programming RTU controller is called a target system.
Moxa C Programmable RTU Controllers Tool Chains for Application Development Linux Tool Chain The Linux tool chain contains a suite of cross compilers and other tools, as well as the libraries and header files that are necessary to compile your applications. These tool chain components must be installed on a Linux-based host computer (PC). The following Linux distributions can be used to install the tool chain. NOTE • Fedora Core 6 (on x86) • Mandrake 8.1 (on x86) • Red Hat 7.3, 8.0, 9.
Moxa C Programmable RTU Controllers Tool Chains for Application Development Moxa provides cross compiler tools for the following native compilers. Simply add the “arm-linux-” prefix.
6 6. Programmer's Guide This chapter includes important information for programmers.
Moxa C Programmable RTU Controllers Programmer's Guide Flash Memory Partition sizes are hard coded into the kernel binary. The flash memory map is shown in the following table.
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 his applications from being copied. An application is compiled into a binary format bound to the embedded computer and the operating system (OS) that the application runs on. As long as one obtains it from the computer, he/she can install it into the same hardware and the same operating system. The add-on value created by the developer is thus lost.
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. mount mount and check file system 5. rm delete file 6. chmod change file owner & group & user 7. chown change file owner 8. chgrp change file group 9. sync sync file system, let system file buffer be saved to hardware 10. mv move file 11. pwd display now file directly 12. df list now file system space 13. mkdir make new directory 14.
Moxa C Programmable RTU Controllers System Commands 4. ifconfig set network ip address 5. tracerout trace route 6. tftp 7. telnet 8. ftp Process 1. kill kill process 2. ps display now running process Other 1. 3dmesg dump kernel log message 2. sty to set serial port 3. zcat dump .gz file context 4. mknod make device node 5. free display system memory usage 6. date print or set the system date and time 7. env run a program in a modified environment 8.
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 Module: 16 channels, sink/source type On-state Voltage: 24 VDC nominal, 10 VDC min. OFF-state Voltage: 0 to 3 VDC, 3 VDC max.
Moxa C Programmable RTU Controllers Module Specifications and Wiring 16-channel Digital Output Module RM-2600-T: 16 digital outputs, 24 VDC, sink type, 0.2 A Outputs er Module: 16 channels, 24 VDC, sink type Output Impedance: 120m ohms (typical) Off-state Resistance: 500K ohms (typical) Response Time: 100 ms Over Current Protection: 200 mA per channel Isolation: I/O to logic (photocoupler isolation) Channel-to-Channel Isolation: 2.
Moxa C Programmable RTU Controllers Module Specifications and Wiring 8-channel Analog Input Module, 16-bit Resolution RM-3810-T: 8 analog inputs, 0 to 10 V, 16 bits Inputs per Module: 8 channels, differential Input Current Range: 0 to 10 VDC Input Impendence: > 10M ohms Resolution Range: 16 bits, 0.15 μA/bit Data Format: 16-bit integer (2’s complement) Accuracy: ±0.1%, FSR @ 25°C ±0.