14.08.2013 Views

snap ethernet-based i/o units protocols and programming guide

snap ethernet-based i/o units protocols and programming guide

snap ethernet-based i/o units protocols and programming guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

APPENDIX A: SNAP ETHERNET-BASED BRAIN MEMORY MAP<br />

PPP Configuration—Read/Write<br />

(Does not apply to SNAP Simple I/O) Use this area to configure PPP if you are communicating<br />

with the brain via a modem connection. For more information on setting up PPP, see the<br />

ioManager User’s Guide.<br />

Starting Address Length Type Description<br />

FFFF F03E 0000 4 IP Local IP address for PPP interface. Default is 192.168.0.1<br />

FFFF F03E 0004 4 IP Remote IP address. This IP address is assigned to devices that<br />

connect to the brain <strong>and</strong> request an IP address. This address must<br />

be on the same subnet as the Local IP address. Default is<br />

192.168.0.2<br />

FFFF F03E 0008 4 UI Serial port speed. Default is 19,200 bps.<br />

FFFF F03E 000C 4 UI Serial port parity. Default is none.<br />

None = 0x10; even = 0x4; odd = 0x0<br />

FFFF F03E 0010 4 UI Serial port stop bits. Possible values:1 or 2. Default is 1.<br />

FFFF F03E 0014 4 UI Serial port data bits. Possible values: 6–8. Default is 8.<br />

FFFF F03E 0018 40 S-ZT Modem initialization string (null terminated). This string is sent to<br />

the modem once when the brain boots. The modem must be<br />

configured to ignore DTR <strong>and</strong> use no flow control. The modem is<br />

reset (ATZ) between each call. We suggest that settings be saved<br />

to a profile in the modem’s NVRAM <strong>and</strong> the modem configured to<br />

load that profile every time it is reset. The modem initialization<br />

string can be used to perform this task whenever the brain powers<br />

up. See the brain user’s <strong>guide</strong> for more information. Default is:<br />

AT&D0^M~~~~<br />

FFFF F03E 0058 4 IP Subnet mask for Local IP address. Default is 0.0.0.0—Required<br />

only if you are using classless IP addressing. If not, leave it at 0<br />

<strong>and</strong> the brain will calculate the appropriate subnet from the Local<br />

IP address.<br />

FFFF F03E 005C 4 UI Maximum number of times PPP will retry to authenticate a link.<br />

Default is 3.<br />

FFFF F03E 0060 4 UI Serial port flow control.<br />

0 = none; 1 = hardware (RTS/CTS)<br />

FFFF F03E 0064 40 S-ZT Modem hangup string. This string is sent by the brain to the<br />

modem when the brain wants the modem to hang up. (Note: A ^t in<br />

this string forces an LCP terminate request packet in a PPP frame<br />

to be sent, which can be useful to force packet-switched data<br />

devices with a local PPP interface to hang up <strong>and</strong> enter comm<strong>and</strong><br />

mode.)<br />

Default is: ~~~+++~~~ATH0^M~~~<br />

Last valid address for this section: FFFF F03E 00A3<br />

FFFF F03E 6000 4 UI Enable PPP for incoming calls. Default is 0.<br />

Enable = 1, Disable = 0<br />

116 SNAP Ethernet-Based I/O Units Protocols <strong>and</strong> Programming Guide

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!