PLC2U.com

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

  • Increase font size
  • Default font size
  • Decrease font size

S7-200 Tip : Connect to Ethernet

Special Hardware Requirements:
  • One SIMATIC S7-200 CPU
  • One PC/PPI cable
  • One programming device or PC
  • One external CoBox Ethernet or CoBox standard (DIN) rail, price approximately 1100.00 DM
  • One cable for the serial interface, for connecting the programming device or PC to the CoBox
  • One twisted pair cable for connecting the CoBox to the network


Note!  Starting with STEP 7-Micro/WIN Version 3.2.1, a Ethernet Wizard was added.
As a result, the new wizard now provides an easier method of programming this task than is shown here.

This tip shows how you can use the CoBox (made by the company Lantronix) with a SIMATIC S7-200 programmable logic controller. The modems connect an S7-200 CPU to a remote programming device or PC by means of Ethernet. In this way, you can program or monitor a remote CPU with STEP 7-Micro/WIN 32 version 3.0 by means of Ethernet.

Read more...
 

S7 ETHERNET/MPI Communication Server for SIMATIC S7-300/S7-400

Overview

The SIEMENS S7 ETHERNET/MPI Server (hereafter referred to as the “S7ETHMPI Server” or “S7ETHMPI” or “Server”) is a Microsoft Windows application program that acts as a communication protocol Server and allows other Windows application programs to access to the data from Siemens S7-300 and S7-400 controllers using the Ethernet gateway (communication adapter-cable) for MPI, providing interface between 10/100 Mbps Ethernet and Siemens MPI bus. The connection is possible with a hub or switch or Mia a crossover cable directly with PC network card, the used protocol is standard TCP/IP. Any Microsoft Windows program that is capable of acting as a DDE, FastDDE, Any SuiteLink or OPC Client may use the S7ETHMPI Server.

There are two different S7ETHMPI Server versions described in this manual:
- Server version (ordering number DR 470 10), supporting SuiteLink, FastDDE and DDE protocols; this version hereafter is referred to as the “Suite Link & DDE” version.
- Server version (ordering number DR 470 11), supporting OPC and DDE protocols; this version hereafter is referred to as the “OPC & DDE” version;
Read more...
 

S7-200 Tip :Using Excel to Read Data

Special Hardware Requirements:

SoftwareWedge for Windows: Professional Edition
Part # SW30WP (16 bit), SW3032P (32 bit), or other compatible software
Any Windows package that supports the DDE link

This programming example uses third-party software to read data from a SIMATIC S7-200 series CPU to a Windows application. A simple pumping system is simulated with the data being sent to different cells in Microsoft Excel.

Read more...
 

S7-200 Tip :Using a TD200

Special Hardware Requirements:  
  • One S7-200 CPU
  • Two TD 200s (version 1.1 or later)
  • Two TD/CPU cables (included with TD 200)
  • One Siemens PC/PPI cable
  • One PPI networking cable (optional)
  • One external power supply for TD 200 (115 V or 220 V) (optional)

This program example shows several of the new features of the TD 200 operator interface (version 1.1 and later). It was created to help you become familiar with the text display unit. For additional information about the TD 200, see the SIMATIC TD 200 Operator Interface User Manual.

Read more...
 

S7-200 Tip: Using a Bar Code Reader

Special Hardware Requirements:
  • One PC/PPI cable
  • One converter (depends on the interface of the bar code reader: for example, a 9-pin male to 25-pin female converter, or a null modem adapter for swapping lines 2 and 3)
  • One bar code reader
  • One bar code decoder (sometimes reader and decoder are one unit)

NOTE: One problem might occur. Because the SIMATIC S7-200 and the bar code reader both behave as slaves (data communications equipment, or DCE), the data transfer of each device tries to run in the same direction. This means that both the receive and transmit data lines end up connected to each other (lines 2 and 3). You can avoid this problem by setting up the converter properly or by using an appropriate wiring adapter (a null modem adapter).

This example demonstrates how to use an S7-200 CPU to receive data from a bar code reader by means of the Freeport communication mode of the CPU. You can use Freeport mode to transmit data and to receive data. In this case, you are receiving data from the bar code reader. The CPU receives the information through Port 0.
Read more...
 

S7-200 Tip: Remote I/O Network

Special Hardware Requirements:
One connection cable, 9-pin
If more than two PLCs are used (more than one slave), you will need a Siemens network bus connector.

In this example, three SIMATIC S7-200 CPUs are connected. Each one is a CPU 214. Station 0, called the master, is linked to stations 1 and 2, called the slaves. The master station sends four bytes of output data to each station in turn. As a result, each station responds with four bytes of input data. The Freeport communication mode is used for the data transmission.

Two memory buffers are reserved: one for remote inputs and one for remote outputs. The output data that is to be transmitted is captured by moving a double word value from the output buffer to the Transmit buffer. After transmitting, the master station receives the response of the slave stations and stores the data in the Receive buffer.

Read more...
 

Allen Bradley Guard PLC Driver for DeltaV Programmable Serial Interface Card

1 INTRODUCTION

1.1 Scope

This document is the User Manual for the Allen Bradley Guard PLC serial communication driver firmware for the Emerson DeltaV Control System; it
Read more...
 

Structured Text(ST) Programming Guide MELSEQ PLC

This guidebook is a commentary written for those who will use the GX Developer version 8 software package (hereafter abbreviated to GX Developer) to create structured text (hereafter abbreviated to ST) programs for the first time.

"Chapter 1" introduces the overview of the ST language and the features of the ST language in the MELSEC-Q series.
"Chapter 2 to Chapter 6" introduce a series of basic operation methods, such as the methods of creating, debugging and saving programs in ST language through sample programs.
"Chapter 7" introduces useful functions available from GX Developer.
"Chapter 8" introduces the method of creating a program, which uses an ST-written function block (FB) in a ladder program from the main program created in ladder form, as an application program.
"Chapters 4, 5 and 8" use the PLC CPU for explanation

Read more...
 

S7-200 Tip : Using a Hayes Modem

Special Hardware Requirements:

  • One PC/PPI cable
  • One appropriate interface (depends on the outputs of the modem: for example, a 9-pin male to 25-pin male)
  • One null modem for swapping the transmit and receive lines (lines 2 and 3)
  • One Hayes modem
    The Hayes modem should have a transmission rate of 9600 baud. However, you can use a slower modem.
Read more...
 

S7-200 Tip : Using AS-Interface Data

Special Hardware Requirements:  
Within the scope of the indicated sample system, the following actuator-sensor interface (AS-i) components are used:

  • For a minimum configuration, at least the components listed under item 1 to item 4 are needed. These components may also be connected with a single round cable.
  • The interface modules as well as the control device SIGNUM are connected by means of the AS-interface profile cable.
  • The addressing device is used for setting the slave address.

The slave addresses listed below are used for the sample system. The factory setting for the slaves address is 0. For operation, it has to be set to a value between 1 and 31.

Read more...
 

Visitors Counter

mod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_counter
mod_vvisit_counterToday45
mod_vvisit_counterYesterday39
mod_vvisit_counterThis week199
mod_vvisit_counterLast week565
mod_vvisit_counterThis month682
mod_vvisit_counterLast month1433
mod_vvisit_counterAll days4766

Blog Catalog

My BlogCatalog BlogRank

Blog Directory

Blog Directory & Search engine

Blog Directory

Technology