Products
  • Crimson 3.1: Email Your Daily Log Files

Crimson 3.1: Email Your Daily Log Files


what if you want to know what happened yesterday on site? What if your customer wants this but you don't want them to have access to the system?

With Crimson 3.1 you can easily email a daily log file from your company email or even with free email accounts such as gmail and outlook.

To get started you will need to set up logging in Crimson 3.1, ensure the device has an internet connection and obtain the email server details.

Enter your email server details into the SMTP tab of the mail manager, don’t forget to add in the reverse path (Sender address) and Contacts (Recipient address).

Common Email Server Settings

Gmail Settings                                                    

Server IP Address:smtp.gmail.com

Server Port Number:587

Outlook Settings

Server IP Address: smtp-mail.outlook.com

Server Port Number:587

Now to actually send the email we will need to write some code to know when to send the log file and which file to send. As the default logging
creates a new log file every day we can simply send yesterday’s once a new day has started.

The Initialisation function will set the log directory and initial date file when the device powers up


Program1 call the function to send yesterday’s log file and then update the date today at ten seconds past midnight.

Send Log will increment the number of emails sent and send the log file as an email attachment with the subject line “Site # Log File”.

Note: Most email servers will limit attachments to either 25 or 50 MB. One last thing to do is configure Initialisation to be called on startup andProgram1 to be called every second, which is done under
Display Pages >Pages >Start Up and On Tick

And the following Data Tags and Data Log have been created.

Now you should be able to read your logs over your morning cup of coffee!

 

 

 

 

Select location
Panasonic PLC Training
PANASONIC PLC FP0R TRAINING 1 DAYS IN BRISBANE INCLUDES AFP0RC14RS + FP0R-CABLE-USB TR-PANA-FP0R-QLD
Increase value Decrease value
Panasonic PLC Training
PANASONIC PLC FP0R TRAINING 1 DAYS IN MELBOURNE INCLUDES AFP0RC14RS + FP0R-CABLE-USB TR-PANA-FP0R-VIC
Increase value Decrease value
Panasonic PLC Training
PANASONIC PLC FP0R TRAINING 1 DAYS IN SYDNEY INCLUDES AFP0RC14RS + FP0R-CABLE-USB TR-PANA-FP0R-NSW
Increase value Decrease value
Panasonic PLC Training
PANASONIC PLC FP0R TRAINING 1 DAYS IN PERTH INCLUDE AFP0RC14RS + FP0R-CABLE-USB TR-PANA-FP0R-WA
Increase value Decrease value
Panasonic PLC Training
PANASONIC PLC FP0R TRAINING 1 DAYS IN ADELAIDE INCLUDES AFP0RC14RS + FP0R-CABLE-USB TR-PANA-FP0R-SA
Increase value Decrease value
Panasonic PLC Training
PANASONIC PLC FPX TRAINING 1 DAYS IN BRISBANE INCLUDES AFPX-C30RD + CBLUSB00 TR-PANA-FPX-QLD
Increase value Decrease value
Panasonic PLC Training
PANASONIC PLC FPX TRAINING 1 DAYS IN MELBOURNE INCLUDES AFPX-C30RD + CBLUSB00 TR-PANA-FPX-VIC
Increase value Decrease value
Panasonic PLC Training
PANASONIC PLC FPX TRAINING 1 DAYS IN SYDNEY INCLUDES AFPX-C30RD + CBLUSB00 TR-PANA-FPX-NSW
Increase value Decrease value
Panasonic PLC Training
PANASONIC PLC FPX TRAINING 1 DAYS IN PERTH INCLUDES AFPX-C30RD + CBLUSB00 TR-PANA-FPX-WA
Increase value Decrease value
Panasonic PLC Training
PANASONIC PLC FPX TRAINING 1 DAYS IN ADELAIDE INCLUDES AFPX-C30RD + CBLUSB00 TR-PANA-FPX-SA
Increase value Decrease value
Mission Critical Industrial Ethernet Course
HIRSCHMANN 1DAY TRAINING MISSION CRITICAL IND ETHERNET INCLUDES (942 291-001) TR-ETH-QLD
Increase value Decrease value
Mission Critical Industrial Ethernet Course
HIRSCHMANN 1DAY TRAINING MISSION CRITICAL IND ETHERNET INCLUDES (942 291-001) TR-ETH-VIC
Increase value Decrease value
Mission Critical Industrial Ethernet Course
HIRSCHMANN 1DAY TRAINING MISSION CRITICAL IND ETHERNET INCLUDES (942 291-001) TR-ETH-NSW
Increase value Decrease value
Mission Critical Industrial Ethernet Course
HIRSCHMANN 1DAY TRAINING MISSION CRITICAL IND ETHERNET INCLUDES (942 291-001) TR-ETH-WA
Increase value Decrease value
Mission Critical Industrial Ethernet Course
HIRSCHMANN 1DAY TRAINING MISSION CRITICAL IND ETHERNET INCLUDES (942 291-001) TR-ETH-SA
Increase value Decrease value
Hirschmann Operating System - HiOS Layer 2 Software
HIRSCHMANN HiOS L2 TRAINING 3 DAYS IN BRISBANE INCLUDES 943 993-471 (VOUCHER) TR-HIRS-HIOS2-QLD
Increase value Decrease value
Hirschmann Operating System - HiOS Layer 2 Software
HIRSCHMANN HiOS L2 TRAINING 3 DAYS IN MELBOURNE INCLUDES 943 993-471 (VOUCHER) TR-HIRS-HIOS2-VIC
Increase value Decrease value
Hirschmann Operating System - HiOS Layer 2 Software
HIRSCHMANN HiOS L2 TRAINING 3 DAYS IN SYDNEY INCLUDES 943 993-471 (VOUCHER) TR-HIRS-HIOS2-NSW
Increase value Decrease value
Hirschmann Operating System - HiOS Layer 2 Software
HIRSCHMANN HiOS L2 TRAINING 3 DAYS IN PERTH INCLUDES 943 993-471 (VOUCHER) TR-HIRS-HIOS2-WA
Increase value Decrease value
Hirschmann Operating System - HiOS Layer 2 Software
HIRSCHMANN HiOS L2 TRAINING 3 DAYS IN ADELAIDE INCLUDES 943 993-471 (VOUCHER) TR-HIRS-HIOS2-SA
Increase value Decrease value
Hirschmann Operating System - HiOS Layer 3 Software
HIRSCHMANN HiOS L3 TRAINING 3 DAYS IN BRISBANE INCLUDES 943 993-471 (VOUCHER) TR-HIRS-HIOS3-QLD
Increase value Decrease value
Hirschmann Operating System - HiOS Layer 3 Software
HIRSCHMANN HiOS L3 TRAINING 3 DAYS IN MELBOURNE INCLUDES 943 993-471 (VOUCHER) TR-HIRS-HIOS3-VIC
Increase value Decrease value
Hirschmann Operating System - HiOS Layer 3 Software
HIRSCHMANN HiOS L3 TRAINING 3 DAYS IN SYDNEY INCLUDES 943 993-471 (VOUCHER) TR-HIRS-HIOS3-NSW
Increase value Decrease value
Hirschmann Operating System - HiOS Layer 3 Software
HIRSCHMANN HiOS L3 TRAINING 3 DAYS IN PERTH INCLUDES 943 993-471 (VOUCHER) TR-HIRS-HIOS3-WA
Increase value Decrease value
Hirschmann Operating System - HiOS Layer 3 Software
HIRSCHMANN HiOS L3 TRAINING 3 DAYS IN ADELAIDE INCLUDES 943 993-471 (VOUCHER) TR-HIRS-HIOS3-SA
Increase value Decrease value
Network Management (CP2)
HIRSCHMANN NETWORK TRAINING 2 DAYS IN BRISBANE INCLUDES 943 993-471 (Voucher) TR-HIRS-CP2-QLD
Increase value Decrease value
Network Management (CP2)
HIRSCHMANN NETWORK TRAINING 2 DAYS IN MELBOURNE INCLUDES 943 993-471 (Voucher) TR-HIRS-CP2-VIC
Increase value Decrease value
Network Management (CP2)
HIRSCHMANN NETWORK TRAINING 2 DAYS IN SYDNEY INCLUDES 943 993-471 (Voucher) TR-HIRS-CP2-NSW
Increase value Decrease value
Network Management (CP2)
HIRSCHMANN NETWORK TRAINING 2 DAYS IN PERTH INCLUDES 943 993-471 (Voucher) TR-HIRS-CP2-WA
Increase value Decrease value
Network Management (CP2)
HIRSCHMANN NETWORK TRAINING 2 DAYS IN ADELAIDE INCLUDES 943 993-471 (Voucher) TR-HIRS-CP2-SA
Increase value Decrease value
Industrial Ethernet CT1
HIRSCHMANN CT1 TRAINING 2 DAYS IN BRISBANE INCLUDES 943 993-471 (VOUCHER) TR-HIRS-CT1-QLD
Increase value Decrease value
Industrial Ethernet CT1
HIRSCHMANN CT1 TRAINING 2 DAYS IN MELBOURNE INCLUDES 943 993-471 (VOUCHER) TR-HIRS-CT1-VIC
Increase value Decrease value
Industrial Ethernet CT1
HIRSCHMANN CT1 TRAINING 2 DAYS IN SYDNEY INCLUDES 943 993-471 (VOUCHER) TR-HIRS-CT1-NSW
Increase value Decrease value
Industrial Ethernet CT1
HIRSCHMANN CT1 TRAINING 2 DAYS IN PERTH INCLUDES 943 993-471 (VOUCHER) TR-HIRS-CT1-WA
Increase value Decrease value
Industrial Ethernet CT1
HIRSCHMANN CT1 TRAINING 2 DAYS IN ADELAIDE INCLUDES 943 993-471 (VOUCHER) TR-HIRS-CT1-SA
Increase value Decrease value
Industrial Ethernet CT2
HIRSCHMANN CT2 TRAINING 3 DAYS IN BRISBANE INCLUDES 943 993-471 (VOUCHER) TR-HIRS-CT2-QLD
Increase value Decrease value
Industrial Ethernet CT2
HIRSCHMANN CT2 TRAINING 3 DAYS IN MELBOURNE INCLUDES 943 993-471 (VOUCHER) TR-HIRS-CT2-VIC
Increase value Decrease value
Industrial Ethernet CT2
HIRSCHMANN CT2 TRAINING 3 DAYS IN SYDNEY INCLUDES 943 993-471 (VOUCHER) TR-HIRS-CT2-NSW
Increase value Decrease value
Industrial Ethernet CT2
HIRSCHMANN CT2 TRAINING 3 DAYS IN PERTH INCLUDES 943 993-471 (VOUCHER) TR-HIRS-CT2-WA
Increase value Decrease value
Industrial Ethernet CT2
HIRSCHMANN CT2 TRAINING 3 DAYS IN ADELAIDE INCLUDES 943 993-471 (VOUCHER) TR-HIRS-CT2-SA
Increase value Decrease value
Industrial Routing CT3
HIRSCHMANN CT3 TRAINING 2 DAYS IN BRISBANE INCLUDES 943 993-471 (VOUCHER) TR-HIRS-CT3-QLD
Increase value Decrease value
Industrial Routing CT3
HIRSCHMANN CT3 TRAINING 2 DAYS IN MELBOURNE INCLUDES 943 993-471 (VOUCHER) TR-HIRS-CT3-VIC
Increase value Decrease value
Industrial Routing CT3
HIRSCHMANN CT3 TRAINING 2 DAYS IN SYDNEY INCLUDES 943 993-471 (VOUCHER) TR-HIRS-CT3-NSW
Increase value Decrease value
Industrial Routing CT3
HIRSCHMANN CT3 TRAINING 2 DAYS IN PERTH INCLUDES 943 993-471 (VOUCHER) TR-HIRS-CT3-WA
Increase value Decrease value
Industrial Routing CT3
HIRSCHMANN CT3 TRAINING 2 DAYS IN ADELAIDE INCLUDES 943 993-471 (VOUCHER) TR-HIRS-CT3-SA
Increase value Decrease value
Products to compare:
Comparing Products