Relay R20 in the
PLC is defined to trigger the email sending.
It is reset by the FP Web-Server after sending the email. |
R20: {R20_INACTIVE_ACTIVE}
Set R20: [click] to send email and then [reload] page |
Relay R21 is defined to signal a possible error. It is updated by the FP Web-Server. | R21: {R21_OK_ERROR} |
Dataword DT100 in the PLC is defined to hold the DT address of the email recipient address string. If it is set to 0 ... 3 the FP Web-Server will use the a pre-stored recipient address instead of taking the string from the PLC. | |
Dataword DT101 is defined to hold the DT address of the email text string. If it is set to 0 ... 3 the FP Web-Server will use the a pre-stored email text file instead of taking the string from the PLC. | |
The actual recipient address
string in the PLC at DT200 is:
(FPWIN-Pro header: max={D200_5_u} act={DT201_5_u}) |
|
The actual email text string
in the PLC at DT300 is:
(FPWIN-Pro header: max={DT300_5_u} act={DT301_5_u}) |
Notes to the actual implementation:
* The characters < and > in PLC
strings are displayed as special characters 1/4 and 3/4.
* New-line characters ($n $r)
in strings are not interpreted by the browser yet.
* The predefined recipient addresses
number 0 ... 3 are defined in the configuration of the FP Web-Server.
There is a FPWIN-Pro
function blocks available which makes it easy for the PLC application program
to control the email functions of the FP Web-Server.
Copyright © Panasonic Electric Works Europe AG