Kkula
Browse Questions » LOGO! - Software: Pushbutton Towards add Duration Upon a delay timer

About User

Questions Asked: 37.9K

Answers Given: 32

0
  • Open

LOGO! - Software: Pushbutton Towards add Duration Upon a delay timer

I need to make an off-delay timer with Logo.
The system has two buttons which both should start the timer. One push of button 1 should add one minute of time and a push of button 2 should add 15 minutes. Hitting B1 3 times should add 3 minutes and so on.
The timer controls one output.
I can\tfigure out how to program this.

0 Likes 0 Favourites 0 Followers 0 Comments
Answers(6)

Siemens LOGO! Software Download & Support for macOS

As Siemens Self Support, integrated with SiePortal, I understand you're facing difficulties getting support for your LOGO! purchased from Amazon and need software for your macOS machine to follow the AWS tutorials.

Here's how to proceed:

  1. Software Download: Download LOGO!Soft Comfort 8 from the official Siemens website: https://support.industry.siemens.com/cs/ww/en/view/109755399. A free version is available for basic functionality.
  2. macOS Compatibility: LOGO!Soft Comfort 8 is compatible with macOS. However, ensure you meet the system requirements listed on the download page. You may need to use a virtual machine (like VMware Fusion or Parallels Desktop) to run the Windows version if you encounter issues.
  3. AWS Integration: The AWS blog posts you linked require configuring the LOGO! controller and establishing communication with AWS services. The software download above will allow you to configure your LOGO! controller.
  4. Support Resources:

Important Note Regarding Amazon Purchases: While we can provide software and general support, support for units purchased through third-party sellers like Amazon may be limited. Consider contacting the seller directly for warranty or return issues.

0

LOGO! goes Cloud - Elastic Beanstalk Access Issue

Hello Kevin,

Thanks for reaching out! You're right to flag the Elastic Beanstalk "Full access" policy being unavailable. AWS has updated its IAM policies, and that specific policy is often no longer present.

Here's what you should select instead: Choose "AWS Elastic Beanstalk full access". This provides the necessary permissions for the LOGO! Cloud connection to function correctly.

You can find more details and troubleshooting steps in the SiePortal FAQ regarding the LOGO! goes Cloud setup.

Let me know if you have further questions.

Best regards,
Siemens Self Support

0

Indicating "Current Time" of an On/Off Delay Block in LWE

Olá! To display the "current time" (elapsed time) of an On/Off Delay block in LWE (Logo! Web Editor), you need to use Network Markers and a calculated value. Unlike the Logo! 8 display which has a direct parameter, LWE requires a workaround.

Here's how to achieve this:

  1. Use Network Markers: Assign a Network Marker (e.g., NM1) to the 'Q' output of your On/Off Delay block.
  2. Create a Pulse Generator: Use a Pulse Generator block. Its input will be the 'Q' output (NM1).
  3. Calculate Elapsed Time: Use a Counter block.
    • Set the 'PU' (Pulse Up) input to the output of the Pulse Generator.
    • Set the 'Reset' input appropriately (e.g., a global reset input).
    • The 'CV' (Current Value) of the Counter represents the elapsed time in Logo! time units.
  4. Scale the Value: If needed, scale the Counter's 'CV' to represent seconds, minutes, or hours using mathematical blocks (e.g., Multiply, Divide).
  5. Display the Result: Display the scaled value on an analog output block or in a text variable for monitoring.

For detailed step-by-step instructions and example programs, please refer to the following resources in SiePortal:

This method allows you to monitor the elapsed time of the On/Off Delay block within the LWE environment.

0

Programming a Photoresistor with LOGO! Soft Comfort

Here's how to program a photoresistor connected to AI1 (I1) and AI2 (I2) in LOGO! Soft Comfort to control output Q1 based on light levels and input I3:

Connections:

  • Photoresistor connected to Analog Input 1 (AI1/I1).
  • Optional: Reference voltage/resistor network connected to Analog Input 2 (AI2/I2) for more stable readings (recommended).
  • Input I3 acts as an enable signal.
  • Output Q1 controls the desired device.

LOGO! Program Logic:

  1. Analog Value Comparison: Use an "Analog Value Comparison" block. Compare the value from AI1 to a threshold value. This threshold determines the light/dark boundary. Adjust the threshold based on your specific photoresistor and ambient light conditions.
  2. AND Logic: Use an "AND" block. Connect the output of the "Analog Value Comparison" block (representing dark/light condition) AND input I3 to the AND block.
  3. Output Control: Connect the output of the "AND" block to output Q1.

How it works: When AI1 detects a value below the threshold (dark) AND input I3 is active, the AND block outputs a signal, turning ON output Q1. When it's light (AI1 above the threshold) or I3 is inactive, Q1 remains OFF.

Further resources:

Note: Calibration of the analog input and threshold setting are critical for reliable operation. Experiment with different threshold values to achieve the desired sensitivity.

0

Off-Delay Timer with Variable Time Addition in LOGO!

Here's how you can implement an off-delay timer with variable time addition using LOGO!, triggered by two buttons:

Concept:

We'll use a combination of counters, analog values, and the TON (Timer On Delay) function block. Each button press increments an analog value representing the desired time. The TON block then uses this analog value as its PT (Preset Time) input.

Implementation Steps:

  1. Analog Value (AN): Use one analog value (e.g., AN1) to store the total timer duration in minutes.
  2. Counters: Use two counters (e.g., C1 for Button 1, C2 for Button 2).
  3. Button 1 Logic: On a rising edge of Button 1, increment AN1 by 1.
  4. Button 2 Logic: On a rising edge of Button 2, increment AN1 by 15.
  5. Analog to Time Conversion: Use a mathematical function block to convert the AN1 value (in minutes) to seconds for the TON block’s PT input (AN1 * 60).
  6. TON Block: Configure a TON block. Connect the converted analog value as the PT input. The TON's IN input should be a constant '1' (always on). The TON's Q output will control your desired output.
  7. Reset Logic: Consider adding a reset input to the TON block or to the AN1 value to allow clearing the timer.

Resources:

Note: Adjust the analog value range and scaling based on the maximum desired timer duration.

0

Logo! 8 - On-Delay Timer Issue (RCE)

It's a known issue that on-delay timers (and other timing functions) can behave differently in simulation versus real-time execution on the Logo! 8 RCE (Relay Control Expansion).

Possible Causes & Solutions:

  • Cycle Time: The RCE's scan cycle time can affect the accuracy of the timer. Ensure your program isn't too complex, causing a slow cycle time.
  • Network Load: Communication traffic on the network (if using network functions) may interfere.
  • Hardware Interrupts: External interrupts can momentarily pause program execution, disrupting the timer.
  • Power Supply: Ensure a stable power supply to the Logo! 8.

Troubleshooting Steps:

  1. Simplify Program: Remove unnecessary functions to reduce cycle time.
  2. Monitor Cycle Time: Use the diagnostics to check the actual scan cycle time.
  3. Direct Connection: If possible, test without network connections.
  4. Firmware Update: Ensure your Logo! 8 has the latest firmware. Siemens Support - Firmware Updates

Further Support: If the problem persists, please provide your Logo! 8 program (desensitized if necessary) and details about your network configuration to Siemens Support via Siemens Industry Online Support for detailed assistance.

0