Kkula
Browse Questions » SIMATIC S7-1200: How Towards Utilize move Operation Towards convert bool Information Towards word data?

About User

Questions Asked: 37.9K

Answers Given: 32

0
  • Open

SIMATIC S7-1200: How Towards Utilize move Operation Towards convert bool Information Towards word data?

Please please answer even if my question is not perfect, I am new .. please.
I am working on festo modules. storing plant  on TIA portal with Siamese 1200.
I have 3 sensors signals.
Wp detected 
Wp is not black
Wp is metallic 
#wp= workpiece 
I need output as per truth table 
           Red black silver transparent 
Q 0.3.   0.    1.        0           1
Q0.4.     0.     0.     1.           1
Q0.5.       0.    O.   O.    O
Dec.     0.    0.      0.       0 
I am trying to use move function.
Is it good to use it ? If not please give suggestion.
If you can please provide you contact, I will more than happy to share full details. I am not sharing here because it contains whole images and all that.
Please help

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

Analog Input Capacity for CPU 1214 (6ES7214-1AG31-0XB0)

The CPU 1214 (6ES7214-1AG31-0XB0) does not have any integrated analog inputs. You will need to add analog input modules to expand its functionality.

Here's a breakdown of the possibilities:

  • Maximum Modules: The CPU 1214 supports a maximum of 8 signal modules.
  • Analog Input Modules: You can use modules from the 1212/1214 series, such as the 6ES7231-1PH10-0XB0 (4 AI, 12 Bit) or 6ES7231-1PH20-0XB0 (8 AI, 12 Bit).
  • Total Inputs: Depending on the modules you choose, you can achieve up to 64 analog inputs (8 modules x 8 inputs/module) but keep in mind the overall system limitations.

Important Considerations:

  • Check the Siemens Industry Online Support for compatibility and module specifications.
  • Consider the required resolution (12-bit, 16-bit) and signal type (voltage, current) when selecting modules.
0

Using Generated Certificates with S7-1200 Web Server

Dear Xhenet,

You are correct to reference the CertificateHandlingTIAPortal_V1_0_en.pdf document. The missing "Security" tab in the Web Server settings is a known issue related to the TIA Portal version and firmware of the S7-1200.

Here's how to resolve this:

  1. Update TIA Portal: Ensure you are using the latest version of TIA Portal. Siemens has addressed this issue in newer releases.
  2. Update PLC Firmware: Update the firmware of your S7-1200 PLC to the latest version. This is crucial as the firmware needs to support the certificate selection functionality.
  3. Check Web Server Version: Verify that you are using a web server version that supports certificate selection.

After performing these steps, the "Security" tab should appear in the Web Server settings, allowing you to select your generated TLS and Web Server certificates.

For detailed information, refer to the following Siemens support article:

How to use certificates with the TIA Portal Web Server

Best Regards,
Siemens Self Support

0

Protecting your S7-1200 PLC (6ES7 214-1AE30-0XB0)

Protecting your S7-1200 PLC involves surge suppression, proper grounding, and appropriate fuse protection for inputs. Here’s a detailed breakdown tailored to your components:

1. Surge Protection

Consider using surge protection modules (e.g., Siemens SITOP) at the power supply input and for critical signal inputs, especially in harsh environments. Refer to Siemens Surge Protection Guide for detailed information.

2. Grounding

Ensure proper grounding of the PLC, power supply, and all connected devices to a common ground point. This minimizes noise and protects against ground faults. Refer to the PLC hardware configuration manual for grounding instructions.

3. Input Fuse Specifications & Connection

Important: The S7-1200 inputs are typically protected internally, but external fusing provides an extra layer of protection against short circuits and overcurrents, particularly with inductive loads.

AI 6ES7 231-4HD32-0XB0 (4x 0-10V Analog Input) & AI 6ES7 232-4HB30-0XB0 (4x 4-20mA Analog Input)

  • Fuse Type: Fast-blow fuses are recommended.
  • Fuse Rating: 0.5A to 1A is generally sufficient for each channel. The exact rating depends on the external circuitry connected to the input.
  • Connection: Connect the fuse in series with the signal wire (positive or signal+) going to each input channel.

CPU 214-1AE30-0XB0 (DC 24V Input)

  • Fuse Type: Fast-blow or slow-blow fuse can be used depending on the load.
  • Fuse Rating: 4A - 6A is recommended for the overall 24V DC supply to the CPU.
  • Connection: This fuse should be placed at the 24V DC power supply input to the CPU, protecting the entire unit.

4. Documentation & Resources

Disclaimer: Always consult the Siemens documentation for your specific devices and application. Incorrect fuse selection or wiring can damage the PLC and connected equipment.

0

Siemens Self Support - Assistance for Your Festo & TIA Portal Project

Hello! Don't worry about your question not being "perfect" – we're here to help you learn. It's great you're working with a Siemens S7-1200 and Festo modules.

Regarding Your Truth Table and Logic

Using the MOVE function directly for this type of logic isn't the most efficient or readable approach. While it *can* be done, it's generally better to utilize Boolean logic operations within TIA Portal. Consider using AND, OR, and NOT instructions to implement your truth table. This will make your code easier to understand, maintain, and troubleshoot.

Suggested Approach

  1. Represent Sensors as Boolean Variables: Assign each sensor signal (Wp detected, Wp is not black, Wp is metallic) to a dedicated Boolean variable (e.g., "WpDetected", "WpNotBlack", "WpMetallic").
  2. Implement the Logic: Create a network for each output (Q0.3, Q0.4, Q0.5, Dec). Within each network, combine the sensor variables using AND and OR instructions to match the truth table’s conditions.
  3. Example (for Q0.3): Q0.3 = WpDetected AND WpNotBlack AND (NOT WpMetallic)

Resources

Here are some helpful resources from the Siemens Support website:

Further Assistance

While I cannot directly receive files (like images), you can open a support request through SiePortal. Include screenshots and detailed information there. Our support engineers can then provide more specific guidance. Please reference this conversation in your request.

0