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.

Serial Module Configuration—Read/Write<br />

Use this area to configure SNAP serial communication modules on the rack. Only two ports—the<br />

ports for a serial module in position 0 on the rack—are shown in the table. Ports for modules in<br />

other positions on the rack follow the same pattern <strong>and</strong> start on even 10 hex boundaries. See the<br />

table on page 112 for a list of module <strong>and</strong> port numbers.<br />

For important information on using these modules, see Opto 22 form 1191, the SNAP Serial<br />

Communication Module User’s Guide.<br />

Starting Address Length Type Description<br />

FFFF F03A 8000 4 UI Port A on serial module in position 0 on the rack: IP port number for<br />

access to serial port. Default is 22500.<br />

FFFF F03A 8004 4 UI Port A, position 0: Baud rate<br />

FFFF F03A 8008 1 UI Port A, position 0: Parity.<br />

None = 0x4E; even = 0x45; odd = 0x4F<br />

FFFF F03A 8009 1 UI Port A, position 0: Data Bits<br />

FFFF F03A 800A 1 UI Port A, position 0: Stop Bits<br />

FFFF F03A 800B 1 UI Port A, position 0: Hardware flow control. 1 = Yes, 0 = No<br />

FFFF F03A 800C 1 UI Port A, position 0: Send test message on powerup<br />

1 = Yes; 0 = No<br />

FFFF F03A 800D 3 -- Pad for alignment<br />

FFFF F03A 8010 4 UI Port B on serial module in position 0 on the rack: IP port number for<br />

access to serial port. Default is 22501.<br />

FFFF F03A 8014 4 UI Port B, position 0: Baud rate<br />

FFFF F03A 8018 1 UI Port B, position 0: Parity<br />

FFFF F03A 8019 1 UI Port B, position 0: Data Bits<br />

FFFF F03A 801A 1 UI Port B, position 0: Stop Bits<br />

FFFF F03A 801B 1 UI Port B, position 0: Hardware flow control. 1 = Yes, 0 = No<br />

FFFF F03A 801C 1 UI Port B, position 0: Send test message on powerup<br />

FFFF F03A 801D 3 -- Pad for alignment<br />

(Additional ports follow in order on even 10 hex boundaries. See port table, below.)<br />

FFFF F03A 8200 4 UI Port A, position 0: End-of-message characters. The brain can<br />

check for a string of up to four characters as the end-of-message<br />

indicator. [Example: 0x0D0A0000 looks for a 13 (hex 0D) followed<br />

by a 10 (hex 0A)]<br />

FFFF F03A 8204 12 -- Pad for alignment<br />

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

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

Saved successfully!

Ooh no, something went wrong!