
© 2009 Cypress Solutions PAD Operation (Revision 1.0)
10 Example Modem PAD Configuration
5 Example Modem PAD Configuration
5.1 Modem PAD Configuration for a SCADA Field Device in Slave Mode
In this example, a Chameleon modem is connected to a SCADA field device which is polled by a remote
server. The field device in slave mode is either connected to another Chameleon modem or has built-in
TCP/IP functionality. The field device communicates with a remote server or master device via a
request/response protocol. The slave devices will only send responses to requests sent.
The device connected to the modem’s serial port is operating at 9600 baud with no hardware flow
control (Tx, Rx, & Gnd signals only), and responds to every incoming sentence with a reply of maximum
length 50 bytes of ASCII data always terminated with the character <. The serial slave device does not
support echoing of data that it sends to the modem. The chosen listening port is 5000.
Enter the following commands from the serial console of the modem connected to the serial slave
device:
cmd factory
cmd mode 4
cmd port 9600 8 n 1 0
It will now be necessary to adjust the baud rate of the terminal application to 9600.
cmd padmode 0/1 PAD server mode: 0 = UDP, 1 = TCP
cmd padecho 0 Do not echo data sent by the slave device back on the serial port
cmd padip 0.0.0.0 Sets PAD to server mode only (default settings, in effect after cmd factory)
cmd padport 5000 Sets port on which field device will be listening for requests
cmd padfwdc 60 Decimal value of ASCII <
cmd padfwdl 51 Greater than longest message size
cmd padfwdt 20 Sets the forwarding time to 1 second idle period
(default setting, in effect after cmd factory)
Komentáře k této Příručce