Home
Programmable Device Server User Manual Ver
Contents
1. Pin Assignment ei COM8_RxD si COM8_TxD a COM 7_RxD sai COM 7_TxD ain COM6_RxD sli COM6_TxD ane COM Heli ei COM5_TxD ane CO RxD ei COM4_TxD Ge COM3_RxD sai COM3_TxD GND FG Pin Assignment Pin Assignment GND 7 TxD 8 RxD PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 2 4 12 DS 712 COM1 RS 232 ag ei mmm mm No Fi 01 N A 02 N A 03 N A 04 N A Ei ka 7 INIT 06 N A 07 N A 08 R Vs 09 B GND Initialization pin for enabling disabling AUTOEXEC BAT V Pin for the power supply 12 48 Vpc unregulated GND Pin for the power supply COM1 GND PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 2 4 13 DS 715 COM1 RS 232 COM1 RS 422 485 SEI Tx D Tx D RX 0i N A Rx 02 N A 03 N A 04 N A 05 INIT 06 N A 07 N A 08 R Vs 09 B GND Initialization pin for enabling disabling AUTOEXEC BAT V Pin for the power supply 12 48 Vpc unregulated GND Pin for the power supply COM1 GND PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 2 4 14 PDS 5105D MTCP 28 11 j j Terminal Pin Terminal Pin kk IESSE No Assignment No Assignment
2. Ping Gateway at start TCP ACK Delay ms Broadcast Connection WDT timeout ms Network WDT timeout System Timeout ms Master IP O Reset System IP MASK GATEWAY changes only take effect after the system is rebooted SRT IC Set IP Filter PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server The following is an overview of the parameters contained in the Network Settings section Item Description Default If no DHCP server is installed on the network the network settings IP Address can be configured manually This parameter is used to assign the subnet mask for the PDS series The subnet mask indicates which portion of the IP address is used to identify the local network or subnet This parameter is used to assign the IP Address of the Gateway to be Gateway used by the PDS series A Gateway or router is a device that is used to connect an individual network to one or more additional networks This parameter is used to enable or disable DHCP Client configuration function It is recommended that the DHCP Client setting is kept as disabled and using static network settings This ensures your PDS DHCP Client series always using a fixed IP address and you don t need to configure the virtual COM mappings again and again O Disabled 1 Enabled This parameter is use
3. Terminal Pin Terminal Pin No Assignment No Assignment Link Act 23 DOO DO 22 DOI EI 21 DO PWR DI 20 DIO 10 100M 19 GND Fi 4 01 CTSi a T PoE 01 de ae RR Ps Di WER 17 RxD6 COM 03 Main coms 18 TxDS 04 TxD1 TE men PTS 05 INIT 14 GND 06 D2 COM2 13 TxD4 s COM D WE 12 RxD4 Di WEE com tt 1x3 eS P RxD3 INIT Initialization pin for enabling disabling AUTOEXEC BAT 9 V Pin for the power supply R Vs PDS M 700 D series 10 30 Vpc unregulated _ PPDS M 700 D MTCP series 12 48 Vpc unregulated B GND GND Pin for the power supply COM1 GND DO PWR Power Input for Digital Output PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server Terminal Pin Terminal Pin No Assignment No Assignment Link Act 23 TxD8 Selle 22 RxD8 E 21 TxD COM 20 RxD 10 100M 19 GND OL CISSI come 18 T26 02 RISI 17 RxD6 COM1 03 Kei coms 16 TNS 05 INIT 14 GND 06 D2 COM 13 TxD4 CO a 12 RxD4 08 R Vs Se 11 TxD3 09 B GND 7 un RxD3 INIT Initialization pin for enabling disabling AUTOEXEC BAT V Pin for the power supply R Vs PDS M 700 D series 10 30 Vpc unregulated PPDS M 700 D MTCP series 12 48 Vpc unregulated B GND GND Pin for the power supply COM1 GND PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server
4. DO PWR Power Input for Digital Output PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server Terminal Pin Terminal Pin No Assignment No Assignment 43 DI4 22 DCD4 Ei 21 DTR4 ZU DSR4 10 100M COM4 19 CTS4 E 4 01 CTS1 18 RTS4 PoE 01 09 Ee 0 rei pa green 03 RxD1 16 RxD4 04 TxD1 15 GND4 05 INIT 14 GND3 Com 06 D2 13 RxD3 07 D2 COM3 12 TxD3 08 R Vs 1i RTS3 09 B GND 10 CTS3 INIT Initialization pin for enabling disabling AUTOEXEC BAT V Pin for the power supply R Vs PDS M 700 D series 10 30 Vpc unregulated PPDS M 700 D MTCP series 12 48 Vpc unregulated B GND GND Pin for the power supply COM1 GND PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server Terminal Pin Terminal Pin No Assignment No Assignment 43 DOS 22 DO Ei DO 21i DOIL ZU DOO 10 100M 19 DO PWR DI CTS1 18 GND PoE 01 09 ser 02 RISI 17 DB 03 RxD1 16 DI2 04 TxDi CU een mmm 05 INIT i4 DIO 06 D2 COM 13 TxD 07 D2 Sei 12 RxD3 09 B GND EZ emm WE INIT Initialization pin for enabling disabling AUTOEXEC BAT V Pin for the power supply R Vs PDS M 700 D series 10 30 Vpc unregulated _ PPDS M 700 D MTCP series 12 48 Voc unregulated B GND GND Pin for the power supply COM1 GND DO PWR Power Input for Digital Output
5. Step 9 The configuration of the PDS as follows can be changed Please setting for with your PC same network region IP Mask Gateway addresses This example 10 0 8 246 255 255 255 0 10 0 8 255 PAC 7186ER_UDPoip 192 168 41 1 Get TP 192 168 41 1 ReadBack JIP 192 168 41 1 PAG Y186ER _UDP gt mask 255 255 255 6 set MASK 255 255 255 8 ReadBack JMASK 255 Zi Zb HR uPAG 7186ER_UDP gt gateway 192 168 41 4 Set GATEWAY 192 168 41 4 LReadBack IGateway 192 168 41 4 PAC 7186ER_UDP setcom 1 115268 n 8 1 Current set is 9668 8 86 1 Set to LIZ NHL checksum Cc Table A 1 setcom parameters are as follows Port 1 Baud Rate 2 921600 Data Bit 7 8 for COM 1 2 5 6 7 8 for COM 3 8 Parity N n None parity M m Mark parity 1 E e Even parity S s Space parity 0 O o Odd parity Stop Bit 1 for COM 1 2 1 2 for COM 3 8 Programmable Serial to Ethernet Device Server Step 10 Disconnect the INIT pin from the GND pin Step 11 Execute ping you setting IP Example ping 10 0 8 246 t using a run command GAs zli Follow the procedure described Type the name of a program folder document or Internet below resource and Windows will open it for you Open ping 10 0 5 246 t Click the Start button and then click Run to open the Run Command dialog box In the Run Command dialog box type pin 10 0 8 246 t in Pinging 18 0 8 246 with 32 b
6. Error Response Byte Description Size VEIS lm Net ID Station number a Ge Function Function code 1 1Byte OSS Refer to Modbus Standard Specification Exception code 1 Byte for more details PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server gt For example function 05 0x05 Write DO Sets the DO2 to ON of PPDS 721D MTCP Leading 6 bytes Command 01 02 00 00 00 06 Request 01 05 00 02 FF 00 Leading 6 bytes Response 01 02 00 00 00 06 Response 01 05 00 02 FF 00 Descriptions as follows Command Leading 6 bytes Request Response Leading 6 bytes Response Byte 00 03 Byte 04 05 Byte 00 Byte 01 Byte 02 03 Byte 04 05 Byte 00 03 Byte 04 05 Byte 00 Byte 01 Byte 02 03 Byte 04 05 01 02 00 00 Message number 00 06 Number of remaining bytes in this frame 01 Net ID 05 Function Code 00 02 DO address FF OO Set the output to ON 01 02 00 00 Message number 00 06 Number of remaining bytes in this frame 01 Net ID 05 Function Code 00 02 DO address FF OO Set the output to ON PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 10 1 4 15 OxOF Force Multiple Coil Write DOs This function code is used to set multiple coils status or write multiple digital output value Request Byte Description Size VEIS
7. Starting DO address 2 Bytes Section 10 2 Modbus Register Map Byte 02 high byte Byte 03 low byte Byte 04 high byte 04 05 Number of points channels 2 Bytes Byte 05 low byte Response Byte Description Size VEIS TE Net ID Station number 1 247 Functioncode 1 Byte Byte count of response Byte Count 1 Byte n Points 7 8 n 1 Byte 03 data bit 7 0 n 2 Byte 04 data bit 15 8 n m Byte m 2 data bit 8m 1 8 m 1 Error Response Byte Description Size VEIS en Net ID Station number 1Byte 1 EE GE Byte Joe Refer to Modbus Standard Specification Exception code 1 Byte for more details PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server gt For example Function 01 0x01 Readback DOs Reads digital output value of PPDS 721D MTCP Leading 6 bytes Request Command 010200000006 0101 000000 07 Leading 6 bytes Response Response 010200000004 01010104 Descriptions as follows Command Leading 6 bytes Byte 00 03 01020000 Message number Byte 04 05 0006 Number of remaining bytes in this frame Request Byte 00 01 Net ID Byte 01 01 Function Code Byte 02 03 0000 Starting DO address Byte 04 05 0007 Number of points Response Leading 6 bytes Byte 00 03 01020000 Message number Byte 04 05 0004 Number of remaining bytes in this frame Response Byte 00 01 Net ID Byte 01 01 Fun
8. d http ftp icodas com pub cd 8000cd napdos modbus modbus utilit 6 1 Modbus TCP to Modbus RTU Gateway Step 1 Configuring COM Ports for Modbus Gateway 1 Enter the URL address of the PPDS 7O0 MTCP series in the address bar of the browser to log in to the web configuration pages Figure 6 1 1 pe olol xz J PPDS 755 MTCP Setup Page x wg C C D 10 0 8 15 di PPDS 55 MTCP Firmware Information Firmware Device Information R SESCH Module name PPDS 755 MTCP Alias name VCOMS Firmware version V3 2 32 Feb 25 2014 OS version v2 2 28 Nov 18 2013 OS Library version v2 14 Feb 19 2014 Settings TCPIIP Library version 1 29 Feb 25 2014 Misc Settings Free Memory bytes 1139776 PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server Click the Modbus Gateway Settings in the web page to configure the COM ports Select appropriate COM Port from the Port COMO for ALL PORTS drop down options for example COM2 4 Assign a Numbers of Modbus device in the Number of ID for serial Modbus device field for example 4 5 Select Modbus type from the Type 0 ASCII 1 RTU field for example 1 Modbus RTU 6 Checked the Save to EEPROM and Apply the current setting and then click the Update button to update it to PPDS 700 MTCP series module PPDS 55 MTCP MODBUS Gateway Setup
9. A syntax error or a Communication error will result in no response gt A delimiter for a valid command A delimiter for an invalid command A delimiter for an ignore command meaning that the module is in Host Watchdog Timeout Mode and the output is set to safe values gt Example Command Response 01000F gt Set the digital output of channel 3 to 0 as on Returns success 010005 Set the digital output of channel O and 2 as on Returns that the module is in Host Watchdog Timeout Mode and the output was been set to safe values gt Related Topics Section 8 10 AA Data Section 8 15 AAO Section 8 16 AAT PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 8 13 AA1ndd This function sets the output of a single channel gt Syntax AA1ndd CHK cr A delimiter character AA The address of the module 01 only for PDS 1n The command used to set the output of a single channel n is the digital output channel number dd 00 sets the digital output channel to off 01 sets the digital output channel to on gt Response Valid Command gt CHK cr Invalid Command CHK cr Ignored Command CHK cr A syntax error or a communication error will result in no response gt A delimiter for a valid command A delimiter for an invalid command A delimiter for an ignore command meaning that the module is in Host Watchdog Timeout Mode and the
10. Related Topics Section 8 20 AAA PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 8 23 Application Notes gt Hot Watchdog Status The Power On Reset or Module Watchdog Reset will return all output settings to Power On Values The Host Watchdog Timeout will return all output values to Safe Values Additionally the status of the Host Watchdog which can be read using the AAO command will be recorded as 04 and output commands will be ignored until the status is cleared to 0 by using command AAT gt Dual Watchdog Operation Dual Watchdog Module Watchdog Host Watchdog The Module Watchdog is a hardware reset circuit that is used to monitor the operating status of the module When working in harsh or noisy environments the module may be interrupted by external signals The circuit can let the module reboot automatically and to work continues without halt The Host Watchdog is a software function that is used to monitor the operating status of the host Its purpose is to keep PDS s output in a safe state when there is network communication problem or host PC halt If the timeout interval expires the module will turn all outputs to the predefined Safe Value and prevent unexpected situation from occurring The PDS series with Dual Watchdog will make the control system more reliable and stable gt Reset Status The Reset Status is set when the module is powered on or
11. r 110 Purging data of COM ports 300 Receiving data from COM4 M e00 Sending data to COM3 OK Complete M 1200 Check data OK 2136 ms M 2400 M 4800 Purging data of COM ports Iw 9600 Receiving data from COM 19200 sending data ta COM4A Ok 38400 Check data OK i 2136 ms 57600 Jest 0K on 9600 8M1 M 115200 M 230400 Data Length 1024 460800 End test at 2014 9129 LA 11 43 25 M 921600 H Timeout me 3000 W Timeout m 0 Loop fio Errors 0 Count 10 Start receiving data after sending finished Total Test 10 Success Test 10 Failed Test 0 ear log eva ZU UU lines for reducing memory usage Used to test senal driver s butter size I Beep when era Test COM1 ATS COM2 CTS I Bidirection te Se M XN i IAU i RSH T To ES oo ed Test COM1 OTA COM205R Test COM1 DTA COM2 DCO Load Config PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 6 Modbus Testing and Protocol The PPDS 700 MTCP series module can works as a Modbus TCP to RTU ASCII gateway that supports most SCADA HMI communications based on the Modbus TCP protocol This chapter provides detailed information about the Self Test process which is used to confirm that the PPDS 700 MTCP series is operating correctly Follow the procedure described below A Note This chapter is only suitable for the PPDS M 700 D MTCP PDS 5105D MTCP and PPDS 700 IP67
12. 9 3 10 EndChar This command is used to query or set the EndChar parameter PDS sends out the response string from serial port to TCP client immediately when it received a char on the response string that matching the EndChar Set EndChar 00 to disable the EndChar feature Effect Immediate Command Arguments Description Endchar Queries the endchar setting Endchar HH Sets the endchar Figure 9 3 10 The following is an example of a EndChar configuration gt 7188X 1 36 C0M1 115200 8 8 1 FC0 C TSS DIR C Documents and SettingsiU s rs pds 0 coms238 gt endchar EndChar D coms230 gt endchar HB EndCGhar HB EndChar OD EndChar OB SSES a E SS Send ah f Send ah Hex 31 3161 68 lex H 316168 S Receved Received 3C 31 31 61 68 SO lt ilah gt 3C 31 31 61 68 SO lt llah gt i d i i T PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 9 3 11 IP This command is used to query or set the IP address Effect After the next reboot Command Arguments Description IP Queries the IP address IP XXX XXX XXX XXX Sets the IP address Figure 9 3 11 The following is an example of a IP configuration 71884 4 1 36 COM1 115200 4 9 1 FC 0 C TS 0 DIR C Documents and Settings User ee pds O coms230 gt ip IP 16 6 8 25 coms230 gt 1p 18 60 8 28 IP 16 6 8 28 9 3 12 MASK This com
13. AA4P CHK cr A delimiter character AA The address of the module 01 only for PDS 4P The command used to read the power on value for the DO gt Response Valid Command AA Data CHK cr Invalid Command AA CHK cr A syntax error or a Communication error will result in no response I A delimiter for a valid command A delimiter for an invalid command AA The address of the module 01 only for PDS Data The power on values gt Example Command Response 014P 101000F Read the power on values Returns the power on value OF gt Related Topics Section 8 21 AA5P PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 8 20 AA4S This function reads the Safe Values for the DO gt Syntax AA4S CHK cr A delimiter character AA The address of the module 01 only for PDS 4S The command used to read the power on value for the DO gt Response Valid Command AA Data CHK cr Invalid Command AA CHK cr A Syntax error or a communication error will result in no response I A delimiter for a valid command A delimiter for an invalid command AA The address of the module 01 only for PDS Data The power on values gt Example Command Response 014S 101000F Read the safe values Returns the power on value OF gt Related Topics Section 8 22 AA5S PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Dev
14. IP2 MASK See SR IPL IP2 MASK e TI Save to EEPROM C Reload from EEPROM Apply the current settings PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server The following is an overview of the parameters contained in the IP Filter Setup Page section Item Description Only clients who s IP address is included in the filter table are able to Set IP1 only l connect to the PDS series Set a range of IP address as a starting and ending point The setting Set IP1 IP2 allows clients who s IP address is included in the range are able to connect to the PDS series Set the IP filter range as IP1 amp Mask 0 IP1 amp Mask Mask Only clients who s IP address is included in the range are able to connect to the PDS series Set IP1 Mask For instance IP1 10 0 9 5 mask 255 255 255 0 IP1 amp MASK 10 0 9 0 mask 0 0 0 255 This allows clients who s IP address is included in the range of 10 0 9 0 10 0 9 255 are able to connect to the PDS series If the UPDATE button is clicked with checking Save to EEPROM Save to EEPROM option the new settings will be saved to the PDS series only and the new settings will be valid after the next power on If the UPDATE button is clicked with checking Reload from Reload from EEPROM EEPROM option PDS series can apply the settings from EEPROM immediately Apply the current If the Ap
15. PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server t 09 Terminal No EI V Pin for the power supply PDS M 700 D series 10 30 Vpc unregulated PPDS M 700 D MTCP series 12 48 Vpc unregulated Pin Assignment Link Act 10 100M CTS 1 RTS1 RxD1 TxD1 INIT D2 D2 R Vs B GND GND Pin for the power supply COM1 GND Terminal No COMS COM4 COM Initialization pin for enabling disabling AUTOEXEC BAT PDS Series User Manual Version 2 2 3 Jan 2015 Pin Assignment RxD5 TxD5 RISS CISS GND RxD4 TxD4 RTS4 Ee GND RxD3 TxD3 RTS3 CTS3 Programmable Serial to Ethernet Device Server Terminal Pin Terminal Pin No Assignment No Assignment Link Act 23 DATA COMS 22 DATA Ei 71 20 10 100M 1 Ei D t 19 PoE 01 09 01 CIS a ee 02 RISI 17 DATA comi COM4 03 RxDi i6 DATA 04 TxD1 WE 05 INIT D me 06 D2 TE Wi COM 07 DA pen em 08 R Vs m T DATA 09 B GND COPE em PERT E1 t D PoE 01 09 INIT Initialization pin for enabling disabling AUTOEXEC BAT V Pin for the power supply R Vs PDS M 700 D series 10 30 Vpc unregulated PPDS M 700 D MTCP series 12 48 Vpc unregulated B GND GND Pin for the power supply COM1 GND PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server
16. tab at the PDS Misc Setup Page to proceed to the Login Page Login Misc Settings Current New Alias Name Web Read Only 0 PPDS 55 MTCP Misc Setup Page Step 2 Enter the password in the PASSWORD field use the default password admin and click the LOGIN button to proceed to the settings page If you want to change default password please refer to Section 4 5 2 Change Password PASSWORD ed LOGIN Default Password O L admin Step 3 Check the Restore to Factory Default Settings option and click the UPDATE button to update the setting PPDS 55 MTCP Login Page PP DS 755 MTCP Misc Setup Page Logout Misc Settings Current New Alias Name p Web Read Only 0 mmm Set New Password Confirm New Password E Restore to re Default gege UPDATE PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server The following is an overview of the factory default settings Factory Default Settings Network Settings IP Address 192 168 255 1 192 168 0 1 Subnet Mask 255 255 0 0 DHCP Disabled User can restore PDS password to default value admin by using config RESET console command refer to Chapter 9 Console Telnet Commands List This command sets most configurations of PDS to factory setting It requires reboo
17. AA The address of the module 01 only for PDS Data The firmware version information Example Command Response SO1F 101A1 00 Read the firmware version details Returns version No A1 00 PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 8 8 SAAM This function reads the module name gt Syntax SAAM CHK cr A delimiter character AA The address of the module 01 only for PDS M A command for reading the module name gt Response gt Valid Command AA Data CHK cr Invalid Command AA CHK cr A syntax error or a communication error will result in no response l A delimiter for a valid command A delimiter for an invalid command AA The address of the module 01 only for PDS Data The name of module Example Command Response 01M IO1PDS 721 Reads the module name Returns the name PDS 721 PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 8 9 AA This function reads the status of the digital input output gt Syntax AA CHK cr A delimiter character AA The address of the module 01 only for PDS gt Response gt Valid Command gt Data CHK cr Invalid Command AA CHK cr A syntax error or a Communication error will result in no response gt A delimiter for a valid command A delimiter for an invalid command AA The address of the module 01 only for PDS
18. B AI IO DUU TES e dE AL cnet sen MO i el E D DU HIE 3 i i DHCP d eg Figure 7 1 4 Step 11 Install the DCON Utility v4 5 0 or later The DCON Utility can be obtained from either the companion CD ROM the ICP DAS FTP site or the ICP DAS web site The location of the install files on the CD and the download addresses are shown below CD NAPDOS Driver DCON_ Utility http ftp icodas com pub cd 8000cd napdos driver dcon utilit PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server Step 11 Run the DCON Utility and click the COM Port option on the toolbar Step 12 Select the Virtual I O Port number the same as Port I O field in the VxComm Utility Check 115200 and 9600 as the Baud Rate DCON as the protocol checksum disabled parity as none and then click the OK button EI Select the COM Port and Baud Rate Eg Select N to search Timeout Settings Ie com l O gt 300 mz Baud Rate Options r Sane u ene 57600 p 38400 19200 4800 p 2400 F 1200 Select All Clear All PDS PPDS 700 Protocol Options jw DECONT Modius ATU T Modbus ASCII E DCON Utility version 525 stop se ED to ten scenom Module Address Baud Rate CI Checksum Options W Disable wW Enabled searching Status COM Port COM 4 Addr E D Even E 9 1 Data Bit a Stop Bit d None
19. COM1 GND DO PWR Power Input for Digital Output PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server INIT ba R Vs B GND Terminal No Ei Pin Assignment Link Act 10 100M CTS1 RTS1 RxD1 TxD1 INIT D2 D2 R Vs B GND Terminal No DI LO Initialization pin for enabling disabling AUTOEXEC BAT V Pin for the power supply PDS M 700 D series 10 30 Vpc unregulated oI PPDS M 700 D MTCP series 12 48 Vpc unregulated DO PWR Power Input for Digital Output GND Pin for the power supply COM1 GND PDS Series User Manual Version 2 2 3 Jan 2015 Pin Assignment DOS DO DO DOO DO PWR GND DI3 DI DI DIO RxD3 TxD3 RTS3 MES Programmable Serial to Ethernet Device Server Terminal Pin Terminal Pin No Assignment No Assignment Link Act 23 DOS 22 DO Ei DO 21 DO1 20 DOO 10 100M 19 DO PWR 01 CTS1 18 GND E 4 PoE 01 09 COMI 02 RISI 1 DIS 03 Ri 16 DP OF TxD1 DI i5 Di 05 INIT i4 DIO 06 D2 D COM L RxD3 07 DA Co 12 RxD3 08 R Vs 11 TxD3 D3 09 B GND 10 TxD3 D3 INIT Initialization pin for enabling disabling AUTOEXEC BAT oe F V Pin for the power supply R Vs PDS M 700 D series 10 30 Vpc unregulated _ PPDS M 700 D MTCP series 12 48 Voc unregulated B GND GND Pin for the power supply COM1 GND
20. GBHF 9445 0i otal File number is 2 Free space 375599 bytes PAC 71I86ER_UDP gt autoexec bat com3230 gt save 4 aen Backup ini file com323 gt load Load vc6_3230 exe ress ALT_E to download filet Input Filename vc6_3236 exe Load file vc6_3238_ exe cre 6927 0008 Send file info total 325 blocks Transfer time is 10 7650060 seconds com3230 gt quit PAC 7186EsR_UDP gt dir Hiuch 3238 exe 0571372008 11 16 67 83639 1445F 8682 B668 9447 BHF 1 gt oautoexec bat 43 04 2688 11 26 82 18 00H12 19449 BhBF 9445 abhi 22uch 3238 exe 0571372008 11 16 67 83639 1445F 19440 6661 As93 Hip otal File number is 3 Free space 292528 bytes When save 0 the system doesn t back up the autoexec bat and vcom ini files to memory and doesn t clear the flash disk It only loads the file that is selected specified PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server Figure 9 3 21 The following is an example of a Save 1 configuration TL88 AW 1 36 COM1 115200 N 6 1 FC 0 C TSO DIE Documents and Settings 0 serie pds O PAC Yi8B6EX _UDF gt dir Hauch _3230 exe 857139726088 11 16 67 83639 i445F 062 0 H t 44y Hut LAautoexverc bat 43 04 2008 11 26 82 18 H6612 19449 BBA F 9446 RI otal File number is 2 Free space 375599 bytes PAC V186ER_UDP gt autoexec bat coms2 3H gt save 1 ae Backup ini File 1 com3230 gt lo
21. Jan 2015 Programmable Serial to Ethernet Device Server 9 3 5 Broadcast This command is used to Enable Disable listening broadcast packets on PDS Effect Immediate Command Arguments Description Broadcast Queries the Broadcast settings Broadcast Sets Broadcast 1 The system is able to receive broadcast packets Broadcast Sets Broadcast 0 The system will ignore broadcast packets Figure 9 3 5 The following is an example of a Broadcast configuration lt 7188X W 1 36 C0M1 115200 N 8 1 FC0 C TS DIR C Dod coms230 gt hbroadcast BroadGast 1 com3236 gt hbroadcast A FoadGast A coms230 gt hroadcast 1 PFoadGast 1 UYcoms238 gt PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 9 3 6 SystemTimeout This command queries or sets the system timeout value If the SystemTimeout is greater than zero and the PDS does not receive any packets from any client for longer than the SystemTimeout period the PDS will reboot itself Effect Immediate Command Arguments Description SystemTimeout nnnnn Sets the SystemTimeout Unit ms Default factory setting is 300000 ms 300 seconds 5 minutes Min value is 30000 ms 30 seconds Figure 9 3 6 The following is an example of a SystemTimeout configuration 71885 W 1 36 COM1 115200 N 8 1 FC0 C T50 DIR C f coms230 gt s ystemt imeout Sus tenl imeout coms230 gt s
22. S space parity gt LED 5 Stop Bit 1 or 2 The format for the connected clients and debugging information is as follows Connected clients and debugging information Yau gt 5 digit LED Group ID 44444 gt LED 1 will display 1 2 3 4 and 5 in sequence gt When LED 1 is 1 LED 2 3 indicates the number of available free sockets default is 26 for PDS and LED 4 5 shows the number of sockets being used by clients default is 0 e g 12600 gt When LED 1 is 2 LED 2 5 indicates how many times the PDS 700 has been reset e g 20002 The PDS has been reset 2 times gt When LED 1 is 3 the display indicates how many Ethernet packets are currently being received by the PDS gt When LED 1 is 4 the display indicates that the status of the internal Flag used to allow Ethernet packets to be sent is O or 1 gt When LED 1 is 5 the display indicates the number of times the Ethernet chip has been reset PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server When the PDS is first powered up or if it has just been reset the reset state 1 If any client connects to the PDS the reset state will be changed to 0 In addition the number of free sockets will be decreased and the number of used sockets will be increased If the number of free sockets is reduced to O then no additional clients will be able to link to the PDS The default number of free sockets for the PDS
23. Step 1 Connect the Modbus device to the PPDS 700 MTCP series 1 Keep up network connection status for your PPDS 700 MTCP series Refer to Chapter 3 Setting up the PDS Series Module for more details 2 Connect the Modbus device e g M 7015 optional to the PPDS 700 MTCP series on COM2 RS 485 bus for self test 3 Supply power to the Modbus device M 7015 Device ID 2 10 to 30 Vpc Power used Ze Refer to Figure 6 1 to 6 3 for an illustration of how to perform the above steps gt Figure 6 1 PDS 5105D MTCP PDS B108D MTGP Device IDs 2 IM 7025 Device ID 2 POMEL SHUT eyo KY PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server gt Figure 6 2 PPDS M 700 D MTCP series E Mochus Davies GE Geseit gt Ess D e dm rg last AG Ze E SCZ ee airi TR 4 RS 48E POWenmSsupply gt Figure 6 3 PPDS 700 IP67 series gt PDS 700 PG7 Device IDs 3 M7015 Davies ID 2 Gei a gt D mm oe 1 ICEA Dr i TE Fj et Power Supply PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server Step 2 Install the Modbus Utility The Modbus Utility can be obtained from either the companion CD ROM the ICP DAS FTP site or the ICP DAS web site The location of the install files on the CD and the download addresses are shown below CD NAPDOS Modbus Modbus_Utility
24. ZG PRPO FOOI 7 O E E E E E E E E E E eeeeed meesteedee 46 EE 47 2 7 TINE IE VIC ONT UING epesccenssanus sep enctetea tssensraecennsatussetesanctnneactis umoudecse sates ssteuancdensactissemeusece E 48 2 8 PDS SERIES DIAGNOSTICS LED INDICATOR ccccccceeccccenecscceuecseeeuecsceuecscueecseeeueceseueeeeeeuecssececseuuueeseeueesseeeceseunesenees 50 2 9 INIT NORMAL OPERATING Mont 55 2 9 1PDS 700 D PPDS 700 D MITCP Series 55 29 2 D05 700 PD5 782D 25 EE Eiere 56 2 9 3PDSM 700 D PPDSM 700 D MITCP Series 56 SE 57 EE 57 2 10 FLASH PROTECTION en de E 58 2 10 1 EE 58 2 10 2 PDS M 700 D PPDS M 700 D MTCP Series 59 2 10 3 DS 700 PDS 782 D 25 Eege gege 61 2 11 WATERPROOFING ATTACHMENT INSTALLATION FOR IP67 SERIES ccseeecceeeeceeeeceeeeeeeeeceaeeecaeeecaeecaueeeaaeeeeaeeeeeneeeaaeees 62 2 11 1 Power PIG Installation EE 62 2 11 2 PD IO VS UG HOON E 65 3 SENTING UP THE PDS SERIES MODULE ag cieciaatacinseteeenecracietsaniesa Suse suaadieatseqesicida EN EEEN TNE ATE 68 A WEB CONFIGURATION E 77 4 1 LOGGING IN TO THE PDS WEB SERVER nsssssssssssssseesssssssssssssrrrereresssssssssssererrrreeresssssssssttrerrrereeessssssssesererreeeeeeessssssseee 77 4 2 PEON e epee cde E E E E 79 BP AV PIECE SOG EIN E 83 4 3 EI Reg lt Le 85 4 3 1Operation Mode MO M1 M2 and MA 89 Jae DOE CIOL VCOMS COMIN COIN EE 91 PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 4 4 MODBUS GATEWAY SETTINGS
25. 0 Returns 123 S01C0 101 Clears the counter value on digital input channel 0 Returns success 010 10100000 Reads the counter value on digital input channel 0 Returns 0 gt Related Topics Section 8 11 AAn PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 8 5 SAAGCN This function reads the digital input output channel count gt Syntax SAAGCN CHK cr A delimiter character AA The address of the module 01 only for PDS GCN A command for reading the digital input output channel count gt Response gt Valid Command gt DINxxDONxx CHK cr Valid Command gt DONxx CHK cr DO only Invalid Command AA CHK cr A Syntax error or a communication error will result in no response gt A delimiter for valid command A delimiter for invalid command AA The address of the module 01 only for PDS DINxx DIN The digital input channel xx The total channel count DONxx DON The digital output channel xx The total channel count Example Command Response SO1GCN gt DINO1DONO2 Reads the total I O channel count for the module Returns that the module is equipped with 1 digital input channel and 2 digital output channels PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 8 6 SAALs This function reads the latched digital Input gt Syntax SAALs CHK cr A delimiter character AA The addr
26. 0 10 0 8 254 00 0d e0 d0 d7 16 OF 3 Enter the network settings information including the IP Mask and Gateway addresses and then click OK button The new settings for the PDS series will take effect within 2 seconds If you don t know the correct network configuration information contact your Network Administrator to obtain the details Configure Server UDF Server Name PDS 04 amp DHCP o OFF 7 Alias 7 Chars IP Address fi 00 0 8 200 MAC 00 0d 0 50 08 c6 sub net Mask 255 255 0 0 Yarning Contact your Network Administrator to get Gateway fi 0 0 8 27254 correct configuration O any changing Cancel PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server Step 4 Configuring the Virtual COM Ports 1 Wait 2 seconds and then click the Search Servers button again to ensure that the PDS series is working correctly with the new configuration Click your PDS on the list d Remove Server a Web dch Search Servers Name Alias IP Address Sub ngftMask Gatewa MAC Address Configuration UDP me zap iDS 700 10 0 8 55 266 55 255 0 10 0 8 254 00 18 30 FC 74 65 PDS f8 H A 10 0 8 200 255 255 0 0 10 0 8 254 00 0d e0 50 08 c6 xit E SE geg ll EJ stah 2 2 Click the Add Server s button Assign a COM Port number and click OK to save your settings gt xComm U
27. 3 VxComm Technology In general writing a TCP IP program is more difficult than writing a COM Port program Another issue is that perhaps the existing the COM Port communication system was built many years ago and is now outdated As a result a new technology VxComm was developed to virtualize the COM Ports of the PDS series to allow up to 256 COM Ports to be used on a central computer The VxComm driver saves time when accessing serial devices through the Ethernet without the need for reprogramming the COM Port software on the PC Hub Ethernet 10h PDS 700 IP 1 E WW Ka P WE RI T E Sre i F Fi lt 7 COOP mem gl OOO 01 OOO FF COM 255 COM 256 psw e ZULU 01 OOO FF PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server The VxComm driver controls all the details of the Ethernet TCP IP programming technique meaning that with the assistance of PDS series and VxComm technology your COM Port program will be able to access your serial devices through the Ethernet in the same way as through a COM Port COM Port Program a T Transparent Virtual COM Port E Serial Device Ve omm Protocal Transparent UOIFEDIUNWIWIOD jeas Virtual COM Port Virtual COM Port A Serial Device _ xComm Protocal Computer PDS Ser
28. 6 2 1 3 Select appropriate COM Port from the Port COMO for ALL PORTS drop down options for example COM2 4 Select the MO M1 or M2 from the Operation Mode field for example MO Transparent Mode PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 5 Check the Save current settings to EEPROM Apply current setting and then click the SET COM PORT button to complete the setting Refer to Figure 6 2 2 for illustrations of how to perform the steps 3 to 5 ieee Configure COM PORT xerston Port COMO for ALL PORTS COM2 Figure 6 2 2 Network Settinas pauu male JOJU F e A Settings Parity Mone e Modbus Stop Bits el Gateway Rx FIFO Trigger Level 1 e Settings Data Buffered Delay Time DBDT ms Misc Settings End Char hex e MO Transparent Mode M1 Slave Mode Operation Mode P M2 Half Slave Mode M3 Modbus Gateway Stave LIMEOur ms Master Ack Timeout MAT ms 0 DISABLE Save current settings to EEPROM Apply current settings SET COM PORT D Run
29. 8 Parity Bit 0 Stop Bit 1 void CManualiDlg OnClose_Com Close_Com 3 void CManual1Dlg OnDigital_ Out iRet DCON_Write_DO 3 1 1 4 iDO_value 0 100 COM Port 3 Address 1 Slot 1 total channel count 4 DO data Checksum disabled Timeout 100 ms PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 7 3 1 Open_Com This function opens the specified COM Port gt Syntax Open_Com unsigned char cPort DWORD dwBaudrate char cData char cParity char cStop gt Parameters cPort COM Port number 1 255 dwBaudrate Communication Baud Rate cData Data bit 8 for PDS cParity 0 No parity cStop 0 1 Stop bit gt Returns 0 No error Others Error codes 7 3 2 Close_Com This function closes the specified COM Port gt Syntax Close_Com unsigned char cPort gt Parameters cPort COM Port number 1 255 gt Returns 0 No error Others Error codes PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 7 3 3 Send Receive _Cmd This function sends a DCON command string and receives the response gt Syntax Send_Receive_Cmd unsigned char cPort char szCmd char szResult WORD wTimeOut WORD wChksum WORD wT gt Parameters cPort COM Port number 1 255 szCmd The send string 1024 bytes maximum without a zero OxOD character szResult The r
30. COM 3 Opened Step 4 Set Module Parameters otep 1 Open COM Port 15 465 Address of Module i COM Port 3 BaudRate 2800 Total DI Channel of Module 2 Open COM Port Close COM Total DU Channel of Module f4 Di 2 Set Communication ene Slot for module insert into 1 8000 f a e anne Ml LI Tel All 5 Set the Output value and then click the Write DO button to transmit the data otep 5 Write DO e Write DO Output Yalue mmm 6 Click the Read button to retrieve the DI data and read the DO data Step b Read DIO 7 Press the Exit button to exit the program Exit PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server The functions in the General DCON API kit can be used to access the I O lines on the PDS series module Section Categorization Dil and lib Call condition Starting function Uart dll Open_Com Uart lib I O function DCON_Write_DO dcon_pc dll DCON Write DO Bit dcon_pc lib DCON_Read_DIO Called once when the program starts Calls the I O functions for requirements Communication Uart dll Calls the communication functions for Send _Receive_Cmd Uart lib requirements Ending function Uart dll Called once before the program exits Close_Com Uart lib Prog DO program demo on a PC client void CManual1Dlg OnOpen_Com Open_Com 3 115200 8 0 1 COM Port 3 Baud Rate 115200 Data Bit
31. Confirm that the COM Port for Modbus Gateway Settings area of the serial COM ports is Disable COM Port for Modbus Gateway Settings COM 1 ID 0 Disable COM 2 ID 0 Disable COM 3 ID 0 Disable a COM 4 ID 0 Disable COM 5 ID 0 Disable Configure COM PORT Device ID for PPDS 755 MTCP D Port COMO for ALL PORTS como Number of ID for serial Modbus device o 0 Disable limeout detault 50 ms ms Type O ASCIl 1 RTU Save to EEPROM U Reload from EEPROM w Apply the current settings amp Update PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server Step 2 Testing Modbus Device through Virtual COM Ports 1 Run Modbus Utility program and click the Modbus TCP button Refer to Figure 6 1 4 2 In the Modbus Utility select the Modbus RTU Client item from the Client tools menu S Modbus Utility Yerli 23 2012 10 15 Status 4 Bus 3 Select your virtual COM port and baud rate data format default 9600 N 8 1 on PPDS 700 MTCP series module and then click Open button to connect the PPDS 700 MTCP series module MBRIUD 1 0 9 COM3 COM Status Protocol Description CoM EC Read multiple coils status Wan for DO Request Byte 0 Met ID Station number Dee FC 01 Byte 2 Ref
32. Current 100 mA max Isolated Voltage Non isolated Digital Input Input Type Source Dry Type Common Ground Off Voltage Level 1 V max On Voltage Level 3 5 V 30 V Isolated Voltage Non isolated 16 bit 65535 Counter Max Input Frequency 100 Hz Min Pulse Width 5 ms PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 2 1 2 DS 700 gt System Specifications DS 700 CH EH Hm C 80186 80 MHz or compatible SRAM 512 KB Flash ROM 512 KB Erase unit is one sector 64 KB Flash Memory 1000 000 erase write cycles EEPROM Built in Watchdog Timer Yes COM Port Formats Data Bit Parity Stop Bit Baud Rate LED Indicators 16 KB Data retention 40 years 1000 000 erase write cycles None Even Odd Mark Space ES SC 00 115200 bps Max m Run Red Link Act Red 10 100 M Orange m Protection Power Reverse Polarity Protection 12 Voc 48 Voc non regulated 2 0 W Required Supply Voltage Power Consumption gt Communication Interface Models DS 712 COM1 RS 232 TxD RxD RTS CTS GND 10 100 Base TX RJ 45 Port Ethernet E o Auto negotiating auto MDI MDI X LED indicator Models DS 715 Isolated OA RS 422 TxD TxD RxD RxD 2000 Vrms RS 485 D2 D2 Yes 1 KO RS 485 Node 245 max 10 100 Base Tx RJ 45 port Ethernet WW Auto negotiating auto MDI MDI X LED indicator PDS Series User
33. DBDT 0 3 EndChar 00 MO ST 200 MAT 0 115200 8 N 1 FTL 1 DBDT 0 2 EndChar 00 MO ST 200 MAT 0 9600 8 N 1 FTL 1 DBDT 0 3 EndChar 00 MO ST 200 MAT 0 Configure COM PORT CH Port COMO for ALL PORTS COM1 Baud Rate S600 e Data Bits le Parity l Mone Y Stop Bits e Rx FIFO Trigger Level ie Data Buffered Delay Time DBDT Crad Char PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server gt The COM Port Settings list is saved in the EEPROM on the PDS series COM Port Settings saved in EEPROM COM 1 9600 8 N 1 FTL 1 DBDT 0 0 EndChar 00 MO ST 100 MAT 0 COM 2 9600 8 N 1 FTL 1 DBDT 0 0 EndChar 00 MO ST 100 MAT 0 COM 3 9600 8 N 1 FTL 1 DBDT 0 0 EndChar 00 MO ST 100 MAT 0 COM 4 115200 8 N 1 FTL 1 DBDT 0 0 EndChar 00 MO ST 100 MAT 0 COM 5 9600 8 N 1 FTL 1 DBDT 0 0 EndChar 00 MO ST 100 MAT 0 gt The Currently Used COM Port Settings list Currently Used COM Port Settings COM 1 9600 8 N 1 FTL 1 DBDT 0 3 EndChar 00 MO ST 200 MAT 0 COM 2 9600 8 N 1 FTL 1 DBDT 0 3 EndChar 00 MO ST 200 MAT 0 COM 3 9600 8 N 1 FTL
34. Digital Equipment Corp Intel Corp and Xerox Corp Ethernet is the most popular physical layer Local Area Network LAN technology in use today 4 Firmware Firmware is an embedded software program or set of instructions programmed on a device that provides the necessary instructions for how the device communicated with other computer hardware and is located or stored in a semi permanent storage area e g ROM EEPROM or Flash memory Firmware can often be updated by downloading a file from the manufacturer s web site or FTP 5 Gateway Computers that interconnect two networks and pass packets from one to the other are called Internet Gateways or Internet Routers Gateways route packets that are based on the destination network rather than the destination host 6 ICMP Internet Control Message Protocol ICMP provides a method of communicating between the Internet Protocol software on one machine and the corresponding software on another It allows a gateway to send error or control messages to other gateways or allows a host to diagnose problems with the network communication 7 Internet Physically the Internet is a collection of packet switching networks interconnected by gateways that together with the TCP IP protocol allows them to perform logically as a single large and virtual network The Internet recognizes hosts using 32 bit IP address PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to E
35. Ethernet Device Server 2 9 4 PPDS 700 IP67 Series 2 9 5 PDS 5105D MTCP Init Mode PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 2 10 Flash Protection Function In factory default settings the flash protection function is disabled User can modify the program by yourself or update the firmware But if need to avoid writing or erasing any file in the flash user have to enable the flash protection function in the PDS modules Please switch the position of the jumper to LOCK and then the PDS modules can restrict any write to flash memory For more detailed steps as follows 2 10 1 PDS 5105D MTCP Module gt Factory Default is Non Lock position Non Loc Lock gt Flash Lock PDS Series User Manual Version 2 2 3 Jan 2015 gt Step 1 Remove the screw gt Step 3 Carefully pick up Programmable Serial to Ethernet Device Server gt Step 4 Factory Default is Non Lock Non Lock position gt Step 5 Flash Lock PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 2 10 3 DS 700 PDS 782 D 25 Series gt Factory Default is Normal position Flash Non Lock Flash Lock eme gt Flash Lock Flash Normal PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 2 11 Waterproofing Attachment Installation for IP
36. Ethernet Device Server Step 3 Check the 5 digit 7 SEG LED Data will be shown as follows A Note Only D version modules have a 5 digit 7 SEG LED Start Module Name Kg a JI IP Address 192 168 255 1 eej e m ie e Command Port 10000 DHCP 0 Disabled REES COM1 Baud Rate COM2 Baud Rate The number of serial COM Ports ry ee available depends on the type of PDS series The number of serial COM Ports available depends on the type of PDS series Connected clients and debugging information Juuguu Information related to the PDS series module can be classified into 4 main areas Group ID 11111 The IP address information for the PDS series Group ID 22222 The Baud Rate for all COM Ports Group ID 33333 The COM Port configuration Group ID 44444 The Connected clients and debugging information for this PDS series module VV V V PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server The format for the PDS IP address information is as follows IP Address 192 168 255 1 IP Address 192 168 2551 ceed ie asale tele asi d Command Port 10000 DHCP 0 Disabled 7 7 5 Digit LED Group ID 11111 LED 1 indicator which can be either 1 2 3 or 4 LED 2 5 IP address TCP command port Default 10000 DHCP Setting disabled 0 enabled 1 VV VV WV The LED will initially display the Group ID and
37. Help Exit ModbusyRTU Client Ei jetting e set UDF Search d EnableMode a Timeout H ms Baudrate Baudate Data Bit Dat si Parity Paty Stop Bit Stopt aiidiiatia System Setting Set ations per COM Port Count Figure 6 1 5 PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 3 Enter the IP address of PPDS 700 MTCP series module and then click Connect button to connect the PPDS 700 MTCP series module Figure 6 1 6 MBTICP Fer 1 1 4 FC1 Read multiple coils status Oxxxx for DO v ip 192 168 255 1 S Prefixed 6 bytes of Modbus TCP protocol A Port 502 Byte 0 Transaction identifier copied by server usually 0 Byte 1 Transaction identifier copied by server usually 0 L i Connect Oise Byte 2 Protocol identifier 0 Byte 3 Protocol identifier 0 Byte 4 Length field upper byte 0 a Protocol Description oppe Clear Statistic aur Response erence E Total Packet bytes 0 Packet Quantity received em ode ara Polling Mode Timing ms Start Time Max mp EE Se l P RE Stop Time Min mm Send Command Byte0 Byte Byte2 Byte3 Data Log EXIT Program 4 Refer to Protocol Description and type command in the command field Click the Send Command button 6 Ifthe response data is correct it means the te
38. Link Act 28 GND ibs E1 a un D P10 ES 10 100 26 D10 jes 25 D9 Kaes Link Act Ir S CONE Ke J 23 D8 j 10 100M COM8 72 D8 z FH 01 D2 21 D7 E ee Hier COM mem epes mm aa i 03 GND See 19 D6 Il 04 RxD 18 D6 Ka SE i comi 05 TxD 17 D5 06 D1 SS 16 D5 07 D1 15 D4 COM4 08 PWR 14 D4 09 PGND COM2 T3 D 10 FG 12 D3 11 GND V pin for the power supply 12 48 Vpc unregulated GND pin for the power supply Frame Ground pin PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 2 4 15 PPDS 700 IP67 PPDS 741 IP67 CEELEELEEELLEELEEL fra PPDS 741 IP67 Ne yy ei mCOM3 RS 485 m COM4 RS 485 PEE fra PPDS 742 IP67 NO La N COM3 RS 232 m COM4 RS 485 Ke PPDS 743 1P67 NO IZ N LED Indicators System Sys PoE E1 Ethernet 10 100M E1 Link Act E1 RxD l COM1 COM4 TxD PWR GND Pin 5 wire RS 232 2 wire RS 485 Pin Name 1 1 F G 2 RTS 2 Vs 3 GND GND 3 PWR GND 4 TxD 4 GND 5 RxD DATA 5 Init 6 DATA 7 Cis 8 PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 2 5 Wiring Notes 2 5 1 RS 232 Wiring Device 3 wire RS 232 Wiring Device 9 wire RS 232 Wiring DTE Computer DCE Modem 1 For 3 Wire RS 232 connections it is recommended to short unused signals such as RTS CTS and DTR DSR since some system
39. Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 2 1 3 PDS 5105D MTCP CPU O G 80186 or compatible 16 bit and 80 MHz 512 KB 512 KB Erase unit is one sector 64 KB 1000 000 erase write cycles 16 KB Yes 0 8 seconds SRAM Flash Memory EEPROM Watchdog Timer Communication Ports Non COM1 RS 232 TxD RxD GND RS 485 D1 D1 Self tuner ASIC inside isolated COM2 10 RS 485 Dx Dx Self tuner ASIC inside Yes LEO RS 485 Node 254 max 2 port 10 100 Base Tx Ethernet Switch with LAN Bypass RJ 45 x2 Auto negotiating auto MDI MDI X LED indicator Ethernet COM Port Formats 7 8 for COM1 COM2 5 6 7 8 for COM3 COM10 None Even Odd Mark Space 1 2 for COM1 COM10 115200 bps Max 10 Ports half duplex 80 loading Data Bit Parity Stop Bit Baud Rate LED Indicators 5 digit 7 Segment Yes System Dimensions W x H x D 91 mm x 132 mm x 52 mm Installation Case Fire Retardant Plastic UL94 VO Level Environmental 25 75 C 30 85 C 10 90 RH non condensing 0 05 A 24 Voc Operating Temperature Storage Temperature Humidity Power Consumption Power reverse polarity protection Yes for EMS Protection 12 48 Vpc non regulated 4 8W Protection Frame GND Input Range Power Consumption PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Devi
40. MiniOS7 commands from PDS COM1 only Running Open Yes Yes No Run Run Mode is used for Virtual COM applications and accepts Virtual COM commands TCP port 10000 and Telnet commands TCP port 23 Running Short Yes Yes Yes Console Mode is used to configure the Virtual COM conco PDS COM1 is the console port that accepts console commands while other ports are still working with Virtual COM applications PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 9 3 Command List Section Command IPFILTER IPCONF SOCKET COM Broadcast SystemTimeout SocketTimeout M EchoCmdNo EndChar IP MASK GATEWAY MAC NAME ALIAS DHCP UDP VER SAVE LOAD CONFIG RESET QUIT Description Retrieves Sets the IP addresses that are allowed to access the PDS Queries the network configuration IP Mask Gateway MAC addresses Lists all the status of sockets Listen Not Used Yet together with the type of each socket TCP Server Port No UDP Unused Queries or sets the configuration of the COM Ports Baud Rate Parity Stop Bits Queries or sets the Broadcast parameter which determines whether or not the module can receive Broadcast packets If PDS has no network communications during the SystemTimeout period the PDS will reboot it self automatically If there is no data send receive on the connection during the SocketTimeout period the PDS will clos
41. Output icon to change the high low status of the DO EJ Configuration for EDS 721 Module Yersion 4100 PDS 721 Digital Output _ 7 J 0x07 LSB HU MSB IHR Configuration Settings Command Response Delay Time Protocol DCON Delay Time i 0730 ms Appl Address fi o Baud Rate 3600 Power On Value of DO Safe Value of DO Checksum E izable r Set Value Set Value Apply am D it Maor arit d J LA _ De l Y l ol I H l S JL I Ios D D lie Digital nput __ 5g 0x38 LSE HU MSB CH 5 Host Watchdog Settings Latch Counter Timeout 0 Heure C Send Host OK l Enable WDT Apply Reset WDT Exit Figure 7 1 9 Since all DI lines are connected to DO lines the DI read value will be O when the DO sends a high state where as the DI read value will be 1 PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 7 2 Virtual I O Command Test The DCON protocol is a request reply communication protocol it defines a simple ASCII format protocol such as SAAN SAASi6 and AAN etc used to access the PDS and I 7000 8000 87K series I O modules The Virtual I O command sets are part of the DCON protocol used to access the digital I O lines of the PDS from the virtualized COM Port mapped to the I O port Only PDS series modules equipped with digital I O lines will respond to DCON requests The DCON Utility can be used to test the Virtual
42. Server 8 3 SAAC This function clears the latched status of the digital Input gt Syntax SAAC CHK cr A delimiter character AA The address of the module 01 only for PDS C A command for clearing latched digital inputs gt Response Valid Command AA CHK cr Invalid Command AA CHK cr Syntax error or a communication error will result in no response A delimiter for valid command A delimiter for invalid command AA The address of the module 01 only for PDS gt Example Command Response SO1LO IFFFFOO Reads the latch low data Returns FFFF 01C 101 Clears the latched digital inputs Returns success S01L0 1000000 Reads the latch low data Returns 0000 gt Related Topics Section 8 6 SAALs PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 8 4 SAACn This function clears the digital input counter gt Syntax SAACn CHK cr A delimiter character AA The address of the module 01 only for PDS C A command for clearing the digital input count The digital input channel number gt Response Valid Command AA CHK cr Invalid Command AA CHK cr A syntax error or a Communication error will result in no response A delimiter for valid command A delimiter for an invalid command AA The address of the module 01 only for PDS gt Example Command Response 010 10100123 Reads the counter value on digital input channel
43. Terminal Pin Terminal Pin No Assignment No Assignment No Assignment No Assignment 23 DIO 23 DIO 23 DIO 23 DIO 22 D I 22 DU 22 DI 22 D I 21 DU 21 DO 21 DD 21 DU i 20 DB i 20 DG E 20 DG Si 20 DB 19 DI4 19 DI4 19 DI4 19 DI4 18 DI5 18 DIS 18 DIS 18 DI5 17 DO PWR 17 DO PWR 17 DO PWR 17 DO PWR 16 DOO 16 DOO 16 DOO 16 DOOD 15 DOi 15 DOi 15 DOi 15 DOi 14 DO 14 DO 14 DO 14 DO Ges 13 DOS 13 DO3 Ge 13 DOS E 13 DOS 12 DO4 12 DO4 12 DO4 12 DO4 11 DOS 11 DOS 11 DOS 11 DOS 10 DO6 10 DO6 10 DO6 10 DO6 Figure 7 1 1 PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server Step 3 Open the VxComm Utility and then click the Search Servers button to search for the PDS series module Step 4 Click the name of the PDS series module e g PDS 721 to select it Step 5 Click the Add Server s button Step 6 Assign a COM Port number Step 7 Check the Maps virtual COM ports to Port I O on servers option can be enabled to map the I O Port on the server and click OK to save your settings Adding Servers fx IP Range Server Options Port Options Server Information server Name W Get name automatically IP Range start 10 0 8 100 Skip duplicated IP IP Range End i 0 0 8 100 Includes the following special IP M OfNet je 254 Gateway 255 Broadcast Virtual COM and I O Port Mappings _COM Port COM 2 X f l Fixed baudrate use ee a
44. The Host Watchdog has been set timeout occurred Use command AA1 to clear the status that recorded in EEPROM gt Example See the AA3eff example in Section 8 18 gt Related Topics Section 8 15 AAO Section 8 16 AA1 Section 8 17 AA2 Section 8 18 AA3eff Section 8 19 AA4P Section 8 20 AA4S Section 8 21 AA5P Section 8 22 AA5S PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 8 16 AA1 This function clears the status of the Host Watchdog gt Syntax AA1 CHK cr A delimiter character AA The address of the module 01 only for PDS 1 The command used to reset the status of the module gt Response Valid Command AA CHK cr Invalid Command AA CHK cr A syntax error or a Communication error will result in no response A delimiter for a valid command A delimiter for an invalid command AA The address of the module 01 only for PDS gt Example See the AA3eff example in Section 8 18 gt Related Topics Section 8 15 AAO Section 8 16 AA1 Section 8 17 AA2 Section 8 18 AA3eff Section 8 19 AA4P Section 8 20 AA4S Section 8 21 AA5P Section 8 22 AA5S PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 8 17 AA2 This function reads the Host Watchdog Timeout Value gt Syntax AA2 CHK cr A delimiter character AA The address of the module 01 only for PDS 2 The co
45. Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 4 5 1 Disable the Web Read Only Function The following instructions guide you to disable the Web Read Only function Step 1 Click the Login tab at the PDS Misc Setup Page to proceed to the Login Page PPDS 55 MTCP Misc Setup Page Login Misc Settings Current New Alias Name Web Read Only 0 Step 2 Enter the password in the PASSWORD field use the default password admin and click the LOGIN button to proceed to the settings page If you want to change default password please refer to Section 4 5 2 Change Password PPDS 55 MTCP Login Page PASSWORL ssa LOGIN Default Password G L admin Step 3 Set the new Web Read Only properly 0 and click the UPDATE button to update the settings PPDS 55 MTCP Misc Setup Page Logout Misc Settings Current New Alias Name Web Read Only 1 Ser New Fassworgd Confirm New Password Restore to Factory Default Settings UPDATE jy PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server Step 4 Check that the current the Web Read Only 0 and then click Logout to complete the operation 2 bal L ds db en Ee a F i I UPDATE PDS Series User Manual Version 2 2 3 Ja
46. VxComm Utility program to the configuring the Virtual COM Ports of the PPDS 700 MTCP series refer to Chapter 3 Setting up the PDS Series Module for detail information xComm Utility 2 12 09 Jun 24 2014 File Server Buea Tools A gg Configure Server Configure Port Virtual COM Reserved Port 1 COM2 Dynamic Port 2 COM3 Dynamic Port 3 COM4 Dynamic Port 4 COM5 Dynamic Port 5 COM6 Dynamic Baudrate N A xComm Servers VxComm PPDS 755 MTCP 10 0 8 15 G Add Server s Xx Remove Server OE Web oh Search Servers Alias IP ddress Sub net Mask Gateway MAC Address iDS 720 iDS 700 10 0 8 55 255 255 255 0 10 0 8 254 00 18 30 FC 74 i PPDS 755 MTCP N A 10 0 8 15 255 255 255 0 10 0 8 254 00 0d e0 50 07 Figure 6 2 3 PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server Ti Figure 6 2 4 To disable the M3 mode Modbus Gateway in serial COM Port of PPDS 700 MTCP series follow the procedure described below Click the Modbus Gateway Settings in the web page 2 Select the appropriate COM Port from the Port COMO for ALL PORTS drop down options for example COMO for all ports and then enter the 0 in the Number of ID for serial Modbus device field 3 Checked the Save to EEPROM Apply the current settings and then click the Update button to complete the setting 4
47. above procedure PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server Step 4 Verify that the System LED indicator is flashing on the PDS b lt 4 Von ez N If your PDS series module is a D version module the 5 digit 7 SEG LED will be used to indicate the system information described in Section 2 8 Step 5 Unzip the 7188XW_yyyymmdd zip file on the PC The 7188XW_yyyymmdd zip can be obtained from either the companion CD ROM the ICP DAS FTP site or the ICP DAS web site The location of the install files on the CD and the download addresses are shown below CD NAPDOS MiniOS7 Utility http ftp icodas com pub cd 8000cd napdos minios 7 utilit Step 6 Execute 7188XW EXE C and change the Baud Rate to 115200 bps N81 C is the COM Port of the development PC Step 7 Press qe Enter twice on the development PC LEegin Key Thread ICurrent set Use COMI 115200 H 8 1 AutoRun Autodownload Files Mone Current work directory C uPAG V7186Ea_UDP m PDS Series User Manual Version 2 2 3 Jan 2015 Step 8 Read the configuration of the PDS The following is a default value PAC 7186ER_UDP Fip IP 16 6 8 26 PAC 7186ER_UDP gt mask AS K 255 255 255 6 IN Id e IO DATUM gateway ateway 1860 80 8 254 PAC 7186ER_UDPSmac Ethernet Address BH Ad ef 20 88 A PAC Y1EG6ER_UDPSsetcom 1 urrent set is 76HH 8 80 1
48. address of the PPDS 700 MTCP series in the address bar of the browser to log in to the web configuration pages Refer to Figure 6 1 1 2 Click the COM Port Settings item to configure the COM ports and then confirm that serial COM ports of PPDS 700 MTCP series are not in the M3 mode Modbus Gateway e If the serial COM Port in the M3 Mode Modbus Gateway refer to the Figure 6 2 4 to disable it Firmware COM Port Settings saved in EEPROM Version COM 1 9600 8 N 1 FTL 1 DBDT 0 0 EndChar 0q Mo T 100 MAT 0 COM 2 9600 8 N 1 FTL 1 DBDT 0 0 EndChar 0q MO T 100 MAT 0 COM 3 9600 8 N 1 FTL 1 DBDT 0 0 EndChar 0d Mo T 100 MAT 0 COM 4 9600 8 N 1 FTL 1 DBDT 0 0 EndChar 0q MO T 100 MAT 0 COMS5 9600 8 N 1 FTL 1 DBDT 0 0 EndChar 0q Mo T 100 MAT 0 NEE Currently Used COM Hort geings COM 1 9600 8 N 1 FTL 1 DBDT 0 3 EndChar 0q MO T 200 MAT 0 Misc Settings EE SES Kees J COM 2 9600 8 N 1 FTL 1 DBDT 0 3 EndChar 0q MO T 200 MAT 0 COM 3 9600 8 N 1 FTL 1 DBDT 0 3 EndChar 0q MO T 200 MAT 0 COM 4 9600 8 N 1 FTL 1 DBDT 0 3 EndChar 0q MO T 200 MAT 0 COM 5 9600 8 N 1 FTL 1 DBDT 0 3 Endchars Mo T 200 MAT 0 Confinure COM PORT Figure
49. address of the module 01 only for PDS e The reset status 1 The Module has been reset and the status was cleared to 0 after using this command O the module has never been reset gt Example Command Response S015 1011 Reads the reset status Returns read for the first time S015 1010 Reads the reset status Returns that no reset has occurred gt Related Topics Section 8 16 AA1 PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 8 2 SAAG This function reads the status of the digital I O channels gt Syntax SAA6 CHK cr A delimiter character AA The address of the module 01 only for PDS 6 A command for reading the digital I O status gt Response Valid Command ddffOO CHK cr Invalid Command AA CHK cr A Syntax error or a communication error will result in no response A delimiter for a valid command A delimiter for an invalid command AA The address of the module 01 only for PDS dd The current status of the digital output channels ff The status of the digital input channel gt Example Command Response 016 IOF0O000 1 Reads the digital input output status Returns OFOO 2 The status of digital output channels 3 to 0 is set as on 3 The status of all digital input channels is set to off gt Related Topics Section 8 9 AA PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device
50. ee 93 4 5 Klee le 96 4 5 1Disable the Web Read Only EFuncton 97 e all ag 0 i 6 4 Ree Een Pn eRe Pea ne er AERO eee en ere Pen ne Sen een Tere eee ean eT 99 das Restore to Factory Dau SCLIN EEN 100 S EENEG 102 5 1 VIRTUAL COM APPLICATION ics cccesccnssnvescusssoocttweosbapensceseaneesweseuesbonobiwwoubectes Suuppteutue stews iuoabuawenbacceaseoununutabanewanunohueuts 102 5 2 ETHERNET I O ee EE 103 5 3 LINKING l 7000 TO AN ETHERNET NETWORK 104 5 4 CONFIGURABLE ETHERNET DATA EE 104 5 5 PAIR CONNECTION APPLICATIONS ssssssessssssssssssessseessereseeeeeerererererererererererterereererteerteerereretetetereereeeerererteeeeeeeeeeeeeeet 106 6 MODBUS TESTING AND PROTOCOL eege 115 6 1 Mope I PTO MODBOS RTU GATEWAY EEN 117 6 2 ACCESS MODBUS DEVICE VIA VIRTUAL COM PORTS 00s0000000esssesssesenesonsesnesnssrnnssnnnsnnesnsnsnnssennennessnssnnsrnnnsnnenees 121 T MAUR NO EE 126 7 1 TESTING THE VIRTUAL O ssssssennnssssssseeeessssssreressssserrrerssssserreeesssssrrrersssssrereresssserrreesssssrrrensssserereeesssssrrreenesssereee 126 7 2 VIRTUALO ee Ee 132 7 3 PROGRAMMING ON A PC CLIENT GE 134 TRSN Oe N e E EE 137 AEE HOSE COIN EE 137 TDD CNG Receive CIO E 138 TSO COIN We DO E 139 ToS SOCOM W e DO B E 140 Z OPCON REO EE 141 8 VIRTUAL O COMMANDS E 142 8 1 SE 144 8 2 Ee 145 8 3 EE 146 8 4 eet 147 8 5 BP GID KE 148 8 6 STEE 149 8 7 SE 150 8 8 SE 151 8 9 Ee 152 8 10 ADT E 153 8 11 PLAN E 154 PDS Series User
51. for the RTU slave device Function Code The second byte in the frame structure of the Modbus RTU is the function code The function code describes what the slave is required to do Valid function codes are between 1 and 255 The slave uses the same function code as the request to answer it Only when an error occurs in the system will the highest bit of the function code be set to 1 Hence the master will know whether the message has been transmitted correctly or not Section Code Function joann 10 1 1 01 0x01 Read Coils status Readback DOs Oxxxx 10 1 2 02 0x02 Read Input Status Read Dis 1xXXX 10 1 3 05 0x05 Force Single Coil Write DO 0XXXX 10 1 4 15 0x0F Force Multiple Coils Write DOs 0XXXX Data Data is transmitted in 8 16 and 32 bit format The data of 16 bit registers is transmitted in high byte first For example OxOAOB gt Ox0A Ox0B The data of 32 bit registers is transmitted as two 16 bit registers and is low word first For example OxOAOBOCOD gt Ox0C Ox0D Ox0A OxOB PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 10 1 1 01 0x01 Read Coils Status Readback DOs This function code is used to read the current coils status or the current digital output readback value Request Byte Description Size VEIS oe Net ID Station number T 247 Refer to Modbus Address Table for PPDS series
52. if it is reset by the Module Watchdog The status can be cleared by using the Reset Status SAA5 command This is useful for checking the operating status of the module When the Reset Status is set it means that the module has been reset and the output can be changed to the Power On Value When the Reset Status is clear it means the module was not been reset and the output was not changed PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server gt Digital Output The output status of the module has three different conditions 1 Safe Value If the Host Watchdog Timeout status is set the output is set to the Safe Value If the module receives an output command such as AA Data or AABBDD the module will ignore the command and return and will not change the output to the output command value The Host Watchdog Timeout status is set and store into EEPROM while the Host Watchdog Timeout interval has expired and can only be cleared by setting the command AAT If user needs to change the output the Host Watchdog Timeout status needs to be cleared first and an output command need to be sent to change the output to the desired value 2 PowerOn Value Once the module is reset and the Host Watchdog Timeout status has been cleared the output of the module is set to a predefined Power On Value 3 Output command value If the Host Watchdog Timeout status is clear and the user iss
53. is in Host Watchdog Timeout Mode and the output command has been ignored PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 8 11 AAn This function reads digital input counter from channel n gt Syntax AAn CHK cr A delimiter character AA The address of the module 01 only for PDS n The digital channel number from 0 gt Response gt gt Valid Command AA Data CHK cr Invalid Command AA CHK cr A syntax error or a Communication error will result in no response I A delimiter for a valid command A delimiter for an invalid command AA The address of the module 01 only for PDS Data The digital input counter value in decimal format from 00000 to 65535 Example Command Response 012 10100103 Read the digital input counter of channel 2 Returns the value 103 013 01 Read the digital input counter of channel 3 Returns an error including that the channel is not available Related Topics Section 8 4 SAACn PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 8 12 AAOOdd This function sets the multi channel Output gt Syntax AAOOdd CHK cr A delimiter character AA The address of the module 01 only for PDS 00 A command used to set multi channel output dd The output value gt Response Valid Command gt CHK cr Invalid Command CHK cr Ignored Command CHK cr
54. iscsssccccsssscasecsavcaveccesnsdevcavessuvsssovcuvessavavssscntevsevuvsesssessevesseetsvessnvasveesnsns 206 APPENDIX B FRAME GROUND Zeene EE 211 APPENDIX C GLOSSARY sicescicescccssnnccecwsavscsuwscascenvedenvan a stuns dayeaeesevesentsuneseweswysdanteveesuneespusioras ves Saviedvadsawesvedsunne 212 1 ARP ADDRESS RESOLUTION PROTOCOL suseesseeseseeeneerrreressrtrrusrttrrestttressttttestttttestttttesttttessttttsettressereressrtreesereeeee 212 Di et EE 212 3s EMER NEM EEN 213 Pe CAE 213 Bi GAT WAN ates rtg pests eee scenes E E E gene sinaesaes E E ur ieaeetieeiasesianaits 213 6 ICMP INTERNET CONTROL MESSAGE Pporocol 213 He MITE RNB EN 213 8 IP INTERNET PROTOCOL ADDRESS ssescccccceseecccccussecccceuusecceceueeecceecueeceseeuueeceseuusecesseuunecesseuuneseetsuuneesessagnesss 214 9 MAC MEDIA ACCESS CONTROL ADDRESS isseeeseennesseeenessrtrreerrtrresrttrrsstttresr ttrt estt ttt rettete s ettr sert ttesettetureettessereeesereee 214 10 et d E 214 11 NIE 214 12 RARP REVERSE ADDRESS RESOLUTION PROTOCOL s ssssesesssessssrrrsessrrrresrrrressrrtreesrrtressrtresssrtreesseteeeseetresseeeresereee 215 13 IEN 215 14 e ET EE 215 15 TCP TRANSMISSION CONTROL PROTOCOL ccccccccsseecccceeseeccsceuseecescuueececseuseeceseuuneeceseuseecessaueeesessuueeeeessugnesss 215 16 tal dE 216 17 UDP USER DATAGRAM PROTOCOL c ssssecccccessecccccesecceeeeesecceceuseecsesauseecesseueecessueuecesseee
55. may still check the CTS and DSR status 2 FGND is the frame ground that soldered to DB9 metal shield PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 2 5 2 RS 422 Wiring RS 422 Master RS 422 Device DOH Ur LEET TxD A RxD A a EE Si D Cen DEE SC e 2 5 3 RS 485 Wiring RS 422 485 Device 1 RS 485 Device 2 a x oC x e lb SS LO Le 2 g AAE RS 485 Master eh SR eco THT 000 2 wire Only Device Usually you have to connect all signal grounds of RS 422 485 devices together to reduce common mode voltage between devices 2 Twisted pair cable must be used for the DATA wires 3 Both two ends of the cable may require a termination resistor connected across the two wires DATA and DATA Typically 120 Q resisters are used The Data and B pins are positive voltage pins and Data and A pins are negative voltage pins in the above figure The B A pins may be defined in another way depending on devices please check it first PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 2 6 Dimensions 2 6 1 PDS 700 D PPDS 700 D MTCP Series Unit mm SS Front View RUE Eben N Cf CS V he Side View PDS Series User Manual Version
56. mm Net ID Station number 1 Byte 1 247 po Refer to Modbus Address Table for PPDS series 02 03 Starting DO address 2 Bytes Section 10 2 Modbus Register Map Byte 02 high byte Byte 03 low byte Number of output channels Byte 04 high byte 04 05 g 2 Bytes aa Points Byte 05 low byte 06 Bytecount 1Byte n Points 7 8 A bit corresponds to a channel Value 1 for a bit denotes the channel is ON while the value O is OFF 07 Output value n Byte n 1 Byte 07 data bit 7 0 n 2 Byte 08 data bit 15 8 n m Byte m 6 data bit 8m 1 8 m 1 Response Description Size VEIS Net ID Station number 1 Byte 1 247 Function code The value is the same as Byte 02 03 of the Starting DO address 2 Bytes Request Number of output channels SE The value is the same as Byte 04 05 of the es Points l Request Description Size VEIS Net ID Station number 1 247 l Refer to Modbus Standard Specification for Exception code 1 Byte l more details PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server gt For example function OF OxOF Write DOs Sets DOO DO6 to NO of PPDS 721D MTCP Leading 6 bytes Request Command 010200000008 010F 0000000701 ZE Leading 6 bytes Response Response 010200000006 01 0F 00 00 00 07 Descriptions as follows Command Leading 6 bytes Byte 00 03 Byte 04 05 Request Byte 00 Byte 01 Byte 02
57. series This parameter is used to configure the device ID of serial Modbus Number of ID for serial device Modbus device O Disable If the PPDS 700 MTCP series does not receive any data from RTU Timeout default 50 ms Slave for a certain period the PPDS 700 MTCP series will return a timeout error to PC based on the configured timeout value This parameter is used to configure the serial port that is used by Type 0 ASCII 1 RTU the Modbus RTU or Modbus ASCII protocol This parameter is used to configure the Modbus TCP UDP port TCP UDP port Note The default COM1 TCP UDP Ports 502 If the Update button is clicked with checking Save to EEPROM Save to EEPROM option the new settings will be saved to the PPDS 700 MTCP series only and the new settings will be valid after the next power on If the Update button is clicked with checking Reload from Reload from EEPROM EEPROM option PPDS 700 MTCP series can apply the settings from EEPROM immediately If the Apply the current settings checked when the Update Apply the current settings SE l Sa button is clicked the new settings will be valid immediately UPDATE Click this button to save the revised settings to the PPDS 700 MTCP series ih Note After configuring IP filter settings please confirm 4 Save to EEPROM that the Save to EEPROM and Apply the current settings Reload from EEPROM option are checked and then c
58. status of the module Returns the status of the Host Watchdog Timeout has been cleared 013164 101 Set the status of the Host Watchdog Timeout Value to 10 0 seconds and enable the Host Watchdog Return Success 012 101164 Read the Host Watchdog Timeout Value Returns the Host Watchdog Timeout Value is 10 0 seconds and the Host Watchdog is enabled PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server Soo No response If the command is not sent within 10 seconds the LED on the module will begin to flash The LED indicates that the status of the Host Watchdog Timeout is set 010 10104 Read the status of the module Returns the status of the Host Watchdog Timeout Value is set 012 101064 Read the Host Watchdog Timeout Value Returns the Host Watchdog Timeout Value is 10 0 seconds and the Host Watchdog is disabled 011 101 Reset the status of the Host Watchdog Timeout Returns success and the LED stops flashing 010 10100 Read the module status Returns that the status of the Host Watchdog Timeout has been clear gt Related Topics Section 8 15 AAO Section 8 16 AA1 Section 8 17 AA2 Section 8 18 AA3eff Section 8 19 AA4P Section 8 20 AA4S Section 8 21 AA5P Section 8 22 AA5S PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 8 19 AA4P This function reads the Power on Values for the DO gt Syntax
59. will then display the IP address as illustrated in the previous diagram If the IP address is changed the value displayed will change immediately The default shipping IP is 192 168 255 1 and the display sequence is shown in the previous diagram The format for the COM Port Baud Rate information is follows COM1 Baud Rate COM2 Baud Rate The number of serial COM Ports op eae ee available depends on the type of PDS series gt 5 Digit LED Group ID 22222 gt LED 1 COM Port number gt LED 2 5 The Baud Rate determined as Baud Rate 100 LED 1 displays the COM Port number with LED 2 5 showing the Baud Rate for that COM Port The Baud Rate value shown by LED 2 5 100 Therefore a COM Port value displayed as 1 96 means that the Baud Rate of COM1 9600 bps a value displayed as 2 1152 means that the Baud Rate of COM2 115200 bps The Baud Rates for all PDS COM Ports will be shown in sequence PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server The format for the COM Port Data Format configuration information is as follows COM1 Data Format COM2 Data Format The number of serial COM Ports eee dei em he H e mm e e ok Eesen available depends on the type of PDS series gt 5 digit LED Group ID 33333 gt LED 1 COM Port number gt LED 3 Data Bit 5 6 7o0r8 gt LED 4 Parity Bit n no parity E even parity O odd parity M mark parity or
60. 00 14 36 11 0 2 SC 0 010 24000 00 000 71 1000 14 36 12 4 2 9600 0 010 400 00 000 55 1000 14 36 13 3 2 9600 010 gt 4 00 00 gt 000 72 1000 15 14 36 14 2 2 9600 ann 2400 00 gt 000 65 1000 16 14 36 15 1 2 9600 010 2400 00 gt 000 50 1000 47 14 36 16 0 2 9600 0 010 4000 00 000 70 1000 16 14 36 17 4 2 9600 010 gt 000 00 gt 000 55 1000 15 14 36 18 3 2 9600 010 gt 4000 00 gt 000 72 1000 20 14 36 19 2 9600 010 2400 00 gt 000 73 1000 By using the I 7000 DCON utility and MS Excel in conjunction with VxComm technology the signal data originating from l 7000 modules via the Ethernet network can be analyzed without the need to write custom programs For more information about the log function refer to the online help feature English and Traditional Chinese of the DCON utility F DCOM_UTILITY VER450 Searching for L 2000 900 Asdle L Ion Lae fie E Module Supported SEES About PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 5 5 Pair connection Applications PDS series can be used to create a pair connection application as well as serial bridge or serial tunnel and then route data between two serial devices via TCP IP which is useful when connecting mainframe computers servers or other serial devices that do not themselves have Ethernet capability C Server B D N gt PDs 700 2 es RS 232 e Serial Port Pair Co
61. 03 Byte 04 05 Byte 06 Byte 07 Response Leading 6 bytes Byte 00 03 Byte 04 05 Response Byte 00 Byte 01 Byte 02 03 Byte 04 05 01 02 00 00 Message number 00 08 Number of remaining bytes in this frame 01 Net ID OF Function Code 00 00 Starting DO address 00 07 Number of output channels 01 Byte count 7F Output value 01 02 00 00 Message number 00 06 Number of remaining bytes in this frame 01 Net ID OF Function Code 00 00 Starting DO address 00 07 Number of output channels PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server Data Field The data field of messages sent between a master and a slave contains additional information about the action to be taken by the master or any information requested by the slave If the master does not require this information the data field can be empty Reference Address Description Read Write Discrete Outputs or Coils Oxxxx A Ox reference address is used to output device data to a digital output channel Read Discrete Inputs 1xxxx The ON OFF status of a 1x reference address is controlled by the corresponding digital input channel For more detail of Address Mapping Reference number refer to Section 10 2 Modbus Register Map PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 6eeee0 eee 10
62. 1 DBDT 0 3 EndChar 00 MO ST 200 MAT 0 COM 4 115200 8 N 1 FTL 1 DBDT 0 2 EndChar 00 MO ST 200 MAT 0 COM5 9600 8 N 1 FTL 1 DBDT 0 3 EndChar 00 MO ST 200 MAT 0 gt The COM Port Settings area Configure COM PORT Port COMO for ALL PORTS com lv Baud Rate 600 Y Data Bits Parity stop Bits Rx FIFO Trigger Level Data Buffered Delay Time DBDT End Char MO Transparent Mode Operation Mode LA at M2 Half Slave Mode M3 Modbus Gateway ms O DISABLE Save current settings to EEPROM Apply current settings PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server The following is an overview of the parameters contained in the COM Port Settings section Item Description Default Port COMO for ALL The COM Port number on the PDS series ont PORTS This parameter is used to set the Baud Rate for the COM Baud Rate 9600 ports This parameter is used to set the Data Size for the COM Data Bits ports This parameter is used to set the Parity for the COM ports None This parameter is used to set the Stop Bits for the COM Stop Bits 1 ports This option is used to set the number of characters that the COM Port can receive at once time the PDS series Rx FIFO Trigger Level W move the data from the COM Port ES to the PDS series If the amount of data tr
63. 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 2 6 2 PDSM 700 D PPDSM 700 D MTCP Series Unit mm PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 2 6 3 PPDS 700 IP67 Series Unit mm Top View IP67 Ethernet Cap with 57 2 G22 0 IP67 Ethernet Plug IP67 PWR Plug e Cable Dia Cable Dia Max 7 0 mm Max 6 5 mm Min 5 5 mm 43 3 Min 5 0 mm 28 6 em e em em em e em o em em em em en A PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 2 6 4 PDS 5105D MTCP Unit mm e630 22 70 T THU CMU 7 SE WNE ils i Tn BI ili PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 2 7 DIN Rail Mounting The PDS Series modules can be mounted by attaching the bottom of the chassis to a DIN Rail the wall or if can be piggybacked to another module gt DIN Rail Mounting SO SSC e A The PDS series module contains simple rail clips to enable if to be reliably mounted on a standard 35 mm DIN rail Mounting on a DIN Rail PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server gt DIN Rail Mountable Model Sas E is Ss T
64. 2 D PPDS 700 MTCP Series Modules PPDS 720 D MTCP PPDS 721 D MTCP PPDS 732 D MTCP PPDS 734 D MTCP PPDS 742 D MTCP PPDS 743 D MTCP PPDS 752 D MTCP PPDS 755 D MTCP PPDS 762 D MTCP PPDS 782 D MTCP PPDSM 700 MTCP Series Modules PPDSM 720 D MTCP PPDSM 721 D MTCP PPDSM 732 D MTCP PPDSM 734 D MTCP PPDSM 742 D MTCP PPDSM 743 D MTCP PPDSM 752 D MTCP PPDSM 755 D MTCP PPDSM 762 D MTCP PPDSM 782 D MTCP PPDS 700 IP67 Series Modules PPDS 741 IP67 PPDS 742 IP67 PPDS 743 IP67 Programmable Serial to Ethernet Device Server TABLE OF CONTENTS Whaillenf VE 7 MORE INFORMATION ET 7 1 INTRODUCTION cccssacasecasccssasasacesussewsicecscesanicas stb sasguadisussewaieeascusunteas sab sasguadisussewaieeaacesusteas sib sasguatbsuscumainececesusieassadeis 8 Li PDS SERIES COMPARISON TABLE cueion aenea E EE sa cree E EE E E eee ee eae 9 1 2 ETHERNET SOLUTIONS preron secactes beanies err EIE EENE EEE A E E EEE 11 1 3 YC OMIN TE FRNOG ee 12 1 4 WEB SERVER TECHNOLOG EE 14 2 HARDWARE INFORMA TION gg egieeengenegue Eugene Eege a i 15 2 1 SPECIFE ATION E 15 2 1 1PDS M 700 D PPDS M 700 D MTCP seenen geheegt 15 d TOI aes eet eth bees No ate ree nee ae ee pn ae oe ope ats ee orp ote tere acne teases sees E E E 17 EE 18 a E OS POR R T E E E E A E E EE 19 2 2 FEATURES ee 21 2 3 APPEARANC EE 22 2 3 1 D5 700 PDS5 700 D PPDS 700 D MTCP ee ie EE Eegen 22 2 3 2PDSM 700 D PPDSM 700 D MITCP ccccsssssscccesess
65. 2 Modbus Message Map The nDI and nDO parameters of each model used in the following Modbus address tables are shown as follows Number of DO channels Number of DI channels nDO nDI _Peps my7auoymrcrp PPos M 732 00 MTCP PPDS M 734 D MTCP nn PPDS M 743 D MTCP nn Model name gt 0xxxx DO address base 0 Factory l i D Access Begin address Points Description Range Set Type 1 nDO_ Digital Output Value R W 0x00 0x nDO 1 R Read W Write VEINI gt 1xxxx DI address base 1 Begin address Points Description Range Access Type 1 nDI Digital Input Value 0x00 Ox nDI 1 R Read PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server Appendix A Linking to a Development PC Step 1 Connect the download cable CA0910 between the PDS and COM 1 of the development PC 1 1 Connect the connector of CA 0910 download cable to your host computer 1 2 Wire the CA 0910 to PDS as follows Connect the CA 0910 TX with PDS TxD Connect the CA 0910 RX with PDS RxD Connect the CA 0910 GND with PDS GND Step 2 Connect the INIT pin to the GND pin Step 3 Apply power Vs GND to the PDS series module Supply 24 Vpc 10 30 Vpc power to the PDS M 700 Series Supply 24 Vpc 12 48 Vpc power to the PPDS M 700 MTCP DS 700 PPDS 700 IP67 PDS 782 25 and PDS 5105D MTCP Series Refer to below illustration for how to perform the
66. 26 UnUsed 28 UnUsed L3 UnUsed LA UnUsed Lii 1 UnUsed Li3 UnUsed 15 UnUsed LiY UnUsed Li UnUsed L21 1 UnUsed 23 1 UnUsed 25 UnUsed 27 UnUsed 29 UnUsed 31 1 UnUsed PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 9 3 4 COM This command queries or sets the configuration of the COM Ports Baud Rate Parity Stop bits Effect Immediate Command Arguments Description com Queries the configuration of all COM Ports Queries configuration of COM Port n If n 0 the configuration of all COM Ports will be listed in the same way as using the command com above N BaudRate Sets the configuration of COM Port n DataBits Parity StopBit s If n 0 the settings will be valid for all Com Ports on the PDS Figure 9 3 4 The following is an example of a COM configuration SAIT KA 1 36 C0M1 115200 8 8 1 FC CITS0 DIR Document and SettingAl ern AT TE 0O coms236 gt com OM 1 96080 8 N 1 connect OM 2 96080 8 N 1 connect OM 3 9600 8 N 1 connect OM 4 96080 8 N 1 connect OM 5 9608 8 N 1 connect coms230 com 3 OM 3 96080 8 N 1 connect coms230 gt com 1 9600 8 E 1 OM 1 9608 8 E 1 connect coms238 gt com 6 96H0 8 E 1 OM 1 9608 8 E 1 connect OM Zb HEI connect OM 3 9608 8 E 1 connect OM 4 9608 8 E 1 connect OM 5S 9608 8 E 1 connect PDS Series User Manual Version 2 2 3
67. 3s230 gt ipfilter del Hu IP filter 6 ip 180 6 8 25 com3s230 gt ipfilter del P o IP Filtert coms230 gt ipfilter save Save H IP Filtert IF Filter setting is Cleared com3s230 gt ipfilter load Load H IpFilter setting o IP Filter PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 9 3 2 IPCONF This command is used to display the network configuration information such as IP address Mask Address Gateway address and MAC address and the status of DHCP ACK_Delay Free Memory and Socket status Effect Immediate Command Arguments Description ipconf Queries the network configuration Figure 9 3 2 The following is an example of a IPCONF configuration 7188W 1 36 C0M 1 115200 N8 8 1 FC CTS DIR C Documents and Settings s r mipdsr el com3230 gt ipconf IP 160 6 8 25 AS K 255 255 255 68 ATEWAY 160 0 8 254 AC 88 28D ER 20 68 69 DHCP 8 ACK_De lay 50 Free Memory 159504 bytes Socket number 32 Free socket number 23 PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 9 3 3 SOCKET This command lists the status of all sockets Listen Not Used Yet together with the type of each socket TCP Server Port No UDP Unused If stat 1 the socket is used If stat 0 the socket is not yet used Effect Immediate Command Arguments Description socket Lists the status of all sockets Figu
68. 67 Series 2 11 1 Power Plug Installation gt IP67 Power Plug 4S101K0000016 A r ZA a e b H em ll l e gt Step 2 Check the item 3 of IP67 power plug gt Step 1 Prepare a Power Cable Wrong Correct _ gt Step 3 Check the item 5 of IP67 power plug Wrong Correct PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server gt Step 5 Assemble item 2 and 3 gt Step 6 Weld power plug and wires gt Step 7 Assemble item 4 and 5 gt Step 8 Assemble Power Plug gt Step 9 Assemble item 3 amp 2 and 5 amp 4 PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server gt Step 10 Assemble item 1 and 5 amp 4 amp 3 amp 2 gt Step 11 Make sure to tighten firmly gt Step 12 Connect the Power cable to PPDS 700 IP67 on Power plug The fool proofing groove as red circle is useful for easy connection of power cable and power plug Please make sure they are located in the same direction when connecting these two items Complete PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 2 11 2 RJ45 Plug Installation gt e gt IP67 RJ45 Plug 4SASO 0001 gt Step 1 Prepare a RJ45 Cable gt Step 2 Assemble item 3 and 4 PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Ser
69. COM connect to COM ECH cmd port default 10000 Add COM connect to IP DOT d MODBUS gateway RTU ASC Delete Delete ALL Save to EEPROM Reload from EEPROM submit The following is an overview of the parameters contained in the Remote Vcom3 connection Setup Page section Item Description Add COM Number Serial COM port number of the local device Master connect to COM Number Serial COM port number of the remote device Slave IP IP Address IP address of the remote device Slave cmd port command port default 10000 Add COM Number Serial COM port number of the local device Master connect to IP IP Address IP address of the remote device Slave Port TCP port TCP Port number of the remote device Slave Command Port number of the remote device Slave If the MODBUS gateway checked the serial port is specified MODBUS gateway as gateway from the Modbus RTU or Modbus ASCII Master to Modbus TCP for the remote device Slave PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server Item Description Delete Number Delete a specific Number from the Pair connection List Delete All Delete all items from the pair connection List If the submit button is clicked with checking Save to EEPROM option the new settings will be saved to the PDS series only and the new settings will be valid after t
70. Data The status of the DIO Example Command Response SO1M gt 050F 1 Read the status of the DIO Returns O50F 2 The first two bytes indicate the status of the DO 05 means that channel 0 and channel 2 are 1 and the other channels are 0 3 The last two bytes indicate the status of the DI OF means that all 4 channels read are 1 PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 8 10 AA Data This function sets the digital output gt Syntax AA Data CHK cr A delimiter character AA The address of the module 01 only for PDS Data The output value gt gt 1 Data is one character for output channels less than 4 For the PDS M 762 D modules this will be from O0 to 3 For the PDS M 732 D 734 D 743 D modules this will be from 0 to F 2 Data is two characters for output channels less than 8 For the PDS M 721 D modules this will be from 00 to 7F Response Valid Command gt CHK cr Invalid Command CHK cr Ignore Command CHK cr A syntax error or a Communication error will result in no response gt A delimiter for a valid command A delimiter for an invalid command A delimiter for an ignore command meaning that the module is in Host Watchdog Timeout Mode and the output is set to safe value Example Command Response 013 gt Output value 3 Returns success 011F Output value 1F Return that the module
71. I O commands The DCON command sets are introduced in Chapter 8 Virtual I O Commands Step 1 Please ensure that the Figure 7 1 2 to Figure 7 1 8 Page 127 to Page 130 are correctly configured Step 2 Select Terminal gt gt DCON Command Line from the DCON Utility menu F DCON_UTILITY_ ER 450 The Fonnd Ont I 7000 8000 module File COM Port Search Be itm Help EZ WEE DC ON Command Line m e srt Format Statys Step 3 Type the Virtual I O command in the command column and click the Send button to send the command E DCON Command Terminal E Module Contig oe Baud Rate E f T For example the command TN CheckSum Protocol Send 01M is used to read the To Disable Enable A el module name au Parity Option None Parity Exit 4012 _ ommand 401 PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server DCON Command Terminal Module Config Baud Rate Q Sand ilodi Send ode S50 As TU Conan Parity None Parity N 8 1 Clear List PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 7 3 Programming on a PC Client The General DCON Application Programming Interface kit is a set of DLL lib functions designed to run on Windows 98 2000 XP that allow access to remote I O modules such as the PDS 700 I 7000 l 8000 an
72. MP echo request message to a host expecting an ICMP echo reply to be returned Normally if a host cannot be pinged Telnet or FTP cannot be used to connect to the host Conversely if Telnet or FTP cannot be used to connect to a host Ping is often the starting point to determine the nature of the problem PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 12 RARP Reverse Address Resolution Protocol RARP provides a method of dynamically mapping 48 bit MAC address to the corresponding 32 bit IP address RARP has now been replaced by the Bootstrap Protocol BOOTP and the modern Dynamic Host Configuration Protocol DHCP 32 bit IP Address ARP RARP 48 bit MAC Address 13 Socket Each TCP segment contains a source and destination port number that can be used to identify the sending and receiving application These two values along with the source and destination IP addresses in the IP header uniquely identify each connection The combination of an IP address and a port number is called a socket 14 Subnet Mask A Subnet mask often simply called the Mask is a 32 bit number that masks and IP address and divides the IP address into the network address and the host address Given its own IP address and its subnet mask a host can determine whether a TCP IP packet is destined for a host that is 1 on its own subnet or 2 on a different network If 1 the packet will be
73. Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 8 12 EEN 155 8 13 BAIN eege 156 8 14 eege 157 8 15 OPI E 158 8 16 Eet 159 8 17 EE 160 8 18 WA 161 8 19 e ceca uses nee ee cece E see Dee E E E E E ee eaten rnc eee eee 163 8 20 EE 164 8 21 Ee 165 8 22 WE 166 8 23 PP PICS TUN IN Oe E 167 9 CONSOLE TELNET COMMANDS UST E 169 9 1 EEGENEN 169 9 2 COMPARISON SHEET INIT RUN AND CONSOLE MODES cccccceeecccceeecscceecsccenecseeucesseeuessseeesseeuceseeeuecseeuessseueeesueness 170 9 3 COMMAND T E 171 E rea ee EEE E E AE EOE ENEE E EE AE ER 172 EE 174 EE E 175 i E 81 EE 176 DF AOC COS E 177 EE ee 178 EE 179 EE 180 Ds ECO CIAO E 181 9 3 10 le 182 9 3 11 TE 183 9 3 12 EE 183 9 3 13 TY EE 184 9 3 14 eege 184 9 3 15 EV Seppe ne creer cer eee re nr eee terre rene ieee eee ere eee ee EE ee ee eer eee rec ere ere 185 9 3 16 EE 185 9 3 17 RE 186 9 3 18 Eed 187 9 3 19 EE eege 188 9 3 20 EE 188 9 3 21 eege 189 9 3 22 EE 191 PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 9 3 23 eelere 192 9 3 24 COUT ee 192 10 MODBUS INFORIVIATION E 193 10 1 MODBUS MESSAGE STRUCTURE ENEE 193 10 1 1 01 0x01 Read Coils Status REAADACK Del 196 10 1 2 02 0x02 Read Input Status Read Dill 198 10 1 3 05 0x05 Force Smale Coil Write DOJ ee 200 10 1 4 15 OxOF Force Multiple Coil Write Del 202 10 2 Vleie EE 205 APPENDIX A LINKING TO A DEVELOPMENT PC
74. Master IP can change the COM Port configuration It is to prevent the COM Port configuration changed by other clients If the Reset System option is checked the PDS series will reboot itself after the saving operation is complete otherwise the original settings will still be valid until the next power on Click this button to save the revised settings to the PDS series SET TCR x PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 4 2 1 IP Filter Setting The IP filter setting limits which client PCs are able to link to the PDS series via specific IP addresses When one or more IP addresses are set in the filter table only client PCs where the IP address is included in the range listed of the filter table will be able to connect to the PDS series Any requests from other PCs will be rejected Reset System IPIMASK GATEWAY changes only take effect after the system is rebo SET TCPAP set IP Filter PPDS 755 MTCP Ip Filter Setup Page IP1 IP or IP1 MASK Current New IPi ERC IP2 MASK ee Pp z m IP2 MASK Wes SR IP1 SE IP2 MASK Se E IPi en WE IP2 MASK SE H IPi SE F IP2 MASK nee IPi BE E Sr IP2 MASK Gees IPL o F m IP2 MASK m 1P2 re IP2 MASK S n
75. ND3 M Odd 0 8 1 Industry Computer AS 485 Port Options l ATS_CONTROL_TOGGLE Set ATS for Menn Box Figure 7 1 5 Cancel Note If your PDS is not equipped with digital I O lines the DCON Utility will return an Open COM error message PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server F DCON_Utility version 525 select COM Port option them Step 13 Click the Start Search button to File COM Port Search Run Terminal Language Help start searching for the PDS series module Module Adetess EiStart Search tart Seare Format Figure 7 1 6 EJ US _Utility_verson searching modules File COM Port Search F minal Language Hel Step 14 The PDS series module is found and is displayed in the DCON Utility Step 15 Click the Stop Search button to stop the search eecht e Sech l RER i i aen Disable a a searching Status COM Port COM 2 Address 01 dec 1 he Figure 7 1 7 Step 16 Click on the name of your PDS series module FJ DCON Utility version 525 result of finding I O modii Fie COM Port Search Run Temmnal Language Help l eKRMEI e Module h Addess Bad Date Checksum Format d SUE 1 9600 Disable IER Figure 7 1 8 PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server Step 17 Click the Digital
76. P filter table ADD ip1 ip2 Adds a range of IP addresses ip1 ip2 to the IP filter table DEL ip1 Deletes an IP address ip1 from the IP filter table DEL ip1 ip2 TA a range of IP addresses ip1 ip2 from the IP filter table ipfilter ipfilter The IP address that follows the DEL command should already be listed in the IP filter table ipfilter DEL n Deletes item n from the IP filter table ipfilter Saves the IP filter table to the EEPROM If the IP filter table is empty the data in EEPROM will be cleared ipfilter Loads the IP filter table from the EEPROM lt The IP filter table is loaded automatically when the PDS is booted Use the ipfilter save command to save a new IP filter table to the EEPROM Refer to Figure 9 3 1 for detail illustrations PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server Figure 9 3 1 The following is an example of a IPFILTER configuration 7188W 1 36 COM1 115200 H 3 1 FC 0 C TS 0 DIR C Documents and Settings 0 sere AC EE coms238 gt ipfilter IP filter 6 ip 16 46 8 26 coms230 gt ipfilter add IR HH Zb IP filter 6 ip 16 40 8 26 IP filter 1 ip 180 6 8 25 coms230 gt ipfilter add 18 0 8 386 IR HS AR IP filter 6 ip 16 6 8 26 IP filter 1 ip 16 6 8 25 IP filter 2 ip range 10 80 8 38 In DS An coms234 ipfilter del 18 6 8 380 In HR An IP filter 6 ip 16 6 8 28 IP filter 1 ip 180 8 8 25 com
77. PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server Leading 6 bytes of Modbus TCP protocol Byte 00 Byte 01 Byte 02 Byte 03 Length field Length field upper byte lower byte Transaction identifier Protocol identifier Transaction identifier Assigned by Modbus TCP master client Protocol identifier O Length field upper byte O since all messages are smaller than 256 Length field lower byte Number of following RTU data bytes RTU Data Structure Byte 07 Byte 08 09 Byte 10 11 Data Field Net ID Function Code f Station number Reg ence tue Number of points Address Mapping Net ID specifies the address of the receiver Modbus TCP slave Function Code specifies the message type Data Field is the data block PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server Net ID Station Number The first byte in the Modbus structure of the Modbus RTU is the receiver s address The Valid addresses are in the range of O to 247 Addresses O is used for broadcast while addresses 1 to 247 are given to individual Modbus devices The Net ID should be assigned to the address for the target device you want to read from and write to For example if you want to use the built in I O of the PPDS assign the Net ID to the PPDS s ID if the PPDS is used as a Modbus TCP to Modbus RTU gateway assign the Net ID to the address
78. Page Firmware Network MODBUS Device ID Device ID 255 0xFF TCPIUDP port 502 COM Port for Modbus Gateway Settings COM 1 ID 0 Disable COM 2 ID 0 Disable COM 3 ID 0 Disable COM 4 ID 0 Disable COM 5 ID 0 Disable Configure COM PORT S Device ID for PPDS 755 MTCP Port COMO for ALL PORTS COM2 Number of ID for serial Modbus device 4 0 Disable Timeout detaulFRs0 ms Type 0 ASCIl 1 RTU TCP UDP port d Save to EEPROM O Reload from EEPROM Apply the current settings Update Figure 6 1 2 PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 7 Check the COM Port for Modus gateway setting COM Port for Modbus Gateway Settings COM 1 ID 0 Disable COM 2 ID 4 Range 1 0x01 4 0x04 timeout 300 ms type RTU COM 3 ID 0 Disable COM 4 ID 0 Disable COM 5 ID 0 Disable Figure 6 1 3 Step 2 Test Modbus TCP to Modbus RTU Gateway 1 Run the Modbus Utility program ee and then click the Modbus TCP button Figure 6 1 4 2 Inthe Modbus Utility select the Modbus TCP Client item from the Client tools menu Eok Status SJ A E
79. Port COMO for ALL PORTS COMO T Number of ID for serial Modbus device 0 Disable Timeout default 50 ms ms Type 0 ASCII 1 RTU TCPIUDP port E Save to EEPROM Reload from EEPROM Apply the current settings Update PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server gt Check the Modbus Device ID of PPDS 700 MTCP series module MODBUS Device ID Device ID 255 0xFF TCP UDP port 502 gt Check the COM Port for Modbus Gateway settings COM Port for Modbus Gateway Settings gt The COM Port Settings section Configure COM PORT Device ID for PPDS 755 MTCP Port COMO for ALL PORTS coma r Number of ID for serial Modbus device 0 Disable Timeout default 50 ms Type 0 ASCIl 1 RTU TCP UDP port w Save to EEPROM U Reload from EEPROM Apply the current settings Undate PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server The following is an overview of the parameters contained in the Configure COM Port section Item Description This parameter is used to configure the device ID of PPDS 700 Device ID for PDS MTCP series Note The default Device ID 255 OxFF Port COM 0 for ALL This parameter is used to select the COM Port number on the PORTS PPDS 700 MTCP
80. Programmable User Manual wz Programmable Serial to Ethernet Device Servers 00009 WARRANTY All products manufactured by ICP DAS are warranted against defective materials for a period of one year from the date of delivery to the original purchaser WARNING ICP DAS assumes no liability for damages consequent to the use of this product ICP DAS reserves the right to change this manual at any time without notice The information furnished by ICP DAS is believed to be accurate and reliable However no responsibility is assumed by ICP DAS for its use nor for any infringements of patents or other rights of third parties resulting from its use COPYRIGHT Copyright 2014 by ICP DAS All rights are reserved TRADEMARKS Names are used for identification purposes only and may be registered trademarks of their respective companies CONTACT US If you have any questions please feel free to contact us via email at service icpdas com service icodas gmail com wad N s e s 3 e SUPPORT This manual relates to the following modules PDS 5000 Series Module PDS 5105D MTCP DS 700 PDS 700 Series Modules DS 712 DS 715 PDS 720 D PDS 721 D PDS 732 D PDS 734 D PDS 742 D PDS 743 D PDS 752 D PDS 755 D PDS 762 D PDS 782 D PDS 782 D 25 PDSM 700 Series Modules PDSM 721 D PDSM 732 D PDSM 734 D PDSM 742 D PDSM 743 D PDSM 752 D PDSM 755 D PDSM 762 D PDSM 78
81. Quantity Receta Folling or Timer Mode Date Time Folling Mode Timing ms T GE OU Average EE OO01 Send Command Start Time Time Start stop Time Time Stop Command Lommand 2 40001 ON Send Command Lommands i Include CAC Responses 02 01 00 00 00 01 FO C 0201 01 01 90 0C A E ot Program PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 7 Virtual I O PDS series modules provide digital I O lines including PDS M 721 D PPDS M 721 D MTCP PDS M 732 D PPDS M 732 D MTCP PDS M 734 D PPDS M 734 D MTCP PDS M 743 D PPDS M 743 D MTCP PDS M 762 D and PPDS M 762 D MTCP The DI is 0 30 Vpc wide range Digital Input while the DO is 30 V 100 mA max current sink open collector digital output These digital I O lines can be used to control relays actuators switches etc 7 1 Testing the Virtual I O Step 1 Connect both the PDS series module and the Host computer to the same sub network or the same Ethernet Switch and then Power on the PDS series module as described in the Step1 Connect the Power Supply and the Host PC for the Chapter 3 Setting up the PDS Series Module Step 2 Connect the DO n to the DI n For example the PDS 721 with a 5 port DI and 6 port DO DOO Connect to DIO DO1 Connect to DI1 DO2 Connect to DI2 and DO3 Connect to DI3 Terminal Pin Terminal Pin
82. a TCP data packet 1ms later every time So it delays a little TCP ACK Delay and then can combine the ACK and data packet into one This 50 ms efficiency reduces the number of packets and reduces network loadings This parameter is used to receive or reject UDP broadcast packets 1 receive UDP broadcast packets O reject UDP broadcast packets If the PDS series does not receive any data from a client PC within the period of the Connection WDT timeout the module will close the connection to the client Disabled O Disabled Min setting value 10000 PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server Network WDT timeout System Timeout ms Reset System SET TCP IP If the PDS series does not receive any data from any of the clients within the period of the Network WDT timeout the module will reboot itself This setting is the same as SystemTimeout setting unit ms on Console Telnet command and is the same as STxxx in command line parameter unit 0 Disabled seconds When user uses config RESET Console Telnet command to clear the EEPROM the Network WDT timeout SystemTimeout ST setting will also be cleared to 0 Users have to configure this setting again by SystemTimeout Console Telnet command 0 Disabled Min setting value 30000 If the Master IP is set only the client using
83. a pds O com3230 gt mask AS K 255 255 255 8 coms238 gt mas k 255 255 255 254 AS K 255 255 255 254 PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 9 3 15 NAME This command is used to query the name of a PDS Effect Setting the address is not allowed Command Arguments Description NAME Queries the name of a PDS Figure 9 3 15 The following is an example of a NAME configuration 7188X AW 1 36 C0M1 115200 N 8 1 FC C T amp S DIR C Documents and Zetinschll ser Bind f O comza gt name AMNE PDS 752 coms23H gt 9 3 16 ALIAS This command is used to query or set the alias of a PDS The maximum character length of PDS alias name is 16 bytes Effect Immediate Command Arguments Description alias Queries the alias alias Sets the alias of a PDS to xxxx Figure 9 3 16 The following is an example of a alias configuration 7188W 1 36 COM1 115200 N 6 1 FC 0 C TS 0 DIR Document and Settings ra pds O coms23H gt alias ALIAS com3230 gt alias p752 ALIAS p752 PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 9 3 17 DHCP This command is used to set the DHCP client to either enabled or disabled DHCP function will get a dynamic IP address setting for PDS automatically Thus it s recommended to disable DHCP function and use a static IP address setting This preven
84. ad save filelautoexec hat ress ALT_E to download filet Input Filename vc6_32380_exe Load fFile vc6_3236 exe cre 6927 Haal Send File info total 325 blocks Load vc6_3230 exe SECONnGAS coms238 gt quit ommand not supportted f PAC 7186ER_UDP gt dir A pautoexec bat 43 84 2688 11 26 82 18 66812 18082 D pp 87 BAR touc6_3238 exe 6571372008 11 16 67 83039 1445F 005 b682 94458 Hp otal File number is 2 Free space 375599 bytes PAC 7186Es_UDP gt X When save 1 system will back up the autoexec bat and vcom ini files to memory first clear all files in the flash disk and then load the autoexec bat and vcom ini files from memory and run the load command to load the specified file s PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 9 3 22 CONFIG This command is used to clear the settings in the EEPROM Effect Immediate Command Arguments Description Clears the settings in the EEPROM After reboot the firmware will use the new default settings on EEPROM Note RESET MUST be in capital letters X When Config RESET is used the Password Alias and IPFILTER settings will also be cleared but the IP MASK GATEWAY addresses will not lt The SystemTimeout setting is also cleared to 0 by the config RESET command you have to configure the SystemTimeout value again The default factory setting o
85. ammable Serial to Ethernet Device Server Figure 5 5 1 The image below shows an example of the setup for a pair connection test DSz712l PDS 7 00 1 Gemeis RS 232 f Ethernet i Supalhy B PC 12 248 Vea Baud Rate Data Format 3 9600 8 N i 1 Ethernet Switch F mem e PDS 78 21 PDS 7 00 2 RS 232 Ethernet SUPBUY _ 40 a 80 Vex Baud Rate Data Format 9600 8 N 1 Ethernet Step 2 Configuring the Ethernet Settings Contact your Network Administrator EE HER File Server Port Tools to obtain the correct and functioning P Berg network configuration for the PDS Virtual COM Baudrate series including the IP Address Mask KS Si and Gateway details Also refer to Il C h a pte r 3 S etti n g u D th e P D S Se rie S Eee Name Alias IP Address Sub net Mask Gateway MAC Address iDS 720 Dem _10 0 8 55 255 255 255 0 10 0 8 254 _00 18 30 FC 74 65 Module for more details Configuration UDP PDS782 10 0 8 200 255 255 0 0 10 0 8 254 00 0d e0 50 08 c6 Exit Status Figure 5 5 2 PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server Step 3 Configuring the Pair connection Client Mode on the Web Server for PDS 700 1 1 Enter the URL address of the PDS 700 1 in the address bar of the browser or click the Web button in the VxComm Utility to log in to the web configuration page 2 Check
86. ansferred is large and uses a transfer speed 115200 bps setting a smaller value is helpful in preventing data loss When the COM port does not receive data from devices Data Buffered Delay connected over the period of DBDT setting the PDS Time DBDT series will determine that the data transfer is over and return to process next tasks The PDS series outputs an Ethernet packet immediately End Char after the ending chars pattern is identified from the l l l l Disabled incoming serial data MO Transparent Mode Multi echo mode M1 Slave Mode Single echo mode M2 Half Slave Mode Is situated between MO and the M1 mode Operation Mode M3 Modbus Gateway lt O The more detailed information regarding MO M1 M2 and M3 modes please refer to the Section 4 3 1 d Operation Mode PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server In M1 Slave Mode the slave mode timeout setting is use to set the waiting time after last character of the request sent to the device If the device does not respond within the timeout value the PDS series will return a timeout error and process next request Slave Timeout v COMI PERA W a e ST Request are v ar If the PDS series does not receive any data from Slave Master ACK timeout for a certain period the PDS series will return an ACK 0 MAT character to Master and process next request based on Disabled the confi
87. ce Server 2 1 4 PPDS 700 IP67 Models PPDS 741 IP67 PPDS 742 IP67 PPDS 743 IP67 CPU CPU 80186 80 MHz or compatible SRAM 512 KB Flash ROM 512 KB Erase unit is one sector 64 KB Flash Memory 1000 000 erase write cycles EEPROM Built in Watchdog Timer Yes Communication Interface COM1 5 wire RS 232 COM2 2 wire Isolated RS 485 COM3 2 wire Isolated RS 485 5 wire RS 232 5 wire RS 232 COM4 2 wire Isolated RS 485 2 wire Isolated RS 485 5 wire RS 232 Yes 1 KO RS 485 Node 245 max 10 100 Base Tx RJ 45 port Auto negotiating auto MDI MDI X LED indicator IEEE 802 3 af 16 KB Data retention 40 years 1000 000 erase write cycles Ethernet COM Port Formats 7 8 for COM1 COM2 5 6 7 8 for COM3 COM4 None Even Odd Mark Space 1 for COM COM2 1 2 for COM3 COM4 115200 bps Max Data Bit Parity Stop Bit Baud Rate LED Indicators Green 10 100 M E1 Orange Link Act E1 Red Sys PoE Green RxD Ethernet System COM1 COM4 Orange TxD Protection Power Reverse Polarity Protection 12 Voc 48 Voc non regulated PoE IEEE 802 3af Class 1 2 2 W Required Supply Voltage Power Consumption PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server Models PPDS 741 IP67 PPDS 742 IP67 PPDS 743 IP67 Flammability Fire Retardant Materials UL94 VO Level Casing Plastic casing with IP67 waterproof protection Dim
88. cevied Mode The response is displayed e O a C ext 4 Ifthe test is successful then your COM port program should now be able to work with this Virtual COM Port Complete PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 4 Web Configuration Once the PDS series has been correctly configured and is functioning on the network normally the configuration details can be retrieved or modified using either the VxComm Utility or a standard web browser 4 1 Logging in to the PDS Web Server The embedded PDS series web server can be accessed from any computer that has an Internet connection Step 1 Open a new browser window Open a web browser for example Google Chrome Firefox or Internet Explorer which are reliable and popular Internet browsers that can be used to configure PDS series Step 2 Enter the URL for the PDS web server Ensure that you have correctly configured the network settings for the PDS series refer to Chapter 3 Setting up the PDS Series Module for detailed instructions and then enter the URL address of the PDS in the address bar of the browser or click the Web button in the VxComm Utility to log in to the web configuration pages PPDS 755 M1TCP setup Page Windows Internet Explorer File Edit View Favorites Tools Help EN a Le JH search _ PDS Series User Manual Version 2 2 3 Jan 2015 Pro
89. codes PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 8 Virtual I O Commands gt Command Format Leading Address Command CHK cr gt Response Format Leading Address Data CHK cr Address 2 character 01 for PDS virtual I O CHK 2 character checksum no checksum for PDS virtual I O cr carriage return OxOD for ending character of command gt Checksum Calculation 1 Calculate the ASCII sum of all characters in the command or response string except for the return character cr 2 Mask the sum of the string with Offh gt Example Command string 012 cr Sum of the string S 0 1 2 24h 30h 31h 32h B7h The checksum is B7 h and CHK B7 Command string with checksum 012B7 cr Response string 01300600 cr Sum of the string 0 1 3 0 0 6 0 0 21h 30h 31h 33h 30h 30h 36h 30h 30h 1ABh The checksum is AB h and CHK AB Response string with checksum 01300600AB cr PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server gt General Command Sets Section EES 8 1 SAAS AAS Reads the Reset Status 8 2 SAA6 IAA Data Reads the Digital I O Status 8 3 SAAC IAA Clears the Latched Digital Input 8 4 SAACn IAA Clears the Digital Input Count 8 5 SAAGCN gt AA Data Retrieves t
90. ction Server Mode on the Web Server for PDS 700 2 1 Enter the URL address of the PDS 700 2 in the address bar of the browser or click the Web button in the VxComm Utility to log in to the web configuration page 2 Click the COM Port Settings tag to enter the settings page and select the appropriate COM Port number Baud Rate and Data Format settings from the relevant drop down options for example 9600 8 None and 1 Refer to Figure 5 5 4 for illustrations of how to perform the above step 2 3 Check the Save current settings to EEPROM and Apply Current settings items and then click the SET COM PORT button to finish configuration 4 Click Set Remote VCOM3 connection at the PDS 700 2 Server COM PORT setup page Refer to Figure 5 5 5 for illustrations of how to perform the steps 3 and 4 5 Confirm that the Local COM port Remote COM port area of the PDS 700 2 Server is None PDS 82 Remote Vcom3 connection Setup Page F Local COM port Remote COM port 0 NONE Add COM connect to COM P cmd port default 10000 Add COM connect to D port U MODBUS gateway O R TETERE Delete Delete ALL Save to EEPROM _ Reload from EEPROM submit Figure 5 5 9 PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server Step 5 Testing the Pair connection Functions 1 The Test2COM exe program
91. ction Code Byte 02 01 Byte count of response Byte 04 04 DO6 DOO Value PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 10 1 2 02 0x02 Read Input Status Read Dis This function code is used to read the current digital input value Request Byte Description Size VEIS eee Net ID Station number 1 247 Refer to Modbus Address table for PPDS series Starting DI address Section 10 2 Modbus Register Map Byte 02 high byte Byte 03 low byte Number of points Byte 04 high byte 04 05 2 Bytes channels Byte 05 low byte Response Byte Description Size VEIS im Net ID Station number 1 Ge Function Function code 1 1 pue mm Byte count of response Byte Count 1 Byte n Points 7 8 n 1 Byte 03 data bit 7 0 n 2 Byte 04 data bit 15 8 n m Byte m 2 data bit 8m 1 8 m 1 Error Response Byte Description Size VEIS 2 en Net ID Station number 1 ie Function Function code 1 1Byte x82 Refer to Modbus Standard Exception code 1 Byte Specification for more details PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server gt For example Function 02 0x02 Read Dis Reads digital input value of PPDS 721D MTCP Leading 6 bytes Request Command 010200000006 01 02 000000 06 Leading 6 bytes Response Response 010200000004 010201 3B Descr
92. d l 87k series The General DCON API kit is located at mM CD napdos driver dcon_dll_new mM ftp ftp icodas com pub cd 8000cd napdos driver dcon dll new The General DCON API kit provides VC and VB drivers VB demos and a document called dcon_fun_user_manual pdf Only the DIO demo that can be found in the dcon_dil_new demo vb6 folder supports PDS series modules The following steps can be used to test the general DCON API kit with the DIO demo programs To run the DIO demo VB6 must first be installed on the PC 1 Double click prjdio vbp to open the DIO project 2 Run the demo 3 Set the Virtual COM Port number of the PDS and click the Open COM Port button The response COM n Opened will be shown on the title bar step 1 Open COM Port Step 4 Set Module Parameters COM Port 3 BaudRate en RS 485 Address of Module i Total DI Channel of Module jo Open COM Port Close COM Total DO Channel of Module j Step 27 Set Communicat a m COM 3 Opened Checksum e TimeOut 300 Step 3 Select Module Type write Bit DO 7K 87K Module 8K Module Write Bit DO Channel j OFF C ON Step b Read DIO Exit Read Di po PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 4 Set the total number of DI and DO channels on your PDS series module For instance the PDS 732 is equipped with 4 DI channels and 4 DO channels
93. d to enable or disable UDP Search function O Disabled 1 Enabled E 2 Enable the UDP Search function until another client is connected By keeping the UDP search setting as 2 the PDS series loading will be reduced The VxComm Utility will not be able to search for this module until this module s clients are all disconnected This parameter is used to configure the TCP Command Port to a custom value depending on your requirement Note that if the TCP Command Port configuration setting is completed the TCP port of serial port will be change as follows COM1 TCP Command Port 1 COM2 TCP Command Port 2 Command Port The default TCP Command Port is 10000 Thus the serial COM port1 port2 is 10001 10002 and so on PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server Web Server Telnet Server Ping Gateway at start TCP ACK Delay ms Broadcast Connection WDT timeout ms This parameter is used to enable or disable Web Server function O Disabled 1 Enabled This parameter is used to enable or disable Telnet Server function O Disabled 1 Enabled If the setting is 1 enabled the PDS series will send a ping packet to the gateway during the power on Stage It is used to inform the gateway that a PDS series itself has joined the network Disabled O Disabled 1 Enabled PDS series does not want to send an empty ACK followed by
94. delivered directly otherwise it will be delivered via a gateway or a router 15 TCP Transmission Control Protocol TCP is a set of rules used in combination with the Internet Protocol to send data in the form of message units between computers over the Internet TCP provides a reliable flow of data between two hosts and is associated with tasks such as dividing the data passed to it from an application into appropriately sized chunks for the network layer below acknowledging received packets setting timeouts to make certain that the other end acknowledges packets that are sent and so on PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 16 TCP IP The Transmission Control Protocol TCP and the Internet Protocol IP are standard network protocols that are almost always implemented and used together in a formation is known as TCP IP TCP IP can be used to communicate across any set of interconnected networks 17 UDP User Datagram Protocol UDP is an internet protocol that provides a much simpler service to the application layer as it only sends packets of data from one host to an other but there is no guarantee that the packets will reach the destination host UDP is suitable for purposes where error checking and correction is either not necessary or is performed in the application PDS Series User Manual Version 2 2 3 Jan 2015
95. e client sends a request to the PDS series to access the other devices The PDS series echoes data from the devices to the client that requested the service PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server Condition 2 No clients send any requests to the PDS series The PDS series doesn t echo any data from the devices to any client gt M Half Slave Mode Is situated between MO and the M1 mode If only one client connects to the PDS series the operation mode same as MO mode please refer to page 48 MO Transparent Mode and if there are two or more clients connecting to the PDS series the operation mode same as M1 mode please refer to page 49 M1 Slave Mode gt M3 Modbus Gateway The more detailed information regarding Modbus Gateway applications settings please refer to Chatper 5 Modbus Testing and Protocol PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 4 3 2 Set Remote VCOMS3 Connection The Set Remote VCOM3 Connection section provides sets the pair connection functions the more detailed information regarding pair connection applications settings please refer to the Section 5 5 Pair connection Applications SET COM PORT PPDS 55 MTCP Remote Vcom3 connection Setup Page F Local COM port Remote COM port 0 NONE Add
96. e the connection automatically Gets Sets the echo mode MO Transparent Mode Multi Echo Data Shared M1 Slave Mode Single Echo None Shared Queries or sets the EchoCmdNo parameter that enables or disables adding Command Number before response Sets a character that determines the end of a response string Queries or sets the IP address Queries or sets the subnet Mask value Queries or sets the Gateway address Queries the MAC address Queries the module name Sets the alias for a PDS Enables Disables the DHCP client Sets whether to reply to a UDP search command Queries the version information Determines whether or not backup copies of the autoexec bat and ycom ini files are saved when using the load command Loads file to the built in flash disk on PDS It should be used to update firmware only Restores the factory default settings Reboots the PDS module Exits the running firmware PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 9 3 1 IPFILTER This command is used to query or edit IP filter table The IP filter table restricts the access of packets based on the IP header If one or more IP addresses are saved into the IP filter table only clients whose IP is specified in the IP filter table can access the PDS Effect Immediate Command Arguments Description ipfilter Queries the IP filter table ADD ip1 Adds an IP address to the I
97. e wiring notes and the dimensions for the PDS series 2 1 Specifications 2 1 1 PDS M 700 D PPDS M 700 D MTCP gt System Specifications Models CPU CPU 80186 80 MHz or compatible SRAM 512 KB Flash ROM 512 KB Erase unit is one sector 64 KB 1000 000 erase write cycles EEPROM 16 KB Data retention 40 years 1000 000 erase write cycles Built in Watchdog Timer Yes Communication Interface RS 232 TxD RxD RTS CTS GND RS 485 D2 D2 GND 10 100 Base Tx RJ 45 port Auto negotiating auto MDI MDI X LED indicator EEE 802 3 af 7 8 for COM1 COM2 5 6 7 8 for COM3 COM4 PDS M 700 D PPDS M 700 D MTCP Flash Memory Non isolated Ethernet COM Port Formats Data Bit Parity Stop Bit Baud Rate LED Indicators 5 digit 7 Segment System Protection Required Supply Voltage Power Consumption None Even Odd Mark Space 1 for COM COM2 1 2 for COM3 COM4 115200 bps Max Yes Display for D versions Green Power Reverse Polarity Protection 10 Voc 30 Voc non regulated 12 Voc 48 Voc non regulated PoE IEEE 802 3af Class 1 PDS M 700 2 0 W PPDS M 700 MTCP 2 2 W PDS M 700D 2 7 W PPDS M 700D MITCP 2 9 W PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server gt LO Specifications Models PDS M 700 D PPDS M 700 D MTCP Digital Output Output Type Open Collector Sink NPN Load Voltage 30 Voc max Load
98. eesessuuneeessageeteetss 216 PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server Packing List The shipping package includes the following items V One PDS series hardware module d 2 DS P PDS 700 MTCP Series P PDSM 700 MTCP Series PDS 5105D MTCP PPDS 700 IP67 Series MV One software utility CD M One CA 0910 download cable Only for PDS M 700 D PPDS M 700 D MTCP PDS 5105D MTCP MV One printed Quick Start Guide If any of these items are missing or damaged please contact the local distributor for more information wg Save the shipping materials and cartons in case you Software CD CA 0910 QuickStart need to ship the module in the future More Information Documentation Software CD NAPDOS PDS http ftp icodas com pub cd 8000cd napdos pds Firmware CD NAPDOS PDS PDS 700 VxComm Server PDS CD NAPDOS PDS PDS 5000 VxComm Server PDS http ftp icodas com pub cd 8000cd napdos pds pds 700 vxcomm server pds http ftp icodas com pub cd 8000cd napdos pds pds 5000 vxcomm server pds PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 1 Introduction Take your Serial AAO AEA ELENOA Programmable Device Server The PDS series is a family of Programmable Device Servers also known as Serial to Ethernet gateway that are designed for linking RS 232 422 485 devices to an Ethernet
99. ensions W x H x D 85 mm x 76 mm x 137 mm 89 mm x 90 mm x 138 mm for DIN versions Installation Wall mounting DIN Rail mounting for DIN versions Operating Temperature 10 C 60 C Storage Temperature 10 C 60 C Humidity 100 RH for operating temperature 10 C 60 C Note 5 wire RS 232 TxD RxD CTS RTS GND Isolated 2 wire RS 485 DATA DATA GND Self Tuner Inside 2500 Vrms Isolation PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 2 2 Features Incorporates serial devices in an Ethernet network Provides Virtual COM for 32 bit and 64 bit Windows XP 2003 Vista 7 8 Supports Modbus TCP to RTU ASCII Gateway for MTCP versions Powerful programmable device server with lib and sample programs Built in high performance MiniOS7 from ICP DAS Built in watchdog timer suitable for use in harsh environments Built in Self Tuner on RS 485 Ports automatic direction control Supports 4 kV ESD protection on serial ports Supports 2 kV ESD protection on serial ports for PDS 5105D MTCP Power reverse polarity protection and low power consumption 10 100 Base TX Ethernet RJ 45 Port Auto negotiating auto MDI MDI X LED indicator 2 Port 10 100 Base TX Ethernet Switch with LAN Bypass for PDS 5105D MTCP Supports PoE Power over Ethernet for PPDS versions Built in 7 Segment 5 digit LED display for D versions Supports D I latched D I and counter functi
100. erence number Byte 4 5 Bit count 4 3600 COM Status Statistics COMS 7 Commands e0 a Ee Packet Size Bytes EW x Hees Q Packet Size Bytes o Quantity Line control M i Packet Quantity Sent 0 In Polling or Timer Mode Date Time Clear Statistics Responses Curent Packet Size Bytes 7 Total Packet Size Bytes T Packet Quantity Received T Polling Mode Timing ms Open sch Close Start Time Time Start Max Kri Average gt Le Stop Time Time Stop Min 100 000 140001 Responses PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 4 Refer to Protocol Description and type command in the command field 5 Click the Send Command button 6 Ifthe response data is correct it means the test is success MBRIU 7 1 0 9 COM L rf COM Status coms em Line control Ni Open Close Polling Mode MHo Waiting Timeout 200 ms Start top Timer Mode Fixed Period Interval St ms Start Stop Protocol Description P Head multiple coils status Oxesx for DU Met ID Station number FCO Byte 2 3 Reference number Byte 4 5 Bit count Statistics Cle Statistics Commands SS Curent Packet Size Bytes S SE Current Packet Size Bukas Total Packet Size Bytes 0 Quantity Total Packet Size Bytes Facket Quantity Sent 0 0 Packet
101. ess of the module 01 only for PDS L A command for reading the latched digital input data e 1 read latch high data 0 read latch low data gt Response gt gt Valid Command Data CHK cr Invalid Command AA CHK cr A syntax error or a Communication error will result in no response I A delimiter for a valid command A delimiter for an invalid command AA The address of the module 01 only for PDS Data The read data 1 the input channel is latched 0 the input channel is not latched Example Command Response SO1L1 FFOOOO Read the latch high data Returns FFOO meaning that channel 7 to O are all latched For modules with a DI channel count between 5 and 8 SO1L1 IF00000 Reads the latch high data Returns FFOO meaning that channels 3 to O are all latched For modules with a DI channel count between 1 and 4 Related Topics Section 8 3 SAAC PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 8 7 SAAF This function reads the firmware version details gt Syntax SAAF CHK cr A delimiter character AA The address of the module 01 only for PDS F A command for reading the firmware version details gt Response gt Valid Command AA Data CHK cr Invalid Command AA CHK cr A Syntax error or a communication error will result in no response A delimiter for a valid command A delimiter for an invalid command
102. esult string recevied 1024 bytes maximum with one zero or OxOD terminal character wTimeOut Timeout for receiving the result string Unit ms wChksum 0 add one OxOD byte to the end of the szCmd lt gt 0 add two check sum bytes and one OxOD byte to the end of the szCmd wT Return a reference number to identify the performance gt Returns 0 No error Others Error codes PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 7 3 4 DCON Write DO This function sends a group of digital output data to the PDS series module gt Syntax DCON_Write_DO unsigned char cComPort short iAddress short iSlot short iDO_TotalCh unsigned long IDO_Value short iCheckSum short iTimeOut gt Parameters cComPort COM Port number 1 to 255 iAddress Module address 1 for the PDS series module iSlot 1 for the PDS series module iDO_TotalCh Total DO channel count on the PDS series module IDO_ Value Digital output data iCheckSum 0 disabled 1 enabled iTimeout Timeout setting Default 100 Unit ms gt Returns 0 No error Others Error codes PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 7 3 5 DCON Write DO Bit This function sends one bit of digital output data to the PDS series module gt Syntax DCON_Write_DO_Bit unsigned char cComPort short iAddress short iSlot short iChannel short iDO_TotalCh short iB
103. f SystemTimeout value should be 300000 ms 300 seconds Figure 9 3 22 The following is an example of a CONFIG configuration 7188X 4 1 36 COM1 115200 4 8 1 FC30 CTS 0 DIR C Documents and Settings O0ser qipds O com3s230 gt conf ig RESET coms23H gt PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 9 3 23 RESET This command is used to reboot the PDS Effect Immediate Command Arguments Description reset Reboot the PDS Figure 9 3 23 The following is an example of a RESET configuration TL88 W 1 36 C0OM1 115200 N 8 1 FC CTS DIR Document and SettingsU r pds O coms 1 reset ICP DAS MiniOS _UDP for uPAC YiSGEX Uer 2 02 build 615 fApr 29 2008 15 35 16 OS id 31 SRAN 512K FLASH MEMORY 2512K CPU R22 46 PU internal WDT is EMABLEDCWDT timeout H 8 sec Serial number Bi 63 42 FD BE Hi Hi DS PAC 7186Ea_UDP 9 3 24 QUIT This command is used to stop and quit the firmware of PDS Effect Immediate Command Arguments Description quit Quits the firmware Figure 9 3 24 The following is an example of a Quit configuration oc TIB8ZW 1 36 C0M1 115200 8 8 1 FC0 C TS 0 DIR C Document and SettingsU s ra pds 0 coms230 gt quit PAC 7186ER_UDP gt m PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 10 Modbus Information yp Note This chapter is only
104. fered Delay Time PBP qJ te Figure 5 5 4 PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 4 Check the Save current settings to EEPROM and Apply Current settings options and then click the SET COM PORT button to finish configuration 5 Click Set Remote VCOMS3 connection to proceed to the PDS 700 1 Remote Vcom3 connection Setup Page Pair connection settings Save current settings to EEPROM um d Apply current settings 2 SET COM PORT 3 Set Remote VCOM3 connection fN Figure 5 5 5 L 6 Select Add COM and type in the COM port of the PDS 700 1 Client which you want to use Type the appropriate COM Port number IP address and command port of the PDS 700 2 Server settings in the relevant fields for example COM 1 IP 10 0 8 200 and cmd port 10000 7 Check the Save to EEPROM option and click submit button to update configuration DS 12 Remote Vcom3 connection Setup Page Add COM 1 connect to COM 1 IP 10 0 8 200 cmd Dot 10000 default 10000 Add UMN Connect to I DOT Delete U MODBUS galeway O KIU Wall Delete ALL d Save to EEPROM Reload from EEPROM submit Figure 5 5 6 PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server ee If the remote device isn t our produc
105. firmware version is v3 2 32 Feb 25 2014 or later of the PDS 700 1 DS 12 Firmware Information Firmware Version Network Device Information S Settinas qs Module name DS 712 COM Port Alias name 0o Settings VCOMS Firmware version v3 2 32 Feb 29 2014 Misc settings heels gt II r En SS AVIY e os Library version v2 14 Feb 19 2014 TCPIIP Library version 1 29 Feb 25 2014 Free Memory bytes 1157280 Figure 5 5 3 3 Click the COM Port Settings tag to enter the settings page and select the appropriate COM Port number Baud Rate and Data Format settings from the relevant drop down options for example 9600 8 None and 1 Wi ie eW W r WATI AGCL Firmware Version COM Port Settings saved in EEPROM oe COM 1 9600 8 N 1 FTL 1 DBDT 0 0 EndChar 00 MO ST 100 MAT ettings aaa Currently Used COM Port Settings COM 1 9600 8 N 1 FTL 1 DBDT 0 3 EndChar 00 MO ST 200 MAT Misc settings Port COMO for ALL PORTS _ E COM1 Baud Rate 9600 Data Bits Ee Parity None F Stop Bits 1 RA cv yyt Lever Loom Nata Buf
106. grammable Serial to Ethernet Device Server Step 3 Log in to the PDS Web Server After logging into the PDS web server the main page will be shows firmware information of the PDS series module e PPDa ah NICE Setup Page Windows Internet Explorer File Edit View Favorites Tools Help Omi O WAG Pans Zero 2 2 BS ddress tp 10 0 8 15 PPDS 755 MTCP Firmware Information Module name PPDS 755 MTCP Alias name Settings VCOM3 Firmware version v3 2 32 Feb 25 2014 Modbus OS version v2 2 28 Nov 18 2013 are OS Library version v2 14 Feb 19 2014 Gettinas TCP IP Library version 1 29 Feb 25 2014 Free Memory bytes 139776 Misc Settings Ee Internet PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 4 2 Network Setting The Network Settings section provides information related to most important network settings for the PDS series including the IP Address Subnet Mask and Default Gateway values etc If they do not match the PDS series will not operate correctly If the settings are changed while the module is operating any connection currently in use will be lost and an error will occur PPDS 755 MTCP Network TCP IP Setup Page Firmware Pe Network Settings Current Sanne OT IP Address 10 0 8 15 lt aa a EE 355 255 2550 Gateway 10 0 8 254 DHCP Client UDP Search Command Port Misc Settings Web Server Telnet Server
107. gt xComm Utility v2 12 18 Dec 26 2014 File Server Port Tools ES Contigur ge xComm Servers driver amp utility Wwhere remote eal become Part of pour e 3 4 J Add Server s x Hemove Server Search Servers Configuration UDP Exit f LEA Cancel Pia JP ROEESS ubD net Mas atewa ARC Aires kr PDS 721 Tammy 0 0 6 100 255 255 255 0 10 0 8 254 00 0d e0 50 08 a E RE gt Figure 7 1 2 Status Z Step 8 Click Tools gt Restart Driver and then click the Restart Driver button gt xComm Utility 2 12 09 Jun 24 2014 File Server Port lime i System wes IR xComm Utility Restarting Driver Restart Driver b Restart the driver to use new configuration Make sure you have closed all virtual COM ports first driver amp utility VM WS on Di mm status Driver is running eens Driven We e ee Figure 7 1 3 PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server Step 9 Check the Virtual COM Port number shown in the Port I O field in the right hand pane of VxComm Utility xComm Utility v2 12 18 Dec 26 2014 Sele H File Server Port Tools Configure Server Configure Port xComm Servers Pot Virtual COM Daudrate PDS 721 10 0 8 100 Port UO COM N A Port Ho Dynamic Pot COMA Dynamic a
108. gured timeout value If the SET COM PORT button is clicked with checking Save current Save current settings i settings to EEPROM option the new settings will be saved to the PDS to EEPROM l l l l series only and the new settings will be valid after the next power on If the Apply current settings checked when the SET COM PORT Apply current settings Zeg l Ges l button is clicked the new settings will be valid immediately SETCOMPORT COM PORT Click this button to save the revised settings to the PDS series Note After configuring IP filter settings Save current settings to EEPROM please confirm that the Save current settings to Apply current settings EEPROM and Apply current settings option are checked and then click the SET COM PORT button SET COM PORT PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 4 3 1 Operation Mode MO M1 M2 and M3 gt MO Transparent Mode Multi echo mode Condition 1 One client sends a request w to the PDS series to access each device The PDS series echoes the data from each device to each connected client Condition 2 No clients send any requests to the PDS series The PDS series echoes data from the devices to Response each connected client gt Mi Slave Mode Single echo mode wht pe or A T dia se us ee ivi 4 Resp Ges 3 Ee ZS Condition 1 On
109. he I O Channel Count 8 6 SAALSs Data Reads the Latched DI 8 7 SAAF AA Data Reads the Firmware Version 8 8 SAAM AA Data Reads the Module Name 8 9 AA gt Data Reads the Digital Input Output Status 8 10 AA Data gt Sets the Digital Output 8 11 AAn IAA Data Reads the DI counter 8 12 AAOOdd gt Sets the Multi channel Output 8 13 AA1ndd gt Sets the Single Channel Output gt Host Watchdog Command Sets Section ENEE 8 14 No Reponse Host is OK 8 15 AAO IAASS Reads the Module Status 8 16 AAT IAA Reset Module Status 8 17 AA2 IAAeff Reads the Host Watchdog Timeout Value 8 18 AA3 eff IAA Sets the Host Watchdog Timeout Value 8 19 AA4P AA Data Reads the Power on Value for D O 8 20 AA4S AA Data Reads the Safe Value for the D O 8 21 AA5P IAA Sets the Power on Value for the D O 8 22 AASS IAA Sets the Safe Value for the D O All commands require a carriage return OxOD for ending character PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 8 1 SAAS This function reads the reset status gt Syntax SAA5 CHK cr A delimiter character AA The address of the module 01 only for PDS 5 A command for reading the status gt Response Valid Command AAs CHK cr Invalid Command AA CHK cr There will be no response if there is a syntax error or a Communication error I A delimiter for a valid command A delimiter for an invalid command AA The
110. he next Save to EEPROM power on If the submit button is clicked with checking Reload from Reload from EEPROM EEPROM option PDS series can apply the settings from EEPROM immediately Submit Click this button to save the revised settings to the PDS series Note After setting the pair connection functions please power on reboot the PDS series and then setting is complete PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 4 4 Modbus Gateway Settings The Modbus Gateway Settings section provides sets the Modbus Gateway functions for PPDS 700 MTCP series including the Modbus device ID Modbus Protocol TCP UDP port and timeout values etc The more detailed information regarding Modbus Gateway applications settings please refer to Chatper 6 Modbus Testing and Protocol a Note This section is only suitable for the PPDS M 700 D MTCP PDS 5105D MTCP and PPDS 700 IP67 PPDS 55 MTCP MODBUS Gateway Setup Page Firmware Version Network Settings MODBUS Device ID Device ID 255 OxFF TCP UDP port 502 COM Port for Modbus Gateway Settings COM 1 ID 0 Disable COM 2 ID 0 Disable COM 3 ID 0 Disable COM 4 ID 0 Disable COM 5 ID 0 Disable Configure COM PORT Device ID for PPDS 755 MTCP
111. here are three Din Rail versions available that enable a variety of ICP DAS devices to be mounted Each is made of stainless steel and has a ground wire attached at one end _ Part number Maximum number of modules Dimensions DRS 125 2 125 mm x 35 mm DRS 240 3 240 mm x 35 mm DRS 360 5 360 mm x 35 mm gt DIN Rail Mountable Model PDS Series module contains holes on each side to enable piggyback mounting PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 2 8 PDS Series Diagnostics LED Indicator This section provides detailed information about the LED functions and behavior are given below Step 1 Apply power Vs GND to the PDS Series module X PDS M 700 series power supply can range from 10 to 30 Noe X PPDS M 700 MTCP DS 700 PPDS 700 IP67 PDS 782 25 and PDS 5105D MTCP series power supply can range from 12 to 48 Voc Step 2 Once power is supplied to the PDS series module the system LED indicator will illuminate as follows gt E DON gt YE gt OFF gt Unit gt 0 5 second The PDS contains either Xserver or VxComm as default when shipped that is in the OS mode If the LED is always ON take the following steps 1 Power off the module 2 Connect the INIT pin to the Vs pin 3 Power on the module and double check the configuration PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to
112. ial to Ethernet Device Server gt Step 3 Assemble item 3 amp 4 and 5 gt Step 4 Assemble item 2 and 38485 gt Step 5 Assemble item 2 and 3 amp 4 amp 5 gt Step 6 Assemble item RJ45 connector and RJ45 cable See page 37 for detail pin assignment PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server gt Step 7 Assemble RJ45 Plug a gt Step 8 Make sure to tighten firmly gt Step 9 Connect the RJ45 Cable to PPDS 700 IP67 on COM Port gt Step 10 Make sure to tighten firmly Complete PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 3 Setting up the PDS Series Module This chapter provides detailed information about the Self Test process which is used to confirm that the PDS is operating correctly Before beginning the Self Test process the wiring test Ethernet configuration and VxComm utility driver installation procedures must first be fully completed Follow the procedure described below Step 1 Connect the Power Supply and the Host PC 1 Ensure that the network settings on your PC are configured correctly 2 Ensure that the Windows firewall or any Anti Virus firewall software is correctly configured or temporarily disable these functions otherwise the Search Servers function in the VxComm Utility may not work as required You may need to contact your System Adm
113. ice Server 8 21 AA5SP This function sets the Power on Value for the DO gt Syntax AA5SP CHK cr A delimiter character AA The address of the module 01 only for PDS 5P The command used to read the power on value for the DO Response Valid Command AA CHK cr Invalid Command AA CHK cr A syntax error or a Communication error will result in no response l A delimiter for a valid command A delimiter for an invalid command AA The address of the module 01 only for PDS Example Command Response 0103 gt Output the value 03 Returns success 015P 101 Set the current output status as power on value return success Related Topics Section 8 19 AA4P PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 8 22 AAS5S This function sets the Safe Value for the DO gt Syntax AA5S CHK cr ge A delimiter character AA The address of the module 01 only for PDS 5S The command used to set the safe value for the DO Response Valid Command AA CHK cr Invalid Command AA CHK cr A syntax error or a Communication error will result in no response I A delimiter for a valid command A delimiter for an invalid command AA The address of the module 01 only for PDS Example Command Response 0103 gt Output the value 03 Returns success 015S 101 Set the current output status as the safe value Returns success
114. ies User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 1 4 Web Server Technology Web server technology enables the PDS series to be configured via a standard web browser interface e g Google Chrome Internet Explorer or Firefox etc This means that it is easy to check the configuration of the PDS series via an Ethernet network without needing to install any other software tools thereby reducing the learning curve required for maintaining the device F PDS 720 Setup Page Microsoft Internet Explorer Sees Fie Edt Weu Favorites Took Help a Gt 2A eae U en ce gt CDs CH x iz n Oh sprouts Ei Giedel A Address L I http 10 0 8 243 se Ea PDS 720 COM PORT Setup Page COM Port Setting saved in EEPROM COM 1 9600 8 N 1 FTL 1 0BDT 0 0 EndChar 00 COM 2 9600 8 1 FTL 1 0BDT 0 0 EndChar 00 Port ate bits Fam bis trig Long PBDT wg COMI wir S600 ami Mone 1 1 SG ms LJ Apply current setting COM Port Current Used Setting COM 7 9600 8 N 1 FTL 1 DBDT 0 3 EndChar 00 COM 2 9600 8 M 1 FTL 1 DBDT 0 3 EndCh har 00 Other Setting Current New Operation Mode Mi Transparent Mode z n ier S ge ch RER SETCOMPORT PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 2 Hardware Information This chapter provides a detailed description of the front panel the hardware specifications the pin assignments th
115. inistrator for more details of how to do this 3 Connect both the PDS Series and the Host computer to the same sub network or the same Ethernet Switch 4 Short the RxD and TxD pins of the PDS Series for self test 5 Supply power to the PDS series as follows mM Supply 24 Vpc 10 30 Vpc power to the PDS M 700 Series D Supply 24 Vpc 12 48 Vpc power to the PPDS M 700 MTCP DS 700 PPDS 700 IP67 PDS 782 25 and PDS 5105D MTCP Series Ze Refer to Figure 3 1 to 3 3 for an illustration of how to perform the above steps PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server Host PC Ethernet Cable Short RXD1 and TXD 1 Power Supply Ethernet Switch gt Figure 3 2 PDS 5105D MTCP d d fie Te Zoe Lt M Host PC di 7 S ey Ethernet Cable Power Supply PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server gt Figure 3 3 PPDS 700 IP67 series ia d L if 5 i 4 d q F 5 8 k 1 q es RAS VINKE Short RXD and TXD Ethernet Cable enCable Power Supply Ethernet Switch PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 6 Verify that the System LED indicator is flashing on the PDS Series If your PDS series module is a D version module the 5 digit 7 SEG LED will be used to indicate
116. ion 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 1 1 PDS Series Comparison Table gt PDS M 700 D PPDS M 700 D MTCP Series Programmable Device Servers Models PDS M 700 D RS 232 P PDS M 700 D MTCP RS 485 Programmable LED RS 422 485 PoE Metal Modbus TCP Device Server Display PDS 720 D 1 RS 232 PPDS 720 D MTCP 1 RS 485 PDS M ae 1 RS 232 m PPDS M 721 MTCE 1 RS 485 PDS M 732 D 2 RS 232 4 4 PPDS M 732 D MTCP 1 RS 485 1 RS 232 iat m e 1 i pe 4 4 PPDS M 734 D MTCP j 1 RS 422 485 PDS M 742 D 3 RS 232 PPDS M 742 D MTCP 1 RS 485 PDS M 743D 3 RS 232 4 4 PPDS M 743 D MTCP 1 RS 485 PDS M 752 D 4 RS 232 PPDS M 752 D MTCP 1 RS 485 PDS M 755 D 1 RS 232 PPDS M 755 D MTCP 4 RS 485 PDS Me 5 RS 232 Ke PPDS M 762 D MTCE 1 RS 485 PDS 782 D 7 RS 232 PPDS M 782 D MTCP 1 RS 485 7 RS 232 PPDS M 782 Dl 25 D6 Boe 1 RS 485 Note 1 PPDS M 700 D MTCP supports PoE and Modbus Gateway 2 Dversions support 7 segment 5 digit LED display 3 M versions is equipped with metal case PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server gt DS 700 Series Non Programmable Device Servers Models RS 232 DS 700 RS 485 DI DO Modbus TCP dek 1 RS 232 1 RS 422 485 Device Server gt PPDS 700 IP67 Series Programmable Device Servers M
117. iptions as follows Command Leading 6 bytes Byte 00 03 01020000 Message number Byte 04 05 0006 Number of remaining bytes in this frame Request Byte 00 01 Net ID Byte 01 02 Function Code Byte 02 03 0000 Starting DI address Byte 04 05 0006 Number of points Response Leading 6 bytes Byte 00 03 01020000 Message number Byte 04 05 0004 Number of remaining bytes in this frame Response Byte 00 01 Net ID Byte 01 02 Function Code Byte 02 01 Byte count of response Byte 04 3B DIS DIO Value PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 10 1 3 05 0x05 Force Single Coil Write DO This function code is used to set a single coil status or a single digital output value Request Byte Description Size VEIS o Net ID Station number 1 247 Refer to Modbus Address Table for PPDS series 02 03 DO Address 2 Bytes Section 10 2 Modbus Register Map Byte 02 high byte Byte 03 low byte OxFF 00 set the output to ON 0x00 00 set the output to OFF Sen Sege SE All other values are illegal and will not affect the coil Byte 04 high byte Byte 05 low byte Response Byte Description Size VEIS lm Net ID Station number Bo ea Function Function code 1 1Byte oe The value is the same as Byte 02 03 of 02 03 DO Address 2 Bytes the Request The value is the same as Byte 04 05 of 04 05 Output value 2 Bytes the Request
118. is 26 Therefore the server VxComm firmware or Xserver firmware allows 26 connections to be linked to a single PDS Each client program occupies at least 2 connections for a single serial port one connection for data and another for commands gt Module Name dS 7xx Module Name If the 5 digit LEDs do not display the above detail take the following steps 1 Power off the module 2 Connect the INIT pin to the Vs pin 3 Power on the module and double check the configuration Step 5 Power off the module PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 2 9 Init Normal Operating Mode gt Init Mode Configuration mode gt Normal Mode Firmware operation mode Factory Default For PDS series modules the operating mode switch is set to the Normal position by default In order to update the firmware for the PDS series modules the switch must be moved from the Normal position to the Init position The switch must be returned to the Run position after the update is complete 2 9 1 PDS 700 D PPDS 700 D MTCP Series Normal Mode Normal d PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server Al Normal Mode Init Mode Short INIT and GND Normal Mode Open INIT Ta UNI B GND PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to
119. is located at CD Napdos multiport utility http ftp icodas com pub cd iocard pci napdos multiport utilit Testi CM exe 2 Execute the Test2COM exe program 1 Type 5 Check COM1 COM2 Ji Test 2 COM ports v1 25 Aug 28 2012 Baud Rates 9600 Sees COM Parts Baud Rates Test Result First Second r ep 2 Check COM COM m o Please connectthe 1st COM to 2nd COM P M 300 Data Bits 8 _ __ T E Will testthe sendingreceiving between these M 1200 two COM ports R RR H IT 2400 Parity 4800 3 Check IW RE Iw 9600 Parity None C Odd M 19200 Even 38400 D Mark 57600 I Sp m 115200 20400 4 Check tenth ia ae 7 Loop 10 its 921600 stop bits 1 A Timeout me 3000 We Timeout ms 0 Loop 8 Click Start Test button Errors Count Start receiving data after sending finished i Clear log every 20 000 lines for reduc Iw Beep when error fv Bidirection test Used to test serial driver s buffer size Test COMT ATS COM2 CTS Test COM DIR COM2D5R Test COM DIR COM2DCD 6 Uncheck Start Test Save Contig Load Config PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 3 Get the test result i Test 2 COM ports 1 25 Aug 28 2012 Test Result setloammdstaten S600 8M1 Baud Rates T 50
120. it PDS f62 NYA 10 0 8 200 255 255 0 0 10 0 8 254 00 0d e0 50 08 c6 4 Click Tools gt Restart Driver and then click the Restart Driver button gt Yx Comm Utility v2 12 09 Jun 24 2014 Fie Server Fon MEHE s i Restart Driver D Con DEE VM e OO xComm Utility Restarting Driver Eg be Restart the driver to use new configuration Make sure you have closed all virtual COM ports first Status Driver is running Restart Driver o PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server Step 5 Testing your PDS Series Module 1 Click on PDS series name and right click Port 1 then choose the Open COM Port item E Configure Port Open TCF Fort Port 6 COM Dynamic Port f COMd Dynamic Port 9 COM Dynamic 2 Check that the configuration of the COM Port is correct and then click the Open COM button gt Confiruraton Seting COM Part COM Data Bits E Parity Ei None PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 3 Type a string in the send field then click the Send button If a response is received it will be displayed in the received field COM Terminal 1 0 6 Nov 13 2003 BEE send 0 A j Send Interval ms Hex 24 30 31 4D 0 Decekecd r Send with CH tOO 4 30 31 4D S01 Ciar Re
121. itValue short iCheckSum short iTimeOut gt Parameters cComPort COM Port number 1 to 255 iAddress Module address 1 for the PDS series module iSlot 1 for the PDS series module iChannel The digital output channel No iDO_TotalCh Total DO channel count on the PDS series module IBitValue 1 bit of digital output data 0 OFF 1 ON iCheckSum 0 disabled 1 enabled iTimeout Timeout setting Default 100 Unit ms Returns 0 No error Others Error codes PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 7 3 6 DCON Read_DIO This function reads the DO and DI lines status gt Syntax DCON_Read_DIO unsigned char cComPort short iAddress short iSlot short DI TotalCh short iDO_TotalCh short iCheckSum short iTimeOut unsigned long IDI_ Value unsigned long IDO_Value char cDI_BitValue char cDO_BitValue Parameters cComPort COM Port number 1 to 255 iAddress Module address 1 for the PDS series module iSlot 1 for the PDS series module iDI_TotalCh Total DI channel count on the PDS series module iDO_TotalCh Total DO channel count on the PDS series module iCheckSum 0 disabled 1 enabled iTimeout Timeout setting Default 100 Unit ms iDI_ Value Read digital input data iDO_ Value Read digital output data cDI_BitValue Read digital input data Boolean array format cDO_BitValue Read digital output data Boolean array format Returns 0 No error Others Error
122. l Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 2 3 2 PDSM 700 D PPDSM 700 D MTCP 68008080086 gt Q Description Description 1 RJ 45 Jack for 10 100 M Ethernet and 4 The number of serial COM Ports available PoE Power over Ethernet for PPDSM depends on the type of PDS series Refer to versions Section 2 4 for detail information 2 COM1 RS 232 Command Port 5 Wiring information COM2 RS 485 DC Power Input Vs GND 6 System LED indicator refer to Section 2 8 3 7 Segment 5 digit LED display for D versions 7 Robust insulated and fire retardant Metal SEENEN case PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 2 3 3 PPDS 700 IP67 Description Description RJ 45 Jack for 10 100 M Ethernet and Serial COM Ports Refer to Section 2 4 15 for PoE Power over Ethernet detail information DC Power Input Vs GND LED Display Information Refer to Section Plastic casing with IP67 Waterproof 2 4 15 for detail information PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server Description 2 Port 10 100 Base TX Ethernet Switch with LAN Bypass COM1 RS 232 Command Port COM2 RS 485 DC Power Input PWR GND Init Normal Operating Mode Refer to Section 2 9 5 for detail information DIN Rail Mounting Refer to Section 2 7 for detail information Descrip
123. l software application that hides the MAC addresses and allows higher level programs to work only with the IP addresses Ultimately however communication must be carried out by the physical networks using whatever MAC address scheme the hardware supplies Suppose machine A wants to send a packet to machine B across a physical network to which they are both attached but A only has the Internet address for B IPg The question arises how does A map that address to the MAC address for B MACg ARP provides a method of dynamically mapping 32 bit IP address to the corresponding 48 bit MAC address The term dynamic is used since the mapping is performed automatically and is normally not a concern for either the application user or the system administrator 2 Clients and Servers The client server paradigm uses the direction of initiation to categorize whether a program is a client or server In general an application that initiates peer to peer communication is called a client End users usually invoke client programs when they use network services By comparison a server is any program that waits for incoming requests from a client program The server receives a request from a client performs the necessary actions and returns the result to the client PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 3 Ethernet The term Ethernet generally refers to a standard published in 1982 by
124. lick the UPDATE button lt Apply the current settings WIPDOATE PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 4 5 Misc Settings The Miscellaneous Settings provides functions allowing items such as the alias name Web read only restore factory default and change password to be configured PPDS 55 MTCP Misc Setup Page Firmware Version Network settings COM Port Settings Modbus Gateway Misc Settin y y The following is an overview of the parameters contained in the Misc Setup Page section Description Current New 0 UPDATE Click the this tab to proceed to the Login page that can disable Web Read Only property change password and Restore to Factory Default Settings refer to the Sections 4 5 1 to 4 5 3 for more detail information This parameter is used to assign an alias for each PDS series to assist Alias Name oo with easy identification This parameter is used to enable Web Read Only function If the Web Read Only properly is set to 1 Enabled the web server will Web Read Only not be able to save any new configurations to the PDS series The default setting should be O Disabled O Disabled 1 Enabled UPDATE Click this button to save the revised settings to the PDS series PDS Series User Manual
125. mand is used to query or set the subnet Mask value Effect After the next reboot Command Arguments Description MASK Queries the subnet Mask value MASK XXX XXX XXX XXX Sets the subnet Mask value Figure 6 3 12 The following is an example of a MASK configuration E 71881 W 1 36 C0M1 115200 8 8 1 FC0 C T3 DIR C Documents and SettingAU ser A mPDss _ 0 x com323i gt mask a AS K 255 Zb Zbhbh H comsg231 gt mask 255 255 255 254 AS K 255 255 255 254 PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 9 3 13 GATEWAY This command is used to query or set the outgoing Gateway address of the subnet Effect After the next reboot Command Arguments Description Gateway Queries the subnet Gateway value Gateway XXX XXX XXX XXX Sets the subnet Gateway value Figure 9 3 13 The following is an example of a Gateway configuration SAIT KA 1 36 C0M1 115200 8 8 1 FC0 CTS A DIR C WDocuments and SettingaU r pds O coms2s30 gt qateway ATEWAY 160 0 8 254 coms238 gt gqateway 18 6 8 255 ATEWAY 10 60 8 255 9 3 14 MAC This command is used to query the MAC address Effect Setting the address is not allowed Command Arguments Description Queries the MAC address Setting the address is not allowed Figure 9 3 14 The following is an example of a MAC configuration SAIT KA 1 36 C0M1 115200 8 8 1 FC0 CTS DIR Document and SettingAl ser
126. mmand used to read the Host Watchdog Timeout Value gt Response Valid Command AAeff CHK cr Invalid Command AA CHK cr A syntax error or a Communication error will result in no response I A delimiter for a valid command A delimiter for an invalid command AA The address of the module 01 only for PDS e The status of the Host Watchdog 1 Enabled O Disabled ff The timeout value in Hex format The unit is 0 1 seconds 01 0 1 seconds FF 25 5 seconds gt Example See the AA3eff example in Section 8 18 gt Related Topics Section 8 15 AAO Section 8 16 AA1 Section 8 17 AA2 Section 8 18 AA3eff Section 8 19 AA4P Section 8 20 AA4S Section 8 21 AA5P Section 8 22 AA5S PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 8 18 AA3eff This function sets the Host Watchdog Timeout Value gt Syntax AA3eff CHK cr A delimiter character AA The address of the module 01 only for PDS 3 The command used to read the Host Watchdog Timeout Value e 1 Enabled O Disabled ff The timeout value from 01 to FF the unit is 0 1 second gt Response Valid Command AA CHK cr Invalid Command AA CHK cr A syntax error or a Communication error will result in no response A delimiter for a valid command A delimiter for an invalid command AA The address of the module 01 only for PDS gt Example Command Response 010 10100 Read the
127. n 2015 Programmable Serial to Ethernet Device Server 4 5 2 Change Password To change a password of the Login Page follow the procedure described below Step 1 Click the Login tab at the PDS Misc Setup Page to proceed to the Login Page Login amp Misc Settings Current New Alias Name i Web Read Only PPDS 55 MTCP Misc Setup Page Step 2 Enter the password in the PASSWORD field use the default password admin and click the LOGIN button to proceed to the settings page PASSWORD ees LOGIN Default Password 3 X admin Step 3 Enter the new password in the Set New Password field Re enter the new password in PPDS 55 MTCP Login Page the Confirm new password field Step 4 Click the UPDATE button to update the password and then click the Logout to complete the operation Logout Q Misc Settings Current New Alias Name Po Web Read Only o IT 2 Set New Password licpdas Confirm New Password cps Restore to Factory Default Settings UPDATE Or PPDS 55 MTCP Misc Setup Page PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 4 5 3 Restore to Factory Default Settings Use the following procedure to reset all parameters to their original factory default settings Step 1 Click the Login
128. n Firmvare 03 2 30 May 13 2668 OS Version 2 2 15 Apr 29 2668 186EL LIB Yer 2 8 May 13 2668 tcp_dmg2 LIB Ver 1 280 Jan 21 Zu 9 3 20 SAVE This command is used to set the PDS to backup or no backup autoexec bat and vcom ini files when using load command Effect Immediate Command Arguments Description When the load command is used backup copies of the autoexec bat and vecom ini files will be saved 0 When the load command is used backup copies of the Default autoexec bat and vcom ini files will NOT be saved Refer to Figures 9 3 20 and 9 3 21 for detail illustrations PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 9 3 21 LOAD This command is used to loads file to the built in flash disk on PDS It should be used to update firmware only Effect Immediate Command Arguments Description The command is coordinated with the MiniOS7 load command A8 d and can be used to renew the vcom3230 exe vcom ini or autoexec bat file s x Load is not a Telnet command Figure 9 3 20 The following is an example of a Save 0 configuration 7188X W 1 36 COM1 115200 4 8 1 FC 0 C TSS DIR C Documents and Settings Ur pds P PAC 7186EsR_UDP gt dir Hiuch 22218 ewe 0571372008 11 16 67 8363901445 F 18662 6666 9447 Dt 1dautoexec bat 83 04 2008 11 26 82 18 66612 19449
129. network The user friendly VxComm Driver Utility allows users to easily turn the built in COM ports of the PDS series into standard COM ports on a PC By virtue of its protocol independence a small core OS and high flexibility the PDS series is able to meet the demands of every network enabled application The PDS series includes a powerful and reliable Xserver programming structure that allows you to design your robust Ethernet applications in one day The built in high performance MiniOS7 boots the PDS up in just one second and gives you fastest responses The PPDS M 700 PPDS M 700 MTCP and PPDS 700 IP67 series features true IEEE 802 3af compliant classification Class 1 Power over Ethernet PoE using a standard category 5 Ethernet cable to receive power from a PoE switch like the NS 205PSE The PPDS M 700 MTCP and PDS 5105D MTCP also works as a Modbus TCP to Modbus RTU gateway that supports most SCADA HMI communications based on the Modbus TCP protocol The PDSM 700 is the PDS 700 with Metal Case ROHS and the PPDSM 700 MTCP is the PPDS 700 MTCP with Metal Case ROHS Metal Case version includes stronger protection than PDS 700 and PPDS 700 MTCP The PPDS 700 IP67 is a special design for the toughest applications It can be directly mounted to any machine or convenient flat surface The rugged packaging and IP67 connectors are rated to protect against water oil dust vibration and much more PDS Series User Manual Vers
130. ngle echo mode the PDS echoes data from a device to the client that requested the service Sets the Halt Save Mode to enable If only one client connects to the PDS the operation mode same as MO mode and if there are two or more clients connecting to the PDS the operation mode same as M1 mode Figure 9 3 8 The following is an example of a M configuration sc T1888 W 1 36 C0M1 115200 N 8 1 FC0 C Is PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 9 3 9 EchoCmdNo This command is used to query or set the EchoCmdNo parameter The EchoCmdNo parameter is used to set whether the PDS prefixes the Virtual COM command to the corresponding response Virtual COM commands are used to configure a PDS through TCP port 10000 Effect Immediate Command Arguments Description EchoCmdNo Queries the EchoCmdNo settings If EchoCmdNo O a Virtual COM command number will not be prefixed to the corresponding response If EchoCmdNo 1 a Virtual COM command number will be prefixed to the corresponding response 7188W 1 36 C 0M1 115200 N 8 1 FC C T5 DIR C Documents and Setting s ra pds O coms230 gt echocmdno Ec hoGmdNo H com3230 gt echocmdno 1 Ec hoGmdNo i com3230 gt echocmdno Ec hoGmdNo H EchoCmdNo 0 EchoCmdNo 1 i IR ES o PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server
131. nnection Through the Ethernet DRRRRRR RR Be j E Client gt PDS 700 PLC g Zeg KR 1 7000 Z PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server The following are examples of pair connection tests Pair connection Settings Port Settings l l l default Pair connection Settings Baud Data Remote a Rate Format Server IP default Client PDS 700 1 Sech SS IP Address of Mode e g DS 712 PDS 700 2 Server PDS 700 2 9600 8N1 Mode e g PDS 782 The Baud Rate and Data Format settings of the client and server PDS 700 1 and 2 depend on the COM ports of the PC or the connected device Follow the procedure described below Step 1 Connecting to a network PC and Power 1 Confirm that the PDS series are functioning correctly Refer to Chapter 3 Setting up the PDS Series Module for more details 2 Connect COM1 of the PC to COM1 of the PDS 700 1 and then connect COM2 of the PC to COM1 of the PDS 700 2 For detailed RS 232 wiring information refer to Section 2 5 Wiring Notes 3 Supply power to the PDS series E Supply 24 Vpc 10 30 Vpc power to the PDS M 700 Series M Supply 24 Vpc 12 48 Voc power to the PPDS M 700 MTCP DS 700 PPDS 700 IP67 PDS 782 25 and PDS 5105D MTCP Series ee Refer to Figure 5 5 1 for an illustration of how to perform the above steps PDS Series User Manual Version 2 2 3 Jan 2015 Progr
132. o Ethernet Device Server Appendix B Frame Ground Electronic circuits are constantly vulnerable to Electro Static Discharge ESD which becomes worse in a continental climate area PDS series modules feature a new design for the frame ground which provides a path for bypassing ESD allowing enhanced static protection ESD capability and ensures that the module is more reliable It is recommended that the Frame Ground of the PDS series module is corrected to the earth ground such as the ground of an AC power supply to provide better ESD protection for the module The PDS 700 PPDS 700 MTCP DS 700 module is designed with two Frame Ground contact points Frame Ground A and Frame Ground B as shown in the figure below When mounted to a DIN rail Frame Ground B and the DIN rail are in contact Thus protection can be achieved by also connecting the DIN rail to earth ground Frame Ground P Frame Ground A Frame Ground PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server Appendix C Glossary 1 ARP Address Resolution Protocol The Address Resolution Protocol ARP is a telecommunication protocol that is used to convert an IP address to a physical address such as an Ethernet address Consider two machines A and B that share the same physical network Each has an assigned IP address IP and IPg and a MAC address MAC and MACs The goal is to devise a low leve
133. odels P PDS 700 IP67 Programmable Device Server RS 232 RS 485 DU DO Waterproof Protection RS 422 485 I Ge PPDS 741 IP67 3 RS 485 2 RS E PPDS 742 IP67 2 RS 485 PPDS 743 IP67 SE 1 RS 485 Note 1 IP67 version is equipped with IP67 case gt PDS 5105D MTCP Programmable Device Servers Models D MTCP eee PDS SCIT i RS 485 DI DO Programmable Device LED Modbus TCP RS 422 485 Server Display 1 RS 232 10 RS 485 PPDS 5105D MTCP Note 1 PPDS 5000 D MTCP supports PoE 2 port Switch and Modbus Gateway 2 D versions support 7 segment 5 digit LED display PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 1 2 Ethernet Solutions Nowadays the Ethernet protocol has become the foremost standard for local area networks Connectivity via the Internet is now common in many of the latest applications from home appliances to vending machines to testing equipment to UPS etc An Ethernet network can link office automation and industrial control networks access remote systems and share data and information between machines from multiple vendors and also provides a cost effective solution for industrial control networks NS 208 Industrial Ethernet Switching Hub PDS 821 PDS 790 PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 1
134. ons for models with DIO Supports Virtual I O technology for models with DIO Rugged RJ 45 Connector for anti vibration and shock for IP67 Versions Plastic Casing with IP67 Waterproof for IP67 Versions Supports IP filter White List for security control Supports multi client and data sharing function Palm size form factor with multiple serial ports and DIN Rail mounting RoHS Compliant amp no Halogen OEM ODM service is available VV VV VV VV VV VV VV VV VV VV VV WV NS 208 PC VxComm Ethernet PPDS 700 MTCP IP n PDS 700 IP 1 7000 01 7000 FF NS 205PSE ne COM254 Lees COM255 PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 2 3 Appearance 2 3 1 DS 700 PDS 700 D PPDS 700 D MTCP Description Description RJ 45 Jack for 10 100 M Ethernet and Frame Ground PoE Power over Ethernet for PPDS versions COM1 RS 232 Command Port DIN Rail Lock COM2 RS 485 DC Power Input Vs GND 7 Segment 5 digit LED display for D versions Init Normal Operating Mode Refer to refer to Section 2 8 Section 2 9 for detail information The number of serial COM Ports available DIN Rail Mounting Refer to Section 2 7 for depends on the type of PDS series Refer to detail information Section 2 4 for detail information Wiring information Robust Insulated and Fire retardant Case System LED indicator refer to Section 2 8 Frame Ground PDS Series User Manua
135. output is set to safe values gt Example Command Response 011201 gt Set the digital output of channel 2 to on Returns success gt Related Topics Section 8 10 AA Data Section 8 15 AAO Section 8 16 AAT PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 8 14 This function is used to let other modules know that the Host is OK gt Syntax CHK cr i A delimiter character a The command for all modules gt Response No response gt Example Command Response aa No response gt Related Topics Section 8 15 AAO Section 8 16 AA1 Section 8 17 AA2 Section 8 18 AA3eff Section 8 19 AA4P Section 8 20 AA4S Section 8 21 AA5P Section 8 22 AA5S PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 8 15 AAO The function reads the status of the Host Watchdog gt Syntax AAO CHK cr ge A delimiter character AA The address of the module 01 only for PDS 0 The command used to read the status of the module gt Response Valid Command AASS CHK cr Invalid Command AA CHK cr A syntax error or a Communication error will result in no response I A delimiter for a valid command A delimiter for an invalid command AA The address of the module 01 only for PDS SS The status of the module 00 The Host watchdog status has been cleared or no timeout occurred 04
136. ply the current settings checked when the UPDATE settings button is clicked the new settings will be valid immediately UPDATE Click this button to save the revised settings to the PDS series Note After configuring IP filter settings please confirm that the Save to EEPROM and Apply the current settings option are checked and then click the UPDATE button UPDATE PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 4 3 COM Port Settings The COM Port Settings section provides functions allowing items such as baud rate data format data transmission mode and pair connection settings etc to be configured SE PPDS 755 MTCP COM PORT Setup Page ee COM Port Settings saved in EEPROM COM 1 9600 8 N 1 FTL 1 DBDT 0 0 EndChar 00 MO ST 100 MAT 0 9600 8 N 1 FTL 1 DBDT 0 0 EndChar 00 MO ST 100 MAT 0 9600 8 N 1 FTL 1 DBDT 0 0 EndChar 00 MO ST 100 MAT 0 115200 8 N 1 FTL 1 DBDT 0 0 EndChar 00 MO ST 100 MAT 0 9600 8 N 1 FTL 1 DBDT 0 0 EndChar 00 MO ST 100 MAT 0 Misc Settings Currently Used COM Port Settings 9600 8 N 1 FTL 1 DBDT 0 3 EndChar 00 MO ST 200 MAT 0 9600 8 N 1 FTL 1 DBDT 0 3 EndChar 00 MO ST 200 MAT 0 9600 8 N 1 FTL 1
137. re 9 3 3 The following is an example of a SOCKET configuration z 7188 W 1 36 COM1 115200 N 8 1 FC 0 CTS 0 DIR C Documents and SettingsU r pds O comi2 3f gt socket L i6 LISTEH stat i Bi i6 LISTEN stat i H2 16 LISTEN stat 1 B3 i6 LISTEH stat i H4 16 LISTEN stat 1 45 16 LISTEM stat 1 H6 16 LISTEN stat 1 A 16 LISTEM stat 1 LAS 81 ESTABLISHED stat 1 L1i6 86 HOT_USED_ ZEIT stat 12 86 NOT_USED_YET stat 6 14 86 NHOT_USED YETIJ stat H 16 88 HOT_USED YET IJ stat H 18 88 HOT_USED_ YET 1 stat H 26 86 HOT_USED YET I stat H 22 8H NOT_USED_ YET stat 24 88 NOT_USED YET IJ stat H 26 88 HOT_USED YET I stat H 26 88 HOT_USED_ YET stat H 36 88 HOT_USED YET I stat H Socket Type LH 81 ESTABLISHED stat 1 11 84 HOT_USED YET I stat H i3 66 NOT_USED_YETI stat 6 15 84 NOT_USED YET I stat H i 7 84 HOT_USED YET I stat H 1i9 84 HOT_USED YET I stat H 21 84 HOT_USED YET I stat H Zi MOT USED YET stat 25 84 NOT_USED YET I stat H 2 7 84 HOT_USED YET I stat H 29 84 HOT_USED YET I stat H 31 84 HOT_USED YET I stat H L n ISTCP Server 186661 H11 TCP Server 16882 AZ ICF Server 106603 H31 TCP Server 16664 Al TGB Server 186665 HS 1 TCP Server LR H61 TCP Server 23 B7 ITCF Server 88 LAS 1 UDP 16H1 UnUsed 12 UnUsed 141 UnUsed 16 UnUsed 18 UnUsed L20 UnUsed 22 UnUsed 24 UnUsed
138. sceccesssnseeccsssnaneecesesnaeeseesesaeeeessesaaesessseaaeesessesaaeeseesesaeseeseesaes 23 Ee 24 Seeerei 25 2 4 WIEN E KE 26 2 4 1PDS 720 D PPDS 720 D MTCP ssssssccssssssscccssssnsccsessssscessesssssassensanssassensausaaseessusaesessenssaesensanscasesnsausaesesssauas 26 242POS M 721 D PPOS IW 72 1D MTOP oscri iiei weaca EEE aOR E cade ees ae aaa eens T 27 24 3 OS IW 732D PPDS EEN 28 KT ERT TEE TC e EE 29 2 4 5PDS M 742 D PPDS M 742 D MITCP ssssccccsssssscccsssssceccsssneeeecsesneesessesnaesecssesaseseesecauesessesaeesessenaeseessenaes 30 2 4 6PDS M 743 D PPDS W 74 3D AIT CP ia gasiatancansnoctceniadancab ions taniesuusibensdiganbedencabsions deanna sanetieeusntanbapausivnbdbeaasadon 31 2 47PDS M 752 0 PPOS M F 7A D MTEP eege SZ 24 OP OS M 759 D PPDS M 759 eege Ee eege 33 ZA OPDS MI 26G2010Dl ppDSIMl 2e2tDl MIR 24 2 4 10 PDS M 782 D PPDS M 782 D I te dE Ee Ee 35 2 4 11 EE 36 2 4 12 RE A E E E E emcee E alge eee ea ete tee saree aetna eae ee eee 37 PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 2 4 13 Ee 38 2 4 14 POSS TOS DMT EE 39 2 4 15 PFOS FOO Te R E E E 40 2 5 WIRING NOT re ete en E E E E 41 P e EECA GE 41 D2 Er PEN E E E E E 42 2 SaR AgS EN 42 EE EEN WINN O eri irena aE AE EEA EE EE OE EEA 43 AD ADUT AV EE 43 2 6 DMAE NTON oaaae E E E E E E 44 2 6 1PDS 700 D PPDS 700 D MTCP Series 44 2 6 2PDSM 700 D PPDSM 700 D MTOP Series 45
139. series modules By using VxComm technology programs that on the host PC support serial devices can be upgraded from a RS 485 network to an Ethernet network without requiring any modifications to the program Refer to section 6 1 for more information Built in DIO The DCON protocol is a request reply communication Protocol that is defined using a simple ASCII format such as SAAN SAASi6 AAN etc and is used to access PDS and I 7000 8000 87k series I O modules a Protoco The DCON protocol command set for the PDS is introduced in Chapter 7 Virtual O The protocol allows access the built in I O through the virtual COM Ports mapped to the Port I O of the PDS in the VxComm Utility PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 5 3 Linking I 7000 to an Ethernet Network The l 7000 family was originally designed for use with an RS 485 network They are very robust and work well under the harsh industrial environments The PDS enables l 7000 modules to be upgraded to an Ethernet solution Linking l 7000 modules to an Ethernet combines the advantages of both RS 485 and Ethernet solutions and expands RS 485 applications to the whole world The VxComm approach provides an MS COMM compatible interface Therefore previously developed programs should still function without the need for any modifications 5 4 Configurable Ethernet Da
140. st is success a Figure 6 1 7 k D ez MBICP Fer 1 1 5 p 0091 Port 502 FC Read multiple coils status Oxxxx for DO Prefixed 6 bytes for Modbus TCP protocol Byte 0 Transaction identifier copied by server usually 0 Byte 1 Transaction identifier copied by server usually 0 Byte 2 Protocol identifier 0 Byte 3 Protocol identifier 0 Byte 4 Field Length upper boer Connect Disconnect M Data Log Statistice Polling Mode No Waiting Diference Start Stop Commands in Packet gt Responses z ae Total Packet Size Bytes 0 Lee EE EE Packet Quantity Sent Packet Quantity Be Timer Mode Fixed Period o P Polling or Timer Mode Date Time Interval 100 ms Set n Start Time Start Time Start Stop Stop Time CO StopTme O Byte0 Duell Byte2 Byte3 Byte4 Byte5 120006 4400040 Send Command f Byten Duell Bptez Bytes Bytet Bpte5 120006 24000 40 F EELER Send Command Gute Bytel Byte Bytes opicu OPE Oye Iowa ont Oyu 01 02 00 00 00 06 gt 02 01 00 00 00 40 PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 6 2 Access Modbus Device via Virtual COM Ports If you want to use Modbus RTU command to access the Modbus device through Virtual COM Ports you can refer to below steps Step 1 Configuring COM Ports for Virtual COM 1 Enter the URL
141. suitable for the PPDS M 700 D MTCP PDS 5105D MTCP and PPDS 700 IP67 What is Modbus TCP IP Modbus is a communication protocol developed by Modicon in 1979 You can also visit http www modbus org to find more valuable information The Different versions of Modbus used today include Modbus RTU based on serial communication interfaces such as RS485 and RS232 Modbus ASCII and Modbus TCP which is the Modbus RTU protocol embedded into TCP packets Modbus TCP is an internet protocol The protocol embeds a Modbus frame into a TCP frame so that a connection oriented approach is obtained thereby making it reliable The master queries the slave and the slave responds with the reply The protocol is open and hence highly scalable 10 1 Modbus Message Structure Modbus devices communicate using a master slave client server technique in which only one device the master client can initiate transactions called queries The other devices slaves servers respond by supplying the requested data to the master or by taking the action requested in the query A query from a master will consist of a slave address or broadcast address a function code defining the requested action any required data and an error checking field A response from a slave consists of fields confirming the action taken any data to be returned and an error checking field Modbus TCP Message Structure Byte 00 05 Byte 06 11 6 byte header RTU Data
142. t and doesn t support command port 10000 refer to the following to configure pair connection function DS 12 Remote Vcom3 connection Setup Page Add COM LAL H LJ Delete ALL Dott 10001 fale ha alae i ThA ied c ports default 10000 MODBUS gateway O RTU AW connect to IP 10 0 8 200 Select Add COM and type in the COM port of the Save to EEPROM C Reload from EEPROM PDS 700 1 Client which you want to use Type the _ submit appropriate IP address and TCP Port of the PDS 700 2 Server settings in the relevant fields for example IP 10 0 8 200 and port 10001 Figure gt gt Check the Save to EEPROM option and click submit button to update configuration 8 Check the Local COM Port Remote COM port area for pair connection setting 9 Reboot PDS 700 1 Client and then setting is complete DS 12 Remote Vcom3 connection Setup Pad Local COM port Remote COM port 0 COM 1 lt gt COM 1 IP 10 0 8 200 cmd port 10000 _ Add COM connecttoCOM IP emd port default 1 o AddCOM connect to IP port O MODBUS gateway RTL Delette Delete AG l Save to EEPROM C Reload from EEPROM submit Figure 5 5 8 PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server Step 4 Configuring the Pair conne
143. ta Logger Using the VxComm driver PDS 7000 modules can be virtualized to become COM Port 7000 modules located on the host PC and then the Data Logger in the DCON Utility can be used to access data of I 7000 from the Ethernet Signal data originating from the l 7000 modules can be analyzed using MS Excel without the need to write any custom programs 1 The DCON utility includes a log function as show below Di DCON_UTILITY YER450 Searching for 1 7000 0000 Modules File COM Port Search ZO Texoinal Help a lgl stat 0 Ena 255 Module Address Baudiate Checksum Format 1 Status Descriptio PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 2 Configure the system connection as shown below and click the Start button to begin logging data Log Config C CPDAS DCON_Utility contig Log_Conigtt Brows Browse View Log Report ic ICPDAS DCON_Utilityreport Log_Reportta Browse View Total 120 commands 0 WV CountError F Logerroronty Error Counter start Exit V LogToFile e Summation 0 Sg EO Microsoft Excel reportlog 3 Open the log file in MS Excel i oe cae ew inser Ee Tools E Window Hel to view the log data as shown in the example below A 2 2 2 2 2 2 l 2 9600 0 010 gt 4000 00 gt H00 71 1000 36 3 2 9600 SI gt H00 00 AUDE 1000 14 36 10 1 2 9600 010 2400 00 gt 000 57 10
144. the system information described in Section 2 8 Step 2 Install the VxComm Utility The VxComm Utility can be obtained from either the companion CD ROM the ICP DAS FTP site or the ICP DAS web site The location of the install files on the CD and the download addresses are shown below CD NAPDOS Driver VxComm_ Driver 2k http ftp icodas com pub cd 8000cd napdos driver vxcomm driver 2 IK PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server Step 3 Search for the PDS series on the Ethernet network 1 Open the VxComm Utility and then click the Search Servers button to search for the PDS series 2 Once the search process is complete double click the name of the PDS series to open the Configure Server dialog box ix xComm Utility v2 9 5 Nov 13 2008 File Server Port Tools J driver amp utility Configure Server Configure Port xComm Servers Port Virtual COM Baudrate button to search for your PDS ENgeonsuraon Name Alias IP Address Sub net Mask Gateway MAC Address DH ih Search Servers ET 042 NA 10 0 8 193 255 255 255 0 10 08 254 00 0d e0 d0 25 2f OF Configure Server UDP Click the Search Severs Double click the name of your PDS PDS f62 WJA 192 168 255 1 255 255 255 0 192 168 0 1 O0 0d e0 20 00 0 ET 7051 NA 10 0 6 194 255 255 255
145. thernet Device Server 8 IP Internet Protocol Address Each interface on the Internet must have a unique IP address also called an Internet address These addresses are 32 bit numbers and are normally written as four decimal numbers one for each byte of the address for example 192 168 41 1 This is called dotted decimal notation 9 MAC Media Access Control Address To allow a computer to determine which packets are meant for it each device attached to an Ethernet network is assigned a 48 bit integer known as its MAC address also called the Ethernet address the hardware address or the physical address A MAC address is normally written as eight hexadecimal numbers for example 00 71 88 af 12 3e 0f 01 Ethernet hardware manufacturers purchase blocks of MAC addresses and assign them in sequence as they manufacture Ethernet interface hardware Thus no two hardware interfaces can have the same MAC address 10 Packet A packet is the unit of data sent across a physical network It consists of a series of bits containing data and control information including the source and the destination node host address and is formatted for transmission from one node to another 11 Ping Ping is a network administration utility used to test the whether a host on an Internet network is active and to measure the round trip time for messages sent from the originating host to a destination computer Ping operates by sending an IC
146. tility 2 12 09 Jun 24 2014 File Server Fort Tools iG Adding Servers b IF Range Server Options Port Options Y xComm Se Server Information Server Name PDS 821 1 00 Iw Get name automatically IP Range Start 10 0 8 200 Skip wf IP Range End 10 0 8 200 Where remote Ser alone part of aur E Add Server s A Hemove Server Assign a COM Port number Web Includes the following special IF dch Search Servers M O Net iv 254 Gateway Aroadcas Name Ais Configuration UDP iDS 720 iDS Virtual COM and UO Port Mapgings PDS f82 NJA COM Por ings of servers V0 on servers OF Cancel PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server port mappings on the PC 3 Click on PDS series name or slot that your module plugged in and then check the virtual COM m Utility 72 12 09 Jon 24 2014 e Check COM Port x er Port Tools JO Configure Server Configure Port OE EMN Virtual COM Baudrate Port UO Reserved H A Port 1 COM Dynamic Port 2 COM3 Dynamic ort 3 COMA Dynamic ort 4 COMS Dynamic Port 5 COMB Dynamic Port 6 COM Dynamic Port COMB Dynamic Port 6 COM9 Dynamic Ps YxComm Servers PDS 782 me l em utility ff Name _ Alias IP Address Sub netMask Gateway MAC Address iDS 720 IDS 700 10 0 8 55 255 255 255 0 10 0 8 254 00 18 30 FC 74 65 Ex
147. ting the PDS for loading new configuration includes default password PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 5 Typical Applications 5 1 Virtual COM Application The PDS series is designed to link RS 232 422 485 devices to an Ethernet network The VxComm utility allows the built in PDS series COM Port to be virtualized to a standard COM Port of a host PC as shown below Hub Ethernet 10 ti EE tee COM1 PDS 700 mappec irs of the PDS is to COMS 6 of a DEE COM DDS 700 mappe OP A ZOU 01 FOOD ett COM 255 COM 256 ZOU 01 FOOD F F In the configuration above Meter 1 is virtualized to link to COM3 of the host PC Therefore a program originally designed for the MS COMM standard can access the meter without the need for any modification PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 5 2 Ethernet I O Applications The PDS series provides 2 types of Ethernet I O solutions gt Linking to l 7000 series modules gt Built in DIO if the module supports the DIO function Linking to I 7000 series modules The l 7000 series provides a variety of UO operations such as D I D O A D D A Counter and Frequency Measurement etc The l 7000 series was originally designed to be used with RS 485 networks so COM2 on the PDS 700 can be used to link to I 7000
148. tion Serial COM Ports Refer to Section 2 4 14 for detail information Wiring information Robust Insulated and Fire retardant Case Ethernet and System LED indicator 7 Segment 5 digit LED display for D versions refer to Section 2 8 PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 2 4 Pin Assignments 2 4 1 PDS 720 D PPDS 720 D MTCP Terminal Pin No Assignment Link Act Fi 10 100M UI CTSi 02 RITS1 03 RxDi 04 TxD1 05 INIT 06 D2 07 D2 e 08 R Vs o H 09 on PoE 01 09 Initialization pin for enabling disabling AUTOEXEC BAT V Pin for the power supply PDS 700 D series 10 30 Vpc unregulated PPDS 700 D MTCP series 12 48 Vpc unregulated GND Pin for the power supply COM1 GND PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server Terminal Pin Terminal Pin No Assignment No Assignment 23 DIO 2 DIi Ei d 21 DI 20 DIS 10 100 i9 Dia DI CTS 16 DIS 02 RTS COMI 17 DO PWR 03 RxDi 16 DOO 04 TxD1 15 DOi 05 INIT i4 po com 06 D2 S 13 DOB 07 D2 12 DO4 08 R 4Vs 11 DOS 09 B GND 10 DO6 E1 t D PoE 01 09 INIT Initialization pin for enabling disabling AUTOEXEC BAT V Pin for the power supply R Vs PDS M 700 D series 10 30 Vpc unregulated PPDS M 700 D MTCP series 12 48 Vpc unregulated B GND GND Pin for the power supply
149. ts you to configure virtual COM mappings again and again Effect Immediate Command Arguments Description DHCP 0 Disables the DHCP client DHCP 1 Enables the DHCP client Figure 9 3 17 The following is an example of a DHCP configuration T1882 W136 COM1 115200 8 9 1 FC 0 C T3 Vcom3236 gt dhep Ucom3236 gt dhc p 8 DHCP 6 PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 9 3 18 UDP This command is used to configure the UDP Search function UDP is used to set the action mode for when a PDS receives a UDP search command Effect Immediate Command Arguments Description Rejects UDP search commands The PDS will not reply to the UDP search command and can not be searched again Replies to UDP search commands The PDS controller will reply to the UDP search command and can be searched Replies to UDP search commands till a client is connected PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 9 3 19 VER This command is used to query the version information for a PDS Effect Setting the version information is not allowed Command Arguments Description VER Queries the version information Figure 9 3 19 The following is an example of a VER configuration T1884 A 1 36 C0M1 115200 N 8 1 FC CTS DIR Document and Settings s r OT E O comz IR Aue
150. ues a digital output command to the module to change the output value such as AA Data or AABBDD the module will respond success receive gt gt Latch Digital Input If for example the user connects a key switch to the digital input channel and wants to read the keystrokes the key input is a digital input pulse and the keystroke will be lost By using command SAA6 to read the A and B positions the response would be that there was A B no keystroke and the keystroke information will be lost The read latch low digital input command SAALO will solve this problem When issuing a SAALO command at the A and B positions the response will denote that there is a low pulse between A and B position signifying a keystroke PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 9 Console Telnet Commands List 9 1 Operation Flowchart See Om SSS PDS Power OFF Short Init and GND pins Open Init pin PDS Power ON PDS Power ON Normal Mode for MiniOS7 Commands for Virtual COM applications for Downloading Firmware Run Firmware vc6_3230 autoexec Short Init and GND pins Open Init pin PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 9 2 Comparison Sheet Init Run and Console Modes VCOM Telnet Console en Stop No No No Init Init Mode is used to upgrade firmware and accepts
151. ystemt imeout 46068 System imeout 40000 coms230 gt s ystemt imeout H Systemi imeout H coms23H gt PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 9 3 7 SocketTimeout This command is used to query or set the SocketTimeout parameter If the SocketTimeout is greater than zero and the PDS does not receive any data from a client PC for longer than the SocketTimeout period the PDS will close the socket connection between itself and the client PC Effect Immediate Command Arguments Description SocketTimeout Queries the SocketTimeout settings SocketTimeout nnnnn Sets the SocketTimeout Unit ms Default 0 disable Min 10000 Figure 9 3 7 The following is an example of a SocketTimeout configuration oc TL88 W 1 36 C0M1 115200 N 8 1 FC0 C I5 DIRS Ucom3238 gt s0ockettimeout SocketIimeout A Ucom3230 gt sockettimeout 20006 Socket Timeout 26066 Ucom3238 gt sockettimeout A SocketT imeout PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 9 3 8 M This command is used to query or set the echo mode Effect Immediate Command M Arguments Description Queries the echo mode settings Sets the Multi echo mode to enable When set to multi echo mode the PDS echoes data from a device to all clients that are connected Sets the Single echo mode to enable When set to si
152. ytes of data the Open field from 10 0 8 246 bytes 32 time ims Click the OK button to open a from 16 86 8 246 hytes 32 timetims Command Prompt window from 10 0 8 246 bytes 32 timexims from 10 0 8 246 bytes 32 time lt ims The ping results should be smooth from 10 0 8 246 bytes 32 timexims from 10 0 8 246 bytes 32 timexims from 10 0 8 246 bytes 32 timexims from 10 0 8 246 bytes 32 time lt ims from 10 0 8 246 bytes 32 timexims from 10 0 8 246 bytes 32 timexims and continuous PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial to Ethernet Device Server 192 168 255 1 is the default IP of the PDS The IP address can be changed using the instructions in step 8 If the PDS cannot be successfully pinged from the PC refer to step 8 to change the configuration of the PDS The mask and gateway addresses of PDS controller and the PC should make the network definition The MAC address of the PDS should be unique on the same network Refer to step 8 for details of how to change the MAC address of the PDS Each PDS MAC address is unique in the default shipping In general if the host PC can ping the PDS smoothly and continuously all other software and drivers for the PDS will operate correctly Therefore users should ensure that the development PC is able to ping the PDS smoothly before any further testing is carried out PDS Series User Manual Version 2 2 3 Jan 2015 Programmable Serial t
Download Pdf Manuals
Related Search
Related Contents
Microprocessor controlled security system for computers Manual de Instalação, Operação e Manutenção Manuel d`utilisateur AN11027 Using the LPC1100 low power modes and wake Catler FP 8010 food processor Planar Systems LUX80 ERO GC2014 Copyright © All rights reserved.
Failed to retrieve file