Ardiono UNO R3 testing new world all together

 

MORSE code SOS signal c program for arduino uno r3

 

int ledPin=5;//LED connect to Digital Pin 5 
void setup() {
//set pin mode to OUTPUT
  pinMode(ledPin, OUTPUT);

}

void loop() {
  //start a loop to Blink led on & off 3 times
  for (int i=0;i<3;i++){
    digitalWrite(ledPin, HIGH);//sets LED on in pin 5
    delay(150);//waits 150ms
    digitalWrite(ledPin, LOW);//sets LED off 
    delay(100);//waits 100ms  
  }
delay(100);//100ms delay to gap between morse code letters
  for (int i=0;i<3;i++){
    digitalWrite(ledPin, HIGH);//sets LED on in pin 5
    delay(400);//waits 150ms
    digitalWrite(ledPin, LOW);//sets LED off 
    delay(100);//waits 100ms  
  }
  delay(100);//100ms delay to gap between morse code letters
  for (int i=0;i<3;i++){
    digitalWrite(ledPin, HIGH);//sets LED on in pin 5
    delay(150);//waits 150ms
    digitalWrite(ledPin, LOW);//sets LED off 
    delay(100);//waits 100ms  
  }
delay(5000);//wait 5s before repeating same SOS signal
}
Advertisements

My Profile

Tags

, , , , ,

JOB PROFILE:

1.Planning and effective Preventive Maintenance of all the Productive

2.Machines as per schedule to increase machine up time and equipment Reliability

3.Breakdown Maintenance of all the machines

4.Installing and commissioning of AC Drive

6.Maintain monthly preventive maintenance report

7.Working experience in PLC (Siemens , Simatic-S5 ,S7)

8.Working experience of HMI, SCADA (WinCC, WinCC Flexible,Protool, ProSave, Wonderware Intouch)

15.Working experience in Different type of Sensors, Relays ,Temperature controller ,etc.

Siemens MicroWin Step7 for S7 200 Training Sample/Example Programs

Tags

, , ,

In the attached manual following example/sample tasks are covered. These are the very basic training for S7 200 Programming/ Micro PLC.
Program-1: Delayed Output using On-delay timer

Program-2: Interlocking Outputs Part1

Program-3: Interlocking Outputs Part2

Program-4: Subtract two analog input and display at analog output

Program-5: Traffic light system.

Program-6: Water tank level control and level-alarm generation.

Program-7: Time based fan control.

Program-8: Temperature C-F conversion.

Program-9: Shift Instruction

Program-10: Rounding and Swapping

Program-11: Single push button Start and Stop

You can download complete Tasks: s7 200 example programs

How to Open a Siemens Simatic S7 Multi-project

  1. Open Simatic Manager> Goto File>Open
  2. Select Multiproject Tab from Open Project Selection
  3. If the project already opened before then that multi-project will be in the list of multi-project in the pen Project window else click “Browse” to open another multi-project.

Opening Multiproject

 

  1. 4. Select following symbol of multi-project.

 

5. And then press OK. This will open Multi-project but another following step need to be done if you find no project in the Simatic manager/ broken link

6. Go to File>select Multi project>Insert into Multi-Project

7. This will open “Add to Multiproject window”

8. Select Browse>Goto the location of your multiproject folder and click  “Start Search”

9. This will down all the project on the right hand side “ User Project “ list.

10.Select all user project and press “OK”

Selecting projects

 

  1. 11. Now you are done. The complete multi project is now opened. If you don’t have all the optional software packages required to open the multi project then you will see some warning massages, just ignore them/confirm them.

 

Download the Manual:How to Open a Siemens Simatic S7 Multi

WinCC Named Connection Structure Tags & PLC SIM: Simulation Testing

Tags

, , , ,

WinCC Simulation with PLCSIM

WinCC structure tags cannot be simulated using any simulation software at present. But if we can move all these structure tags from under “Named Connection” to “MPI” or under “TCP/IP” then it is easier to SIMULATE the WinCC project in runtime like normal simulation.

First thing before you can start simulation of such WinCC project whose tags are under “Named connection” is to move those tags into MPI connection. Following are step by step guide to that.

Moving Tags from under “Named Connection”

  1. Open WinCC Project.
  2. Create new connection under MPI, say MP1,  adjust the slot number (=2)
  3. Open SQL Server 2005 and Connect
  4. Open Database> CC_WCS001_O_12_07_30_14_07_19 (As per your project name this will be different but format will be like this)>Tables> MCPTCONNECTION (Double Click/Right click to open the Table)>Open

Open Table:

Open Database table

1. Copy the PARAMETER data from “mp1” connection to “Your Project(This is name of your WinCC Project)” connection’ s PARAMETER

2. Save the SQL.

3. Open Database> CC_WCS001_O_12_07_30_14_07_19 (As per your project name this will be different)>Tables> MCPTCHANNELUNIT (Double Click/Right Click to open the Table)>Open

Open MCPTCHANNELUNIT:

4. Then Exchange the CHANNELUNIT NUMBER between “MP1” and Named Connection (here 0 & 7)

5. Save SQL

6. Close WinCC & Re-open.

7. Check the Properties of “Your Project” under MP1 and check the CPU Rack & Slot number as per actual MPI CPU installation/ slot 2 for PLCSIM.

Your Project here is Prepast_P1:

Your Project

8. Note MP1 is moved into Named Connection section. If you want to move back the Tags from under MPI/MP1 back into “Named Connection” then do the reverse same procedure to get back the original project after your SIMULATION is done.

9. Close SQL

Download complete Manual:Moving WinCC Tags under Named Connection

Siemens S5 with STEP 5 Training Course Modules

Tags

, , , , , , ,

Siemens S5 (Modules 1-4)

Duration: 4.5 days
Audience: Anybody needing to maintain or program a S5 project
Prerequisites: Basic computer skills
 

Course Outline

Module 1

This module introduces fundamental PLC concepts, including the cyclical execution of the user program, a Hardware Overview of S5 Central Processing Units (CPU’s/PLC’s), including the CPU 95U, 100U, 115U, 135U and 155U, an explanation of how to set I/O addresses for the modules typically used by each of these CPU’s. Furthermore, there is a conceptual overview of Structured Programming techniques, including basic descriptions of the types of Blocks which constitute a user program and how they are “Called” in the User Program. Descriptions of Hardware are focused based on the type of Simulator being used in the classroom and the application requirements of the student. Students are shown how to determine the assigned addresses of devices connected to I/O Modules, based on the assigned module address and its associated I/O Module Wiring Diagram.

Lessons

  1. Introduction to PLC’s
  2. Hardware Overview
  3. I/O Addressing Concepts
  4. Setting Module Addresses
  5. Setting PROFIBUS-DP Remote I/O Module Addresses
  6. Configuring a 95U as a DP Master
  7. Structured Programming Concepts

Module 2

This module focuses on the creation of or selection of an existing S5 Project, Performing an Overall Reset (Memory Reset) of the CPU, downloading the offline program to the PLC (Transfer of Blocks from the Program File to the PLC), and monitoring the programs contained in the blocks making up the PLC program (Organization, Program, Sequence and Function Blocks). This module also describes Basic S5 Operations, including normally open and closed “contacts,” “coils,” Set (Latch), Reset (Unlatch), Connector “Coils”, Negated Connector “Coils,” One-Shot Operations and how they are programmed, edited and monitored in Ladder Logic (LAD), Control System Flowchart (CSF), and Statement List (STL) representation. Translation rules for STL, CSF and LAD are emphasized. For example, some S5 Statements cannot be displayed in LAD. Others can be displayed in LAD, but may not display in LAD because of the way the STL program was created, for example, it ignored the LAD translation rules. In many instances, these STL Segments can be edited such that they will translate to LAD.

Lessons

  1. Step 5 Projects
  2. Basic Instructions in Ladder Logic
  3. Basic Instructions in Control System Flowchart
  4. Basic Instructions in Statement List

Module 3

This module continues the exploration of the Basic S5 instruction set, including Move (Load and Transfer), Timer, Counter, Comparison, and Math Instructions. Data Formats, Data Blocks and Function Blocks, including “Parameter Passing” are also covered in this Module. Application Examples and Exercises show program solutions based on the CPU being used, for example, Math Operations in a Low-End CPU (90U-95U-100U, 115U [941-944]), vs. High-End CPU’s, including (CPU 135U, and CPU 155U) or 115U Model CPU 945 CPU. LAD/CSF vs. STL solutions are also provided.

Lessons

  1. Timers
  2. Counters
  3. Comparison Operations
  4. Math Operations
  5. Function Blocks
  6. Data Formats and Data Blocks

Module 4

This module shows how to use a variety of S5 Tools to help troubleshoot a PLC program.

Lessons

  1. Documentation
  2. Searching
  3. Monitoring and Forcing
  4. Cross Reference Tools
  5. Interrupt Stack
  6. Special Class on S5 to S7 Migration