PLC2U.com

...The latest article and sample code for your automation and control

  • Increase font size
  • Default font size
  • Decrease font size
Home Article

S7-200 Tip : Changing Direction

Special Hardware Requirements: None

This programming example shows how to control a three-phase induction motor with two possible rotational directions.
Use the momentary contact switch at input I0.0 to start the motor counterclockwise. Use the momentary contact switch at input I0.1 to start the motor clockwise. The prerequisites are that the motor circuit breaker at input I0.3 and the OFF switch at input I0.2 are not activated. The rotational direction cannot be changed until after the OFF switch is pressed and a waiting period of 5 s has elapsed. This allows the motor to brake and start up in the opposite direction.
Read more...
 

S7-200 Tip : Networking with GSM Modem

Special Hardware Requirements:  
For each station            1 x PC/PPI cable
For each station            1 x ELSA Micro Link 56k FUN modem or
                                    Siemens TC35 GSM modem
For each station            1 x Gender changer (male)

Functions:

1.                  Analog Modem
a.     Send data from an S7-200 head station to an S7-200 substation
b.     Send data from an S7-200 substation to an S7-200 head station

2.                  GSM Modem
a.     Send data from S7-200 head station to S7-200 substation
b.     Send data from an S7-200 substation
c.      Send messages from S7-200 substation
   
       -   SMS
           
-   E-mail
           
-   Fax

1.1  Overview

Read more...
 

S7-200 Tip : S7-200 PPI Network Notes

Special Hardware Requirements: None

Overview
  1. Token Ring Networks
  2. Gap Updates
  3. Tokens, Masters, and Slaves
  4. Bringing in a New Master
  5. “Busy’s” and Starving
  6. CP vs PC/PPI
  7. Busy’s Revisited
  8. Addendum A: A Note for Micro/WIN and Micro/DOS Users
  9. Addendum B: Network Component Matrix
  10. Addendum C: Physical Data
  11. Addendum D: Panel-Tec Information
  12. General Notes

Networking
The four connected devices in Figure 42.1 form a simple network. There are two CPU 224s and two CPU 222s. This network will be the basis for a discussion of more complicated networks and will help to illustrate some of the Dos and Don’ts of networking. We will be using PPI protocol for our communication. PPI is the default communications protocol of the CPU 224 and CPU 222. Freeport mode (in which serial communications are handled by the user program) are not discussed here.

Read more...
 

S7-200 Tip : Modbus RTU Slave

Special Hardware Requirements: None

Note!  Starting with STEP 7-Micro/WIN Version 3.2, a MODBUS Protocol Library (Optional Add-On Instruction Library 6ES7 830-2BC00-0YX0) was added.
As a result, the new library now provides an easier method of programming this task than is shown here

This program example includes a group of subroutines and interrupt routines which create a Modbus RTU slave using the Freeport functions of the S7-200. Modbus RTU is a binary protocol.

Read more...
 

S7-200 Tip : Using XMT/RCV

Special Hardware Requirements:
Operator Interface
This program uses the Terminal program that is shipped with Windows 3.1 (called HyperTerminal in later versions of Windows). The Terminal program should be configured as follows:
  • DEC VT100 (ANSI)
  • Local Echo
  • 9600, 7 bits, odd parity, 1 stop bit
  • Flow control -- none
Host
  • One S7-200 CPU
  • One PC/PPI cable. Attach one end to Port 0 of the CPU and the other end to an RS-232 port of the PC.
The PC/PPI cable should be configured for 9600 baud.
 
Read more...
 


Page 3 of 26

Blog Catalog

My BlogCatalog BlogRank

Blog Directory

Blog Directory & Search engine

Blog Directory

Technology

Visitors Counter

mod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_counter
mod_vvisit_counterToday85
mod_vvisit_counterYesterday165
mod_vvisit_counterThis week616
mod_vvisit_counterLast week811
mod_vvisit_counterThis month1106
mod_vvisit_counterLast month3010
mod_vvisit_counterAll days22837