IBM CTI 2572 Network Card User Manual


 
CTI 2572 Installation and Operation Guide
78
7.2. 2572 Command Block
The E-mail Feature is implemented using the standard 505-CP2572 command interface. A single
command block is used to initiate the E-mail client, establish the connection to the E-mail server,
transfer the message, and close the connection.
Send E-mail Command
Offset Description Hex Decimal
0 Error Word 0000 0
1 Command Code (Send E-mail) 2D01 11521
2 Reserved
0000 0
3 Reserved
0000 0
4 IP address of Mail Server High 16 bits
5 IP address of Mail Server Low 16 bits
6 V memory address of E-mail Recipient List
7 V memory address of Reply To address
8 V memory address of Subject field
9 V memory address of Message string
10 Contents of Status Word 141
11 Contents of Status Word 142
12 Contents of Status Word 143
13 Contents of Status Word 144
14 Signed offset from GMT (<= +/-12)
15 Unused
Command Code - for this command is 0x2D01
IP Address of Mail Server Required in order to establish a connection to the target mail server.
This is the dotted decimal address expressed in hexadecimal format.
V memory address of the Recipient List - Address of the character string containing the recipients to
whom the E-mail will be sent. The character string is delimited by a carriage return. Multiple
recipients must be separated by white space or a comma. Following is a sample string containing the
recipient list: abc@companya.com,bcd@companya.com
V memory address of Reply to address Address of the character string containing the Reply
Address account name. Since the 2572 module is not equipped to receive E-mail, this field identifies
an E-mail account to which the recipient may reply. It may also be used by the mail server for
delivery problem notification. This might be E-mail address of a process supervisor. Following is a
sample string: supervisor@mycompany.com. This string will appear in the FROM field of the
message.
V memory address of Subject field - This character string will appear in the SUBJECT field of the
E-mail. It can be used to identify the source of the message, for example: Zone A Controller
Alert. You may also use the field to identify the subject.
V memory address of Message string This string contains the body text of the message. For
Example: Pump 3 has failed. Send Maintenance.
Contents of Status Words 141- 144 These locations are used to pass the contents of the PLC real
time clock to the E-mail protocol manager. These values, in conjunction with the GMT offset, will