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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Serial Event Configuration—Read/Write<br />

(Does not apply to SNAP Simple I/O) Use this section to set up events for serial communication<br />

modules attached to the SNAP Ethernet-<strong>based</strong> brain. For more information on serial<br />

communication modules, see Opto 22 form #1191, the SNAP Serial Communication Module<br />

User’s Guide. For more information on serial events <strong>and</strong> reactions, see page 32.<br />

Before you configure serial events, configure the serial modules. (See page 111.) In the following<br />

table, only the first two events are shown. Other events follow the same pattern.<br />

Starting Address Length Type Description<br />

FFFF F154 0000 4 M Serial Event 0: Serial port mask. Bits 0-31 correspond to ports 0-31.<br />

On bits represent serial ports to monitor for the event string. Event<br />

occurs if any of the ports receives the event string. NOTE: A null<br />

entry here disables this entry <strong>and</strong> any higher numbered entries.<br />

FFFF F154 0004 4 -- Reserved<br />

FFFF F154 0008 4 UI Serial Event 0: SNMP trap type (if sending an SNMP trap as a<br />

reaction to the serial event)<br />

FFFF F154 000C 4 UI Serial Event 0: SNMP trap period—how often, in seconds, to send<br />

the trap as a reaction to the serial event<br />

FFFF F154 0010 28 S-ZT Serial Event 0: Pattern string for the event.<br />

Wildcards (* <strong>and</strong> ?) are allowed.<br />

FFFF F154 0038 28 S-ZT Serial Event 0: Reaction string to be sent with the SNMP trap.<br />

Plug-ins allowed ($!_str_ or $!_port_ <strong>and</strong> others). See page 34 for<br />

more information.<br />

FFFF F154 0060 8 M Serial Event 0: Scratch Pad bits to turn on<br />

FFFF F154 0068 8 M Serial Event 0: Scratch Pad bits to turn off<br />

FFFF F154 0070 4 UI Serial Event 0: Enable email message (0 = Disable, 1 = Enable)<br />

FFFF F154 0074 4 M Serial Event 1: Serial port mask. Bits 0-31 correspond to ports 0-31.<br />

On bits represent serial ports to monitor for the event string. Event<br />

occurs if any of the ports receives the event string. NOTE: A null<br />

entry here disables this entry <strong>and</strong> any higher numbered entries.<br />

FFFF F154 0074 4 -- Reserved<br />

FFFF F154 007C 4 UI Serial Event 1: SNMP trap type (if sending an SNMP trap as a<br />

reaction to the serial event)<br />

FFFF F154 0080 4 UI Serial Event 1: SNMP trap period—how often, in seconds, to send<br />

the trap as a reaction to the serial event<br />

FFFF F154 0084 28 S-ZT Serial Event 1: Pattern string for the event.<br />

Wildcards (* <strong>and</strong> ?) are allowed.<br />

FFFF F154 00AC 28 S-ZT Serial Event 1: Reaction string to be sent with the SNMP trap.<br />

Plug-ins allowed ($!_str_ or $!_port_ <strong>and</strong> others). See page 34 for<br />

more information.<br />

FFFF F154 00D4 8 M Serial Event 1: Scratch Pad bits to turn on<br />

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

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

Saved successfully!

Ooh no, something went wrong!