1 / 25

Local Network

Local Network. Mail Server (MERAK Mail Server). Mail Client (MS Outlook Express). Meg.mail.server 192.168.001.050 Accounts: > Ingenerf > SystemQ > Training50 > Training51 > Training52 > Training53 > Training54 > Training55. Ingenerf@Meg 192.168.1.100. 50 Ohm. 50 Ohm.

reinoso
Download Presentation

Local Network

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Local Network Mail Server (MERAK Mail Server) Mail Client (MS Outlook Express) Meg.mail.server 192.168.001.050 Accounts: > Ingenerf > SystemQ > Training50 > Training51 > Training52 > Training53 > Training54 > Training55 Ingenerf@Meg 192.168.1.100 50 Ohm 50 Ohm Q02H CPU Mail Client (via PLC - program) > MSEND ( Send Mail ) > MRECV ( Receive Mail ) SystemQ@Meg 192.168.1.1

  2. E-Mail Settings for the Mail Server • As Mail Server is used the MERAK Mail Server Software ! • As Mail Client is used Microsoft Outlook Express ! • Mail Server and all Mail Clients are in the same Local Ethernet Network !

  3. E-Mail Settings for the Mail Server Designate a Name for the Mail Server ! Default values !

  4. E-Mail Settings for the Mail Server

  5. E-Mail Settings for the Mail Server

  6. E-Mail Settings for the Mail Server Create some Mail folder : Accounts > Add > New User Designate all Settings and store them with „SAVE“ !

  7. E-Mail Settings for the Mail Clients • As Mail Client is used Microsoft Outlook Express ! • As Mail Server is used the MERAK Mail Server Software ! • Mail Server and all Mail Clients are in the same Local Ethernet Network !

  8. E-Mail Settings for the Mail Clients Microsoft Outlook Express => Extras => Options This Mail Client checks the Mail Server direct after program start and than every minute ! After the Client has read out the Mails from the Server they are deleted form the Server mail folder !

  9. E-Mail Settings for the Mail Clients If the System Q should also receive Mails there have to be done some special settings : > Mails have to be send in „Only text“ format ! > A file (xxx.bin) has to be attached !

  10. E-Mail Settings for the Mail Clients Microsoft Outlook Express => Extras => Konten (Accounts)

  11. E-Mail Settings for the Mail Clients

  12. E-Mail Settings for the Mail Clients

  13. E-Mail Settings of the System Q • Designate the Email Network Parameter in the System Q (GX Developer) ! • A PLC program is required for > SEND Mails > RECEIVE Mails ! • Mail Server and all Mail Clients are in the same Local Ethernet Network !

  14. E-Mail Settings of the System Q Next page ! GX Developer => Parameter => Network param => MELSECNET / Ethernet

  15. E-Mail Settings of the System Q E-mail settings The folder „SystemQ“ on the Mail Server is checked every 30 seconds for new messages. This Status is stored in Buffer Memory 2682H - Bit 15 !

  16. E-Mail Settings of the System Q MSEND Instruction ZP.MSEND “Un“ (S1) (S2) (D) “Un“ Headaddress of the Ethernet module (S1) Start address „Control data“ (S2) Start address Send Data block (D) Return value Send Status

  17. (S1+0): Send data format As Attachment (Data as attached file) b12 b11 b10 b9 b9 Binary file 0 0 0 0 0 ASCII file 0 1 0 0 0 CSV file 0 1 0 0 1 As Main Text (Data as main text) Binary data 1 0 0 0 0 E-Mail Settings of the System Q MSEND: Control data (S1+2): Send destination number (1 to 16) It is only possible to send the mail to one of the mail addresses listed in the table above at each time ! (S1+9): Send data length Subject + Data (Attachment or Main Text) (S1+10): Subject length Data length of the Subject

  18. E-Mail Settings of the System Q Control data SEND MAIL GX Developer Program to SEND Mails !

  19. E-Mail Settings of the System Q GX Developer Program to SEND Mails ! Transmission Normal End Clear COM Error LED Transmission Abnormal End Store Error Code COM Error LED is ON

  20. ZP.MRECV “Un“ (S) (D1) (D2) “Un“ Headaddress of the Ethernet module (S) Start address „Control data“ (D1) Start address Receive Data block (D2) Return value Receive Status E-Mail Settings of the System Q MRECV Instruction

  21. E-Mail Settings of the System Q MRECV: Control data (S1+0): Execution Type / Complete Type (S1+2): Mail number to be read Clock data setting is required at mail receiving Set the mail if there are more at the server b7 Setting is not required 0 Head mail 0 Setting is required 1 Designated mail 1 or higher Inquire if there are more Mails on the server b9 Do not read the receive mail information 0 Read the receive mail information 1 (S1+9): Receive data length (S1+10): Receive header length Data length is set by received mail 0 Data length is set by received mail 0 Data length setting by user 1 to 6517 Data length setting by user 1 to 373

  22. E-Mail Settings of the System Q Control data RECEIVE MAIL GX Developer Program to RECEIVE Mails ! Receive processing is ACTIVE

  23. E-Mail Settings of the System Q Transmission Normal End Clear COM Error LED Transmission Abnormal End Store Error Code GX Developer Program to RECEIVE Mails ! Receive processing is ACTIVE COM Error LED is ON

  24. Sample Program : Q02H_Mail_Client_Sample This sample is programmed for the System Q training racks ! The Mails are send by the digital input switches. They are send with three different Subjects to the mail address Ingenerf@Meg ! X0 : „Maschine 0 Defekt“ X1 : „Maschine 1 Trocken“ X2 : „Maschine 2 Störung“ The mail is SEND by every rising flank of these input signals ! X0 X1 X2

  25. Sample Program : Q02H_Mail_Client_Sample This sample is programmed for the System Q training racks ! The Mails are send by the digital input switches. They could be send with two different Subjects (X0 or X1) to the mail address Ingenerf@Meg ! The signals X2, X3 or X4 designate in which Format the register D215 and following are attached to the Mail ! X2 : *.bin file attached ! X3 : *.asc file attached ! X4 : as main text of the mail ! Attachment as BIN file X2 Attachment as ASCII file X3 Write data into the text field X4 X0 X1

More Related