background image

 

                                                      

 PDS Series User Manual ( V1.4, Oct. 2009) -----  130 

8.12.

 

#AA00dd 

 

Description: This function sets the multi-channel Output 

Syntax: #AA00dd[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 

 

Response: Valid Command:   

>[CHK](cr) 

 

     Invalid Command: 

?[CHK](cr) 

 

     Ignored Command: 

![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 

!  A delimiter for an ignore command, meaning that the module is in Host Watchdog 

Timeout Mode, and the output is set to safe values 

 

Example

Command 

Response 

#01000F 

Set the digital output of channel 3 to 0 as on. Returns success. 

#010005 

Set  the  digital  output  of  channel  0  and  2  as  on.  Returns  that  the  module  is  in  Host 

Watchdog Timeout Mode, and the output was been set to safe values. 

Related Commands

Sec7.10  @AA(Data), Sec.7.15  ~AA0, Sec.7.16  ~AA1

Содержание PDS-700 Series

Страница 1: ...regarding defective materials for a period of one year starting from the date of delivery to the original purchaser Warning ICP DAS assumes no liability for damages resulting from the use of this pro...

Страница 2: ...3 2 SPECIFICATIONS 17 3 3 PDS COMPARISON TABLE 25 3 4 PIN ASSIGNMENTS 29 3 5 PDS WIRING CONNECTIONS 63 3 6 DIMENSIONS AND MOUNTING 65 3 7 PDS SERIES DIAGNOSTICS 70 4 SETTING UP THE PDS MODULE 74 5 CON...

Страница 3: ...0DD 130 8 13 AA1NDD 131 8 14 132 8 15 AA0 133 8 16 AA1 134 8 17 AA2 135 8 18 AA3EFF 136 8 19 AA4P 138 8 20 AA4S 139 8 21 AA5P 140 8 22 AA5S 141 8 23 APPLICATION NOTES 142 9 CONSOLE TELNET COMMANDS LIS...

Страница 4: ...THAT LARGER THAN COM 9 BY CALLING CREATEFILE WIN32 API 182 3 DOES VXCOMM DRIVER PC V2 00 WORK WITH VXCOMM SERVER V2 6 00 183 4 DOES VXCOMM DRIVER PC SUPPORT AUTO RECONNECTION AFTER FIXING A NETWORK B...

Страница 5: ...the shipping materials and cartons in case you want to ship in the future More Information Documentations CD Napdos PDS PDS 700 Document http ftp icpdas com pub cd 8000cd napdos pds pds 700 document V...

Страница 6: ...rful 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 700 up in just one second and...

Страница 7: ...the Internet connectivity is occurring everywhere from home appliances to vending machines to testing equipment to UPS etc An Ethernet network can link office automation and industrial control network...

Страница 8: ...M port communication system was built many years ago As a result a new technology VxComm was developed to virtualize the COM ports of the PDS to allow up to 256 COM Ports to be used on the central com...

Страница 9: ...mm driver controls all the details of the Ethernet TCP IP programming technique your COM port program will be able to access your serial devices through Ethernet in the same way as through COM port wi...

Страница 10: ...bles configuration of the PDS via a standard web browser interface e g Internet Explorer FireFox or Mozilla etc This means that it is easy to check the configuration of the PDS via an Ethernet network...

Страница 11: ...llows the built in PDS COM Port to be virtualized to a standard COM Port of the host PC as shown below In the configuration above Meter 1 is virtualized to link to COM3 of the host PC Therefore a prog...

Страница 12: ...used to link to I 7000 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...

Страница 13: ...85 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 2 4...

Страница 14: ...s User Manual V1 4 Oct 2009 14 2 Configure the system connection as shown below and click the Start button to begin logging data 3 Open the log file in Excel to read the log data as shown in the examp...

Страница 15: ...n conjunction with the VxComm technology the signal data of I 7000 modules from the Ethernet network can be analyzed without the need to write custom programs For more information about the log functi...

Страница 16: ...liant with no Halogen Built in High Performance MiniOS7 from ICP DAS 10 100 Base TX Ethernet RJ 45 Port Auto negotiating auto MDI MDI X LED indicator ODM Service Is Available Low power consumption Pal...

Страница 17: ...hernet 10 100 Base TX RJ 45 port Auto negotiating auto MDI MDI X LED indicator PoE IEEE 802 3af COM Port Formats Data Bit 7 8 for COM1 and COM2 5 6 7 8 for COM3 COM4 Parity None Even Odd Mark Space St...

Страница 18: ...pe Open Collector Sink NPN Load Voltage 30 VDC max Load Current 100mA max Isolated Voltage Non isolated Digital Input Input Type Source Dry Type Common Ground Off Voltage Level 1 V max On Voltage Leve...

Страница 19: ...Erase unit is one sector 64 KB 1000 000 erase write cycles EEPROM 16 KB Data retention 40 years 1 000 000 erase write cycles Built in Watchdog Timer Yes Communication Interface Models DS 712 PPDS 712...

Страница 20: ...ed COM2 RS 485 D2 D2 GND Ethernet 10 100 Base TX RJ 45 port Auto negotiating auto MDI MDI X LED indicator PoE IEEE 802 3af COM Port Formats Data Bit 7 8 for COM1 and COM2 5 6 7 8 for COM3 COM4 Parity...

Страница 21: ...easy mounting COM2 RS 485 Wiring information COM1 RS 232 RJ 45 Jack for 10 100M Ethernet and PoE IEEE 802 3af Class 1 LED Indicator Wiring information DI DO Channels Removable Terminal Block for easy...

Страница 22: ...Oct 2009 22 Frame Ground RoHS Compliance for PCB device CE Certification for PCB device Frame Ground DIN Rail Mounting Robust insulated and fire retardant case DIN Rail Lock Initial Mode Switch PDS 7...

Страница 23: ...information RJ 45 Jack for 10 100M Ethernet LED Indicator Robust insulated and fire retardant case Wiring information Serial Ports Robust insulated and fire retardant case COM1 RS 422 485 LED Indicat...

Страница 24: ...ck for easy wiring Serial Ports 7 Segment LED Wiring information COM2 RS 485 COM1 RS 232 RJ 45 Jack for 10 100M Ethernet and PoE IEEE 802 3af Class 1 Robust insulated and fire retardant Metal case LED...

Страница 25: ...4 4 5 wire RS 232 2 wire RS 485 3 wire RS 232 3 wire RS 232 Yes PDS 752 D PDSM 752 D 5 wire RS 232 2 wire RS 485 5 wire RS 232 5 wire RS 232 5 wire RS 232 Yes PDS 755 D PDSM 755 D 5 wire RS 232 2 wire...

Страница 26: ...0 Series Non Programmable Device Servers Model DI DO COM1 COM2 COM3 COM4 COM5 COM6 COM7 COM8 DS 712 5 wire RS 232 DS 715 2 wire RS 485 4 wire RS 422 2 wire RS 485 Data Data with Self Tuner inside 4 wi...

Страница 27: ...Yes PPDS 742 D MTCP PPDSM 742 D MTCP 5 wire RS 232 2 wire RS 485 5 wire RS 232 9 wire RS 232 Yes PPDS 743 D MTCP PPDSM 743 D MTCP 4 4 5 wire RS 232 2 wire RS 485 3 wire RS 232 3 wire RS 232 Yes PPDS 7...

Страница 28: ...OM3 COM4 IP67 PPDS 741 IP67 10 100 M PoE 5 wire RS 232 2 wire RS 485 2 wire RS 485 2 wire RS 485 Yes PPDS 742 IP67 10 100 M PoE 5 wire RS 232 2 wire RS 485 5 wire RS 232 2 wire RS 485 Yes PPDS 743 IP6...

Страница 29: ...PDS Series User Manual V1 4 Oct 2009 29 Only D version modules have a 5 digit 7 SEG LED 3 4 Pin Assignments Pin Assignments for PDS 720 D PPDS 720 D MTCP models...

Страница 30: ...3 RXD1 RXD pin 4 TXD1 COM1 RS 232 TXD pin 5 INIT Initialization pin for enabling disabling AUTOEXEC BAT 6 D2 Data pin 7 D2 COM2 RS 485 Data pin 8 VS V Pin for the power supply 10 30 VDC unregulated 9...

Страница 31: ...PDS Series User Manual V1 4 Oct 2009 31 Only D version modules have a 5 digit 7 SEG LED PDS 721 D PPDS 721 D MTCP Pin Assignments...

Страница 32: ...PDS Series User Manual V1 4 Oct 2009 32 PDSM 721 D PPDSM 721 D MTCP Pin Assignments Only D version modules have a 5 digit 7 SEG LED...

Страница 33: ...Digital Output channel 6 11 DO5 Digital Output channel 5 12 DO4 Digital Output channel 4 13 DO3 Digital Output channel 3 14 DO2 Digital Output channel 2 15 DO1 Digital Output channel 1 16 DO0 Digital...

Страница 34: ...PDS Series User Manual V1 4 Oct 2009 34 Only D version modules have a 5 digit 7 SEG LED PDS 732 D PPDS 732 D MTCP Pin Assignments...

Страница 35: ...PDS Series User Manual V1 4 Oct 2009 35 PDSM 732 D PPDSM 732 D MTCP Pin Assignment Only D version modules have a 5 digit 7 SEG LED...

Страница 36: ...y COM1 GND 10 CTS3 CTS pin 11 RTS3 RTS pin 12 TXD3 TXD pin 13 RXD3 COM3 RS 232 RXD pin 14 DI0 Digital Input channel 0 15 DI1 Digital Input channel 1 16 DI2 Digital Input channel 2 17 DI3 Digital Input...

Страница 37: ...PDS Series User Manual V1 4 Oct 2009 37 Only D version modules have a 5 digit 7 SEG LED PDS 734 D PPDS 734 D MTCP Pin Assignments...

Страница 38: ...PDS Series User Manual V1 4 Oct 2009 38 PDSM 734 D PPDSM 734 D MTCP Pin Assignments Only D version modules have a 5 digit 7 SEG LED...

Страница 39: ...COM3 RS 422 RS 485 TXD pin 11 TXD3 COM3 RS 422 RS 485 TXD pin 12 RXD3 COM3 RS 422 RXD pin 13 RXD3 COM3 RS 422 RXD pin 14 DI0 Digital Input channel 0 15 DI1 Digital Input channel 1 16 DI2 Digital Input...

Страница 40: ...PDS Series User Manual V1 4 Oct 2009 40 PDS 742 D PPDS 742 D MTCP Pin Assignments Only D version modules have a 5 digit 7 SEG LED...

Страница 41: ...PDS Series User Manual V1 4 Oct 2009 41 PDSM 742 D PPDSM 742 D MTCP Pin Assignments Only D version modules have a 5 digit 7 SEG LED...

Страница 42: ...5 Data pin 8 VS V pin for the power supply 10 30 VDC unregulated 9 GND GND pin for the power supply COM1 GND 10 CTS3 CTS pin 11 RTS3 RTS pin 12 TXD3 TXD pin 13 RXD3 RXD pin 14 GND3 COM3 RS 232 GND pin...

Страница 43: ...PDS Series User Manual V1 4 Oct 2009 43 Only D version modules have a 5 digit 7 SEG LED PDS 743 D PPDS 743 D MTCP Pin Assignments...

Страница 44: ...PDS Series User Manual V1 4 Oct 2009 44 PDSM 743 D PPDSM 743 D MTCP Pin Assignments Only D version modules have a 5 digit 7 SEG LED...

Страница 45: ...D 10 RXD4 RXD pin 11 TXD4 COM4 RS 232 TXD pin 12 RXD3 RXD pin 13 TXD3 COM3 RS 232 TXD pin 14 DI0 Digital Input channel 0 15 DI1 Digital Input channel 1 16 DI2 Digital Input channel 2 17 DI3 Digital In...

Страница 46: ...PDS Series User Manual V1 4 Oct 2009 46 Only D version modules have a 5 digit 7 SEG LED PDS 752 D PPDS 752 D MTCP Pin Assignments...

Страница 47: ...PDS Series User Manual V1 4 Oct 2009 47 PDSM 752 D PPDSM 752 D MTCP Pin Assignment Only D version modules have a 5 digit 7 SEG LED...

Страница 48: ...or the power supply 10 30 VDC unregulated 9 GND GND pin for the power supply COM1 GND 10 CTS3 CTS pin 11 RTS3 RTS pin 12 TXD3 TXD pin 13 RXD3 COM3 RS 232 RXD pin 14 GND COM3 COM4 GND pin RS 232 15 CTS...

Страница 49: ...PDS Series User Manual V1 4 Oct 2009 49 Only D version modules have a 5 digit 7 SEG LED PDS 755 D PPDS 755 D MTCP Pin Assignments...

Страница 50: ...PDS Series User Manual V1 4 Oct 2009 50 PDSM 755 D PPDSM 755 D MTCP Pin Assignments Only D version modules have a 5 digit 7 SEG LED...

Страница 51: ...AT 6 D2 Data pin 7 D2 COM2 RS 485 Data pin 8 VS V pin for the power supply 10 30 VDC unregulated 9 GND GND pin for the power supply COM1 GND 10 D3 Data pin 11 D3 COM3 RS 485 Data pin 12 N C 13 N C 14...

Страница 52: ...PDS Series User Manual V1 4 Oct 2009 52 Only D version modules have a 5 digit 7 SEG LED PDS 762 D PPDS 762 D MTCP Pin Assignments...

Страница 53: ...PDS Series User Manual V1 4 Oct 2009 53 PDSM 762 D PPDSM 762 D MTCP Pin Assignments Only D version modules have a 5 digit 7 SEG LED...

Страница 54: ...D GND pin for the power supply COM1 GND 10 RXD3 RXD pin 11 TXD3 TXD pin 12 RXD4 RXD pin 13 TXD4 COM3 RS 232 TXD pin 14 GND GND pin for COM3 COM4 15 RXD5 RXD pin 16 TXD5 COM5 RS 232 TXD pin 17 RXD6 RXD...

Страница 55: ...PDS Series User Manual V1 4 Oct 2009 55 Only D version modules have a 5 digit 7 SEG LED PDS 782 D PPDS 782 D Pin Assignments...

Страница 56: ...PDS Series User Manual V1 4 Oct 2009 56 PDSM 782 D PPDSM 782 D Pin Assignments...

Страница 57: ...0 30 VDC unregulated 9 GND GND pin for the power supply COM1 GND 10 RXD3 RXD pin 11 TXD3 COM3 RS 232 TXD pin 12 RXD4 RXD pin 13 TXD4 COM4 RS 232 TXD pin 14 GND COM3 COM4 COM5 COM6 GND pin 15 RXD5 RXD...

Страница 58: ...PDS Series User Manual V1 4 Oct 2009 58 PDS 700 IP67...

Страница 59: ...PDS Series User Manual V1 4 Oct 2009 59...

Страница 60: ...PDS Series User Manual V1 4 Oct 2009 60...

Страница 61: ...PDS Series User Manual V1 4 Oct 2009 61 DS 712 PPDS 712 MTCP Pin Assignments E1 10 100 Base TX...

Страница 62: ...PDS Series User Manual V1 4 Oct 2009 62 DS 715 PPDS 715 MTCP Pin Assignments E1 10 100 Base TX...

Страница 63: ...PDS Series User Manual V1 4 Oct 2009 63 3 5 PDS Wiring Connections COM1 The COM1 GND signal is shared with pin9 GND Digital Input...

Страница 64: ...PDS Series User Manual V1 4 Oct 2009 64 Digital Output...

Страница 65: ...PDS Series User Manual V1 4 Oct 2009 65 PDS 700 PPDS 700 MTCP 3 6 Dimensions and Mounting q Unit mm Bottom View Front View Din Rail Mounting Bracket Side View Top View Back View...

Страница 66: ...PDS Series User Manual V1 4 Oct 2009 66 PDSM 700 PPDSM 700 MTCP...

Страница 67: ...PDS Series User Manual V1 4 Oct 2009 67 PPDS 700 IP67...

Страница 68: ...PDS Series User Manual V1 4 Oct 2009 68...

Страница 69: ...PDS Series User Manual V1 4 Oct 2009 69 Din Rail Mounting Stack Mounting...

Страница 70: ...8n1 2 712 COM2 data 7 even parity stop 2 COM1 data 8 no parity Stop 1 44444 1 26 00 Connected clients and debugging information 10000 33333 2 0000 3 00 00 4 00 00 5 00 01 8 821 3 7 PDS series Diagnos...

Страница 71: ...initially display the Group ID and 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...

Страница 72: ...display indicates how many Ethernet packets are currently being received by the PDS When LED 1 is 4 the display indicates that the status of the internal Flag used to allow Ethernet packets to be sent...

Страница 73: ...e check the configuration Step 3 The red LED on the PDS is used to indicate the following ON OFF Unit 0 5 second OS M0 M1 M2 The PDS contains either Xserver or VxComm as default when shipped that is i...

Страница 74: ...and the Ethernet connection is functioning normally 4 Disable or correctly configure the Windows firewall and any Anti Virus software firewall first or else the Search Servers function in the VxComm U...

Страница 75: ...puter to the same sub network or the same Ethernet Switch Short the RXD1 and TXD1 pins of the PDS series module for execute a self test Supply 24 VDC 10 30 VDC power to the PDS W 700 module Supply 24...

Страница 76: ...for the PDS series module on the Ethernet network 1 Execute the VxComm Utility and then search for your PDS series module 2 Double click the name of the PDS to open the configuration settings dialog b...

Страница 77: ...figuring Virtual COM Ports 1 Click the Search Servers button again to search for your PDS series module to make sure that the new IP Mask Gateway settings have been saved then click the name of your P...

Страница 78: ...2009 78 Click the Restart Driver button to start the driver 3 Check the Virtual COM port numbers on the PC 5 Click Restart Driver from the Tools menu and then click the Restart Driver button to start...

Страница 79: ...XD1 of the PDS series module as shown in the diagram in Step1 2 Right click Port 1 and then choose the Open COM Port option 3 Check that the configuration of the COM Port is correct and then click the...

Страница 80: ...the send button If a response is received it will be displayed in the received field 5 If the test is successful the COM port program will be able to work directly by setting the Virtual COM Port num...

Страница 81: ...e PDS series module has been correctly configured and is networking normally the configuration details can be retrieved or amended using either the VxComm Utility or a standard web browser such as IE...

Страница 82: ...PDS Series User Manual V1 4 Oct 2009 82 When the browser connects to the PDS the first page that will be display is the Firmware Information page 5 2 Network Settings...

Страница 83: ...P Search 0 disabled 1 always enabled 2 enable the UDP Search function until another client is connected Default 2 By keeping the UDP search setting as 2 the PDS loading will be reduced The VxComm Util...

Страница 84: ...unit ms on Console Telnet command and is the same as STxxx in command line parameter unit seconds When user uses config RESET Console Telnet command to clear the EEPROM the Network WDT timeout SystemT...

Страница 85: ...s IP address is included in the filter table are able to connect to the PDS series module Set IP1 IP2 set a range of IP address as a starting and ending point The setting allows clients who s IP addr...

Страница 86: ...PDS Series User Manual V1 4 Oct 2009 86 Click the Update button to validate the settings 5 4 COM Port Settings The COM Port Settings list is saved in the EEPROM on the PDS series module...

Страница 87: ...module Baud Rate Data Bits Parity Stops Bits End Character The configuration settings should match the serial device used Fifo Trig Level FIFO trigger level This option is used to set the number of ch...

Страница 88: ...2009 88 Other settings M0 mode M0 Transparent Mode Multi echo mode Condition 1 One client sends a request to the PDS series module to access each device The PDS series module echoes the data from each...

Страница 89: ...module The PDS series module echoes data from the devices to each connected client M1 Slave Mode Single echo mode Condition 1 One client sends a request to the PDS series module to access the other d...

Страница 90: ...ies module doesn t echo any data from the devices to any client In M1 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...

Страница 91: ...PDS Series User Manual V1 4 Oct 2009 91...

Страница 92: ...PDS Series User Manual V1 4 Oct 2009 92 5 5 Pair Connection Setting 1 Check your firmware version is later than v3 2 31 Jun 19 2009...

Страница 93: ...ction on the COM PORT setting page 3 Select Add COM and type in the number of the local COM port to use 4 And type in the number of the remote COM port IP and cmd port 5 Check the Save to EEPROM and c...

Страница 94: ...ies module To disable the Web Read Only property refer to the information below 5 6 Miscellaneous settings Alias Name allocates an alias to the PDS series module Web Read Only 0 disabled 1 enabled Log...

Страница 95: ...Only 0 and then click Logout to complete the operation 4 User can restore PDS password to default value admin by using config RESET console command refer to section Console Telnet Commands List This...

Страница 96: ...pdos Modbus Modbus_Utility http ftp icpdas com pub cd 8000cd napdos modbus modbus_utility Step 2 Connecting the Modbus device to PPDS M 700 D MTCP 1 Keep up network connection status for your PPDS 700...

Страница 97: ...odbus TCP protocol Step 1 Configuring COM Ports for Modbus Gateway 1 Enter the IP address of the PPDS series module in the Address field and press Enter to connect to the PPDS series module 2 Click th...

Страница 98: ...V1 4 Oct 2009 98 3 Check the COM Port for Modbus gateway setting Step 2 Test Modbus TCP to Modbus RTU Gateway 1 Run the Modbus Utility program and then click the Modbus TCP button 2 Click on Client t...

Страница 99: ...ess and then click the Connect button to connect the PPDS 700 MTCP 4 Refer to Protocol Description and type the command in the command field then click the Send Command button If the response data is...

Страница 100: ...OM Ports for Virtual COM 1 Enter the IP address of the PPDS series module in the Address field and press Enter to connect to the PPDS series module 2 Make sure your COM Ports of PPDS M 700 D MTCP whic...

Страница 101: ...101 3 Add Server s in the VxComm Utility 4 Run Modbus Utility program and then click the Modbus TCP button 5 Click on Client tools Modbus RTU Client...

Страница 102: ...tual COM port and baud rate Default 9600 on PPDS 700 MTCP and then click the Open button 7 Refer to Protocol Description and type the command in the command field then click the Send Command button If...

Страница 103: ...0 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 1 Connect the PDS series module to th...

Страница 104: ...is located at CD Napdos driver dcon_utility http ftp icpdas com pub cd 8000cd napdos driver dcon_utility setup 5 Run the DCON Utility and click the COM Port option on the toolbar 6 Check the Virtual C...

Страница 105: ...ed with digital I O lines the DCON Utility will return an Open COM error message 7 Select the Virtual COM Port number Check 115200 as the Baud Rate DCON as the protocol checksum disabled parity as non...

Страница 106: ...S series module Click here 8 Click the button to start searching for the PDS series module 9 When the PDS series module is found and is displayed in the DCON Utility click the button to stop the searc...

Страница 107: ...protocol it defines a simple ASCII format protocol such as AAN AASi6 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 protoco...

Страница 108: ...ine from the DCON Utility menu 2 Type the Virtual I O command in the command column and click the Send button to send the command For example the command 01M is used to read the module name 3 Receive...

Страница 109: ...d 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_dll_new...

Страница 110: ...ber 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 5 Set the Output value and then click the Write DO button to transmit the...

Страница 111: ...ut 100 ms The functions in the General DCON API kit can be used to access the I O lines on the PDS series module Categorization Dll and lib used Call condition Starting function Open_Com Uart dll Uart...

Страница 112: ...cParity char cStop Return 0 no error Others error codes 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 Close...

Страница 113: ...s Parameters cPort COM Port number 1 255 szCmd the send string 1024 bytes maximum without a zero 0x0D character szResult the result string recevied 1024 bytes maximum with one zero or 0x0D terminal ch...

Страница 114: ...lot short iDO_TotalCh unsigned long lDO_Value short iCheckSum short iTimeOut Return 0 no error Others error codes Parameters cComPort COM Port number 1 255 iAddress Module address 1 for the PDS series...

Страница 115: ...Value short iCheckSum short iTimeOut Return 0 no error Others error codes Parameters cComPort COM Port number 1 255 iAddress Module address 1 for the PDS series module iSlot 1 for the PDS series modul...

Страница 116: ...turn 0 no error Others error codes Input Parameter cComPort COM Port number 1 255 iAddress Module address 1 for the PDS series module iSlot 1 for the PDS iDI_TotalCh total DI channel count on the PDS...

Страница 117: ...on 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 0ffh Example Command string 012 cr Sum of the stri...

Страница 118: ...ta Sets the Digital Output 8 10 AAn AA Data Reads the DI counter 8 11 AA00dd Sets the Multi channel Output 8 12 AA1ndd Sets the Single Channel Output 8 13 Host Watchdog Command Sets Command Response D...

Страница 119: ...a syntax error or a communication error A delimiter for a valid command A delimiter for an invalid command AA The address of the module 01 only for PDS s The reset status 1 The Module has been reset a...

Страница 120: ...HK cr A 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 dd The current statu...

Страница 121: ...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...

Страница 122: ...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...

Страница 123: ...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 invalid command AA The address of the module 01 only for PDS...

Страница 124: ...ation 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 Data The read data 1 the input channel is latched...

Страница 125: ...version details Response 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 i...

Страница 126: ...mmand for reading the module name Response 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 d...

Страница 127: ...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 Data The status of the DIO Example Command Response 01...

Страница 128: ...acters for output channels less than 8 For the PDS M 721 D modules this will be from 00 to 7F Response Valid Command CHK cr Invalid Command CHK cr Ignore Command CHK cr A syntax error or a communicati...

Страница 129: ...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 Data The digital input counter value...

Страница 130: ...r a communication error will result in no response 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 Time...

Страница 131: ...he digital output channel to on Response Valid Command CHK cr Invalid Command CHK cr Ignored Command CHK cr A syntax error or a communication error will result in no response A delimiter for a valid c...

Страница 132: ...other modules know that the Host is OK Syntax CHK cr A delimiter character The command for all modules Response No response Example Command Response No response Related Commands Sec 7 15 AA0 Sec 7 16...

Страница 133: ...ill 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 SS The status of the module 00 The Host watchdog status has be...

Страница 134: ...status of the module 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 i...

Страница 135: ...tax 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 e The status of the Host W...

Страница 136: ...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 Ex...

Страница 137: ...is set 012 01064 Read the Host Watchdog Timeout Value Returns the Host Watchdog Timeout Value is 10 0 seconds and the Host Watchdog is disabled 011 01 Reset the status of the Host Watchdog Timeout Ret...

Страница 138: ...ead the power on value for the DO Response 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 d...

Страница 139: ...for the DO Response 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 invali...

Страница 140: ...ower 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 A delimiter for a valid command A delimiter for a...

Страница 141: ...O 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 Th...

Страница 142: ...dule 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 c...

Страница 143: ...ue 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 w...

Страница 144: ...s 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 AA6 to read the A and B positions th...

Страница 145: ...chart Open INIT Init Mode for MiniOS7 Commands for Downloading Firmware Run Firmware vc6_3230 autoexec Console Mode for Console Commands Run Mode for Virtual COM applications Short INIT and GND Short...

Страница 146: ...PDS Series User Manual V1 4 Oct 2009 146 9 2 Regulate Init Normal Mode PDS 700 D PPDS 700 D MTCP DS 700 PDS 782 D 25...

Страница 147: ...147 Init Mode Short INIT and GND PDSM 700 D PPDSM 700 D MTCP Run Mode Open INIT...

Страница 148: ...PDS Series User Manual V1 4 Oct 2009 148 PPDS 700 IP67 Run Mode Open INIT Init Mode Short INIT and GND...

Страница 149: ...iniOS7 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 Sho...

Страница 150: ...nnection automatically 8 M Gets Sets the echo mode M0 Transparent Mode Multi Echo Data Shared M1 Slave Mode Single Echo None Shared 9 EchoCmdNo Queries or sets the EchoCmdNo parameter that enables or...

Страница 151: ...filter Queries the IP filter table ipfilter ADD ip1 ADD ip1 ip2 Adds an IP address to the IP filter table Adds a range of IP addresses ip1 ip2 to the IP filter table ipfilter DEL ip1 DEL ip1 ip2 Delet...

Страница 152: ...PDS Series User Manual V1 4 Oct 2009 152 Example...

Страница 153: ...used to display the network configuration information such as IP Mask Gateway MAC addresses and the status of DHCP ACK_Delay Free Memory Socket status Effect Immediate Example Command Argument Descrip...

Страница 154: ...ts 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 Take Effect Immed...

Страница 155: ...guments Description com Queries the configuration of all COM Ports com n 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 comma...

Страница 156: ...Enable Disable listening broadcast packets on PDS Effect Immediate Example Command Arguments Description Broadcast Queries the Broadcast settings Broadcast 1 Sets Broadcast 1 The system is able to rec...

Страница 157: ...ot receive any packets from any client for longer than the SystemTimeout period the PDS will reboot itself Effect Immediate Example Command Arguments Description SystemTimeout Queries the SystemTimeou...

Страница 158: ...ater 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 Immediat...

Страница 159: ...scription M Queries the echo mode settings M 0 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 M 1 Sets the single ec...

Страница 160: ...corresponding response Virtual COM commands are used to configure a PDS through TCP port 10000 Effect Immediate Example EchoCmdNo 0 EchoCmdNo 1 Command Arguments Description EchoCmdNo Queries the Echo...

Страница 161: ...nse 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 Example En...

Страница 162: ...oot Example 9 4 12 MASK Description This command is used to query or set the subnet Mask value Effect After the next reboot Example Command Arguments Description IP Queries the IP address IP xxx xxx x...

Страница 163: ...ot Example 9 4 14 MAC Description This command is used to query the MAC address Effect Setting the address is not allowed Example Command Arguments Description Gateway Queries the Gateway address Gate...

Страница 164: ...mple 9 4 16 ALIAS Description This command is used to query or set the alias of a PDS series module The maximum character length of PDS alias name is 16 bytes Effect Immediate Example Command Argument...

Страница 165: ...et a dynamic IP address setting for PDS automatically Thus it s recommended to disable DHCP function and use a static IP address setting This prevents you to configure virtual COM mappings again and a...

Страница 166: ...receives a UDP search command Effect Immediate Example Command Arguments Description UDP 0 Rejects UDP search commands The PDS will not reply to the UDP search command and can not be searched again UD...

Страница 167: ...ackup or no backup autoexec bat and vcom ini files when using load command Effect Immediate Example see images 21 1 and 21 2 below Command Argument Description VER Queries the version information Comm...

Страница 168: ...ate Load is not a Telnet command Example 21 1 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 selec...

Страница 169: ...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 specifi...

Страница 170: ...IP MASK GATEWAY addresses will not 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 of System...

Страница 171: ...es module Effect Immediate Example 9 4 24 QUIT Description This command is used to stop and quit the firmware of PDS series module Effect Immediate Example Command Argument Description reset Reboot th...

Страница 172: ...ip file on the PC The file is located in the CD Napdos MiniOS7 utility folder Step 4 Apply power Vs GND to the PDS series module The PDS M 700 Vs can be anywhere from 30 10 V The PPDS M 700 MTCP PPDS...

Страница 173: ...rity N n None parity E e Even parity O o Odd parity M m Mark parity 1 S s Space parity 0 StopBit 1 for COM 1 COM 2 1 2 for COM 3 COM 8 Step 9 Disconnect the INIT pin from the GND pin Step 10 Power off...

Страница 174: ...make the network definition The MAC address of the PDS series module should be unique on the same network Refer to step 8 for details of how to change the MAC address of the PDS series module Each PD...

Страница 175: ...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 Fr...

Страница 176: ...PDS Series User Manual V1 4 Oct 2009 176...

Страница 177: ...implemented and used together and called TCP IP TCP IP can be used to communicate across any set of interconnected networks 4 TCP Transmission Control Protocol TCP provides a reliable flow of data bet...

Страница 178: ...dress and its subnet mask a host can determine if 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 delivered directly otherwise if...

Страница 179: ...ho reply to be returned Normally if a host cannot be pinged you won t be able to use Telnet or FTP to connect to the host Conversely if Telnet or FTP cannot be used to connect to a host Ping is often...

Страница 180: ...Each time a client program is executed it contacts a server sends a request and waits for a response When the response arrives the client program continues processing Client programs are often easier...

Страница 181: ...AT 10000 10008 maps to 192 168 1 101 10000 10008 NAT 10010 10018 maps to 192 168 1 102 10000 10008 Please note if your NAT router built in a firewall feature you have to configure the NAT to allow inc...

Страница 182: ...ty descriptor OPEN_EXISTING how to create 0 file attributes NULL handle of file with attributes to copy NOTES 1 This syntax also works for ports COM 1 through COM 9 See more MS Q115831 2 Maximum COM p...

Страница 183: ...n changing the configuration settings The VxComm Driver PC has also been changed to enable the new commands to be used Thus users must upgrade their VxComm Server to the latest version if the current...

Страница 184: ...echo Non Shared In this mode data is echoed from the COM Ports of the PDS series module to the specific client that requested the service Version 2 6 12 and above In M1 mode if the client does not sen...

Страница 185: ...y increasing the baud rate since you placing the device server more close to serial device and reduce the communication distance The higher baud rate should be able to be used in short cable distance...

Страница 186: ...s to acquire data automatically and then compress and transmit this large amount data at one time Your application can reach high performance by pre acquire data before asking by client and then respo...

Страница 187: ...public Internet connection which is the reason why the PDS series module failed on the Internet The IANA has reserved three address spaces for private internets RFC1918 10 0 0 0 10 255 255 255 10 8 p...

Страница 188: ...t client may communicate with a public Internet server PDS series modules only if the NAT service for the client is available Note IANA Internet Assigned Numbers Authority RFC Request for Comments ISP...

Страница 189: ...32 sockets in total includes some reserved listening sockets The PDS series module provides a single command port for configuring the data serial ports Thus no matter how many data serial ports on the...

Страница 190: ...a ports 1 CMD port IO port Web Telnet UDP Search 4 The number of Available Sockets for PDS series modules max 32 sockets Listening sockets 5 The maximum number of PCs when using all data ports of PDS...

Страница 191: ...ss into the IP filter table of PDS by using console command IPFILTER in section 8 4 1 2 Or change your PC s IP address to one of the IP addresses listed in IP filter table 3 Or disable the IP filter f...

Отзывы: