Tag Archives: plc basics

Mitsubishi PLC Fault Diagnosis Display 6402

This is the Mitsubishi FX series error Code

Incorrect storage capacity setting, Solution: Stop PLC operation, set the correct value with parameter mode
When the error light shines, the content of PLC user program is changed due to external reasons: the voltage drop of lithium battery, the influence of external interference and the internal failure of PLC, and the grammatical error of the writing program will make it shine.
When the error lamp is steady, it indicates that the CPU running out of control or the scan period exceeds the warning timer constant value set in d8000. This reason may be caused by external interference and internal failure of PLC.
When the program error lamp flashes, the timer is indicated, the counter’s constants are not set, or the program memory is wrong. In this case, the correct program should be written again

STEP 7 using the network settings configuration DP master systems

Network settings can also be used to distribute I/O configuration. With the View with DP Slaves/IO Devices on the network to browse displays or hides the DP Slave.

The DP master system configuration requires the following components:

PROFIBUS network (if it does not exist, drag the object from the network directory in PROFIBUS networks to network
In the envelope window).
DP master station of the workstation (if it does not exist, drag objects from the network directory for a Windows workstation to the network,
Open workstation with hardware configuration tool and select the DP master station, which can be integrated in the CPU can also be a
Independent modules).
From the DP master station connection to PROFIBUS networks (in a hardware configuration toolselect the network, or
DP master station network configuration double click on the network connection, and then hold and drag to a PROFIBUS network
In the network window, select that you want to configure from the DP master station. PROFIBUS DP” under network objects list found in the subdirectories and DP Slave station, drag it to the network window, fill in the Properties window that pops up.
Select DP Slave, and then use Edit  Open set the parameters Object to DP Slave. The hardware configuration is started. Now set the user data address, select I/O module or module from the station.
If you have previously created an intelligent DP Slave station, you can connect it to a network. Directories in the network object can be Configured stations (configured workstation) find intelligent type of the DP Slave, which together with the DP master station of your choice and drag the network window and then fill in the Properties window pops up (and identical in hardware configuration tool).
First select the master or the master station of the slave, with the View  Highlight Master System can stress the node configuration DP master system. With the View  Rearrange, can be connected to the optimal allocation of DP DP Slave on the primary station.

STEP 7 connect configuration

Connections describe communication between two devices. In the following case, the connection must be configured:
Established between the two SIMATIC S7 S7 communication (communication via aconfiguration connection).
Communication partners are not SIMATIC S7.

Note: for programming and debugging, programming the device directly connected online to the MPI network, does not require configuration connection. If you are programming the device reached the configured on other connected nodes on the network, it must be configurationprogramming devices of connection: network workstation the double-click to select PG/PC in the object list; in the network windowdouble click to open PG/PC; select the interface and configure it to a network.

1. Join tables

Communications connection configuration in the connection table. Condition has created a project with all workstations that need to Exchange data, and has a communications module has been configured to network.

CPU container objects in the Connections (connections) indicates that the connection table, double-click on it to start the network connection, as in the project on the networkdouble-click in the container.

The connection configuration, network configurationselect a S7-400 CPU. In the network window is the connection in the lower part of the table (as shown in table 2-1,if you do not see the table, position the mouse pointer on the bottom edge of thewindow, widen the window edge after deformation the mouse pointer). Insert  New Connection or double-click on an empty row to enter the new communication connection.

For each active CPU to create junction table. Please note, you cannot create a junction table for S7-300 CPU, S7-300 CPU only as S7 connection in the passive partner.

In the Insert New Connection (insert a new connection) in the window Station (station) and Module (module) dialog boxselect the communication partners (as shown in Figure 2-6), stations and modules must already exist. This window also determines the type of communication.
Communications connection configuration
If you want to set more communication features, activate the check box Before inserting:display properties (insert: display characteristics).

All the data connections table includes the configuration connection. If you want todisplay more clearly, select View  View  Display Columns and Optimize Column width.

2. Connection ID

The number of connections associated with the CPU. STEP 7 define a connection IDfor each connection and each partner. When using a communication block in your program, it is necessary to use this definition.

You can modify the local ID (the module ID of the connection being opened). If thecommunication block has finished programming, and local ID to define the connection, it is necessary to use this function.

Enter a hexadecimal number as a new local ID. This number must be in the following range, depending on the connection type, and there is no use:

S7 connection, a range of values is 0001H~0FFFH
S7 ‘s S7 connection can be mounted (S7-300), a range of values is 0001H~008FH
For point to point connections, a range of values is 1000H~1400H

Changing partners (communication objects) when the ID, enter the partner connection table changes after the local ID of the CPU (which is local): select the connectionline and choose Edit  Object Properties. If STEP 7 does not enter a partner ID, thenit is a one-way connection (see below).

3. Partner

This column displays the connection partner. If you want to save the connection source for a unnamed partners, then in the workstation dialog boxenter unspecified(unspecified).

In a one-way connection, communication can only be initiated by a partner, such asS7-400 and S7-300 ‘s S7 communication. Even if S7-300 CPU S7 communication function, or S7-400 CPU with SFB 14 GET and SFB 15 PUT to Exchange data. S7-300 CPU, users without this communication process, handled by the operating system fordata exchange.

One-way connection in the active CPU configuration in the connection table, STEP7 to configure local ID, just loading the connection on the local workstation.

For bidirectional connections, both partners can initiate communication, such as two communication SFB 8 SEND and SFB 9 BRCV S7-400 CPU.

As long as the configuration of one of the two partners can be a two-way connection, STEP 7 and then configure local ID and partner ID, and generated for two workstations to connect to data. Load for each partner must be given its own connections table.

4. Connection type

STEP 7 basic package provides the following types of connections in the network configuration:

Point to point connections, allowing PTP S7 communication network [3964 (r) and RK 512 program]. PtP (point to point) connection is a serial connection between the two partners. Can be two SIMATIC S7 with appropriate interface deviceor CP, or they can be non-Siemens SIMATIC S7 devices and equipment, such as printers or barcode reader.

S7, S7 MPI, PROFIBUS or industrial Ethernet network. S7 connection is a connectionbetween SIMATIC S7, including programmable devices and human interfacedevices. Data exchanged through S7 connection, or programming and performing control functions.

Fault-tolerant S7 connection for use of industrial Ethernet and PROFIBUS S7 communication network. Fault-tolerant S7 connection is established between the fault-tolerant SIMATIC S7, can also be used on a suitably equipped PC.

Software components SIMATIC NCM” is part of STEP 7, use to set parameters for CP. The following connection types to choose from: FMS, FDL connect connection, ISO transport connection ISO connection, based on TCP, TCP connections, UDP and E-mail connections.

5. Establish an active connection

Before the actual data transfer, we must establish a connection (initialize). If partners have the ability to specify which device to establish a connection, use check box inthe connection properties window Active Connection Buildup to specify (select connection, and then choose Edit  Object Properties).
6. Send status message

Configured for bi-directional connection partners can exchange status messages. Ifthe local node operational status message to be sent, activate the corresponding check box in the connection properties window. CPU users in partner program, SFB 23USTATUS for these messages can be received.

7. Connection path

Connection properties window shows the end of the connection endpoints and connections running network, this is the connection path. If there is a choice of severalsub-networks, STEP 7 the selection order is: industrial Ethernet, industrial Ethernet,/TCP-IP, MPI, and finally the PROFIBUS.

Running connect workstations and CPU as the end of the connection Endpoints. Module with communications capabilities in the Interface (interface) is listed, and alsodetermine the frame number and the slot. If the CPU is in the same frame (such as the S7-400 CPU in multiprocessor mode), the display box shows PLC intemal (PLC).

In the Type (type), and select the network connections run. For example, if two partners is available in the same MPI” on the network, and on to a PROFIBUS networkare Type. (Type) is specified as MPI . You can now change the description PROFIBUS” STEP 7 will automatically change the other settings. In the Address (address)see the MPI or PROFIBUS address of the node.

8. Connection between the projects

To belong to a different Exchange data between two S7 SIMATIC project module, enter in the table for this connection partners unspecified (unspecified) (in two projects for the local workstation).
Verify that the connection data in the two projects together (STEP 7 does not test), save and compile the connection data is loaded into the local workstation for each project.

If the project went on to become a part of multiple projects and its connecting partners in a project of this multiple item, select In unknown project (unknown) as theconnection partner, and then in the Properties windowenter the connection nameestablished (refer to).

9. Connect the S7 station

In a project, you can also define S7 workstation workstations as connectionpartners:
Other stations (non-Siemens S7 workstation in the equipment and other items)

Programming device/PC
SIMATIC S5 workstation

Prerequisites for configurationthis connection is S7 workstation project exists as anobject in a container, and you have workstation characteristics will be S7 workstationconnected to the network (such as network configurationselect workstation, useEdit  Object Properties in the Interface (interface) tab on a workstation connected to the network of hope).

STEP 7 of the network transformation

If your programming device is connected to a network, it is able to reach all the other nodes on the network. For example, a connection point for all S7 workstation that is connected to an MPI network programming and debugging. If another network (such as PROFIBUS) attached to an S7 station, programming devices can reach the workstations on the network. The prerequisite of this is network workstation with a routing of the conversion function, that isto guide the transformation of message framing.

In the network configuration when compiled, automatically convert network workstation generates a routing table that includes all of the necessary information. All communication partners must be in a S7 project of equipment in the network configuration, and they must be provided about which networks can reach which workstations and network transformation knowledge.

If you want to use programmable devices from one connection point to all nodes inthe network, the connection point must be configuration. Enter a placeholder, that isnetwork configuration from the network network object in the directory PG/PC workstation. In the programmable devices on each network you want to connect, forPG/PC configuration.
At run time, the programming device is connected to a network, and then select Assign PLC → PG/PC, the programming interface of the device changes to network configuration settings. Prior to the programming device disconnected from the network,select Undo PLC → PG/PC Assignment.

If you want the programming did not include a required project online, S7 network ID is required when entering the network. The ID consists of two numbers: the project number and subnet number. Can get the network number in the network configuration: select the network, and then in the General tabselect Edit  Object Properties.

STEP 7 load connection data

To activate a connection, you must save and compile the connection table is loadedinto PLC (all the all loaded into the table initiative in the CPU).

Do the above conditions: the user is already in the network window, and the connection table is visible. Programming device is a node in the network, with communication capabilities that will be loaded into the table module is also on the network. All child nodes of the network node is assigned a separate address. Connected data modules will be loaded in STOP mode.

PLC → Download → in current project … Connection and configuration data to the read-write module. Depending on the selected objects and select menu commands,choose between the following:

 The Selected Stations (selected workstation)
 Selected and Partner Stations (selected workstation workstations and partners)
 Stations on the Subnet (a workstation on the network)
 The Selected Connections (the connection you selected)
 Connections and Gateways (connection with the gateway)

Programmable module you want to remove all the connections, just an empty tableto the relevant module is loaded.
Compiled connection data Blocks (block) container System data (System data) partof it. CPU to start after system data linking the data to the module with communications capabilities.

Online through the MPI runtime, programming device does not require additional hardware. If you want to connect the PC to the network or to connect the programming device to the Ethernet or PROFIBUS, needs the appropriate interface module. InWindows Control Panel (Windows Control Panel) in the Set PG/PC Interface (sets the PG/PC interface) tool to the module set parameters.

TRIN svarer til over mere end 7 elementer i projektet

When opening multiple projects with the network configuration tool, a window is displayed, Windows are multiple items in the project. If opening is included in multiple items in a project and select View  Multiproject, you can also get this window. This window shows the multiple items in the project and has grouped network between projects. Double-click Select items can be further processed.

Projects typically include the communication links between the variousworkstations. If the project as a single multipleproject, or a project includes multiple projects already in existence, and these connections can be a mix and match.
Multiple items in a network configuration

1. Combination network
FirstMPI, PROFIBUS and industrial Port-au-Prince network together, if is going to be a combination of subnet have the same subnet ID. Select subnet, network configuration tools, you can use Edit  set Object Properties.

With the Multiproject File   Adjust Projects, you can call in the SIMATIC ManagerWizard to open multiple projects, which can support the match. In the network configuration, use Edit → Merge/unmerge subnetworks → … Get dialog window.

Select the network type, click on Run (run) button, get multiple subnet corresponding to the selected type in the project. You can now select items of each network into multiple networks. You can use a dialog box to remove networks from the network.

In a multiple projects, you can create several different types of networks. This Subnetwork properties determined by the first to add subnet, or by clicking Select (select)button the selected networks. Click OK” or import (input) responds to the set. Aspart of the multi network subnet, use different symbol recognition in the SIMATICManager.

2. Combined connection

Configuration in a separate project and connection to communicate with another partner in the project, can be a combination of multiple projects. If the configurationin a separate project when, in the window Insert new connection (insert a new connection) select partner In unknown project (unknown), in the window Properties-S7 connection (characteristics of-S7 connection)enter connection name (reference).In different projects in connection with the same connection name can be automatically combined.

In the SIMATIC Manager, if you click the Merge connections (combination connection) and Execute (execute), can be represented by a match Wizard to complete this task. With the same connection name (reference) connected together.

In the network configuration, can also be combined with the undefined partner connection. Select Edit  Merge connections, get a fully configured the connection dialog box. In each Connections without connection partners (not connected with connection partners) windowselect a connection, and then select Possible connection partners (possible connection), then click Assign (distribution). The assigned connection listed in the lower window Assigned connections (allocatedconnection), and then Merge (combo) combined connection. Assigned to the connection attribute is local to the project that is currently open module feature, whencombined can modify connection properties.

3. Configuration items

Network mix after the configuration items. Its connections within the process and project the same increase is the partner of the project description.

Siemens S7-200PLC Counter Area (C)

In the S7-200 CPU, the counter for the accumulated number of pulses from the input terminal or internal components sent. It has up counter, down counter and up / down counter 3 types.
Due to limitations counter frequency scan cycle, when the need for high-frequency signal can be counted when a high frequency counter (HSC).
There are two forms of addressing the counter.
● the current value of addressing: 16-bit signed integer stores the accumulated number of pulses.
● Counter-bit addressing: a comparison result based on the current value and the preset value is set or reset. Like timers, both addressing ways to use the same format, namely C + counter number. For example: C0

Siemens S7-200 PLC local variable storage area (L)

Local variables and variable storage memory is very similar, the main difference is that the local variables memory is partially valid, the variable memory is globally effective.
Globally effective refer to the same memory can be used by any program (such as main program, an interrupt routine or subroutine) access to local storage areas and effective means associated with a particular program.
Local variables memory often used as a memory for temporary data transfer function or subroutine. Can be bit, byte, word, or double word to access the data storage area of the local variables.
Bit: L [byte address]. [Bit Address] L0. 5
Byte, word or double word: L [length] [starting byte address] LB34 LW20 LD4

Siemens S7-200 series PLC analog input (A1)

S7-200 converts an analog value (such as temperature or voltage) into a word-length (16-bit) digital value.
You can use the area identifier (AI), the data length (W) and the starting byte address to access these values.
Since analog inputs of a word, and the even-number bytes (such as 0,2,4) started, it must be an even number byte addresses (such as AIW0, AIW2, AIW4) to access these values. Analog input value is read-only data, the actual accuracy analog conversion is 12.
Format: AQW [starting byte address] AIW4

How Siemens S7-200 series PLC’s power requirements and calculation?

S7-200 CPU module provides 5VDC and 24VDC power supply:
When an expansion module CPU through I / O bus to provide 5V power supply, all the expansion module 5V power consumption of the CPU and can not exceed the rated power provided. If not enough external 5V power supply. Each CPU has a 24VDC sensor power supply, it is native input and expansion module input and expansion modules provide relay coil 24VDC.
If the power requirement exceeds the power budget of the CPU module, you can add an external 24VDC power supply to provide to the expansion module.
The so-called power calculation is to use the CPU can provide power capacity, minus the modules required to power consumption.
Note: EM277 module itself does not require 24VDC power supply, the power supply is designed for communication port used. 24VDC power supply requirements depend on the size of the load on the communication ports.
Communication port on the CPU, you can connect PC / PPI cable and TD 200 and give them power, the power consumption has no longer included in the calculation.

What is the difference S7-200 PLC system operating temperature

s7-200 PLC work at minus 20 degrees?
S7-200 working environment requirements:
0 ° C-55 ° C, horizontal installation
0 ° C-45 ° C, vertical mounting
95% relative humidity, non-condensing
Siemens also offers a wide temperature range S7-200 product (SIPLUS S7-200):
Operating temperature range: -25 ° C- + 70 ° C
Relative Humidity: 55 ° C at 98%, 70 ° C 45%
Other parameters of the same product with the ordinary S7-200

Three types of Siemens industrial control software introduction

Siemens industrial software is divided into three different categories:
(1) programming and engineering tool for programming and engineering tool includes all PLC-based or PC for programming, configuration, simulation and control tools needed maintenance. STEP 7 standard package SIMATIC S7 for S7-300 / 400, C7 PLC and SIMATIC WinAC PC-based control product configuration programming and maintenance of project management tools, STEP 7-Micro / WIN is running on a Windows platform S7 -200 series PLC programming, on-line simulation software.
(2) PC-based control software WinAC PC-based control systems allow the use of a personal computer as a programmable logic controller (PLC) run user programs run in Windows NT4.0 operating system installed on the SIMATIC IPC or any other commercial machine. WinAC offers two PLC, one is software PLC, on the user’s computer to run as a Windows task. Another is the slot PLC (install a PC card in the user’s computer), it has all the features of the hardware PLC. WinAC and SIMATIC S7 series processor is fully compatible with its unified programming SIMATIC programming tools (eg STEP 7), programmed to run on either WinAC, also runs on S7 series processors.
(3) human-machine interface software HMI automation software for users to project human-machine interface (HMI) or SCADA system that supports a wide range of platforms. HMI software, there are two, one is applied to the machine-level ProTool, the other is applied to monitor the level of WinCC.
ProTool for most HMI hardware configuration from the operator panel to a standard PC can be used to integrate effectively complete the configuration of ProTool in STEP 7. Configuring ProTool / lite for text display, such as: OP3, OP7, OP17, TD17 like. ProTool / Pro is used to configure all the standard PC and Siemens HMI products, ProTool / Pro not only configuration software, which runs Windows version is also used to monitor system platform.
WinCC is a truly open-oriented monitoring and data acquisition SCADA (Supervisory Control and Data Acquisition) software can be run on any standard PC. WinCC simple operation, high reliability, integration with STEP 7 function, direct access to the PLC system hardware failure, save project development time. It is designed for a wide range of applications, can be connected to the existing automation environment, a large number of communication interfaces and comprehensive process information and data processing capabilities, its latest WinCC5.0 support via IE browser dynamic monitoring of production at the office process

Through the program determines the touch screen and plc communication failure method

The usual method is to use heartbeat, defined a bool, HMI fixed point set the frequency, PLC receives the point after ON signal is reset. If a period of time, for example, do not receive the points for the ON signal within 5s, it is considered Tongxu interrupted.plc to the memory clock of bytes transmitted to the screen, this screen script-byte value assigned to another address within a plc, plc judge then returned within two bytes of the scan cycle is the same, if the communication is interrupted as described .
For example, look at Figure, follow these steps:1, the establishment of a data block DB1 in the PLC, which provided two switch “PLC seconds switch” and “man-machine switch response”2, human variable connecting these two variables3, the display unit in the property “PLC seconds switch” variable —- event —- add value change “is negated bit” so that “in response to human-computer switch” variable with “PLC seconds switch” change change .4, PLC programming block, let ‘s PLC switch “reverse every 0.5 seconds, and then let TON delay instruction” man-machine switch response “no action within 1 second output man-machine communication failed because the man-machine communication after abnormal “man-machine switch response” will change no longer occurs.

PLC conduction delay timer instruction (TON)

When the limit switch 1 is set, the indicator 2 ON 180ms (timer clocked). When the accumulated value of the timer 1 (.ACC) reaches 180, 2 lights off, the indicator 3 is turned on, and remains on until the TON instruction is disabled. If you disconnect the timer is timing the limit switch 1, then turn off light 2.

Ladder Diagram

What is the difference between circuit and magnetic circuit

What is a circuit?

EMF (voltage) under the path of the currents flowing through the circuit. Usually consists of a power supply, load and switch it into three parts. The magnitude and direction of the current flowing through the circuit the circuit does not change with time, called the DC circuit. The magnitude and direction of the current flowing through the circuit circuit over time, called the AC circuit.

Magnetic circuit is what does that mean?

When you iron core coil, magnetomotive force generated by the magnetic flux, mainly concentrated in the path specified by the core, this path is called the magnetic circuit. By excitation of magnetic circuit of direct current, called the DC magnetic circuit, by the magnetic circuit of the alternating current excitation, called AC magnetic circuit.

Circuit magnetic circuits have a lot in common with the place. In the circuit, current is the electric potential generated, in magnetic circuits, magnetic flux is produced by MMF. In the circuit, current through the resistance will cause a voltage drop, in the magnetic circuit, have a magnetic flux through magnetic resistance pressure drop. In the circuit, use Ohm’s law to represent the relationship between current, resistance and voltage drop, in magnetic circuits, and circuit magnetic circuits similar to Ohm’s law for magnetic flux, the relationship between reluctance and MMF.

However, the circuit and the magnetic circuit is essentially different from, must not be confused. Main difference they sum up a few points:
(1) current representatives charge mobile, which does not represent any particle moving. Magnetic flux through the HIV resistance, unlike the current through the resistor that consume energy, maintaining a constant magnetic flux does not require any child. Therefore, you can have circuit breaker in the circuit, not on the magnetic circuit in the circuit breaker, as long as the presence of magnetomotive force, always gives rise to a corresponding magnetic flux, magnetic flux is continuous.

(2) in a circuit, electrically conductive material conductivity is generally larger than the conductivity of the insulation material of several thousand or more, so the leakage current of the circuit is very small, can be ignored. In the magnetic circuit and the permeability of ferromagnetic materials is generally higher than non-permeability of ferromagnetic materials thousands of times larger or smaller. Therefore, the phenomenon of magnetic flux leakage in magnetic circuit is much more serious than the leakage in the circuit. This makes the calculation of magnetic circuit with large errors, unlike circuit can be calculated more accurately.

(3) in the circuit, when there is no EMF and current is equal to zero. And when no magnetomotive force of magnetic circuit due to hysteresis, always more or less residual magnetism.

(4) due to ferromagnetic materials have magnetic saturation, so the reluctance of the magnetic circuit is nonlinear, and General circuit resistance is linear resistors are not the same. Therefore, the magnetic circuit Ohm’s law generally only used for a qualitative analysis of the magnetic circuit.

Difference of thermocouple and thermal resistance

Thermocouple and RTD are contactless temperature measurement of temperature measurement, although its the same, it is measuring the temperature of a body, but their principles and characteristics are different.
First of all, introduce the thermocouple. The temperature of thermocouple temperature measurement is the most widely used devices, whose main features are wide temperature range, stable performance, and simple structure, dynamic response, better able to remote 4-20mA signal, easy to control and centralized control. Thermocouple temperature measurement principle is based on the thermoelectric effect. Two different conductors or semiconductors into closed loop, when the temperature at two points at the same time, the loop will be produced in the thermoelectric power, a phenomenon known as the thermoelectric effect, also known as the seebeck effect.
Thermoelectric power in a closed circuit, there are two potential: the difference in electric potential and the contact potential. Temperature difference electromotive force is the same at both ends of the conductor electric potential arising from temperature, different conductors with different electron densities, so their potential is not the same and contact potential by definition refers to two different types of conductor contact, because of their Electron density is different, so there‘s a certain amount of electron diffusion, when they reach a certain balance formed by electric potential. Contact potential depends on the size of conductors of two different materials, as well as their contact point temperature. Currently international Shang application of thermocouple has a standard specification, international Shang provides thermocouple is divided into eight a different of points degrees, respectively for b, and r, and s, and k, and n, and e, and j and t, its measurement temperature of minimum can measuring lingxia270sheshidu, highest can up 1800 degrees Celsius, which b, and r, and s belongs to Platinum series of thermocouple, due to Platinum belongs to your heavy metal, so they and was called precious metals thermocouple. While the rest of the then known as cheap metal thermocouples.
Structure there are two kinds of thermocouple, ordinary and sheathing. Common thermocouple thermoelectric poles, insulating tubes, cannula and junction boxes, and other components, and sheathed thermocouple the thermocouple wire, insulating material and metallic cannula combinations of the three Assembly, after drawing a solid combination. But signals of thermocouple needs a special wire to pass the wires we call compensating wire. Requires different different thermocouple compensating conductor, its main role is to connect to the thermocouple, thermocouple reference junction away from the power supply, so that the reference junction temperature.
Compensating cables are divided into two types of compensation and extension, extension lead the same chemical composition and compensation of thermocouple, but in practice, extend the wire and thermocouple for is not the same as the metal, and thermocouple wire with the same Electron density is usually used instead. Compensation wire and thermocouple wires are generally simple, positive connection of thermocouple compensating wire red wire, while the anode is connected the rest of the colors. Most general material of compensating wire made of copper-nickel alloy.
Second, we introduce thermal resistance, thermal resistance are widely applied in industry, but due to the temperature range of the application subject to certain restrictions, RTD temperature measurement principle is based on the conductor or semiconductor characteristic of resistance change with temperature changes. Its advantages are many, can also transfer electrical signals, high sensitivity, strong stability, interchangeability, and accuracy is good, but need the power incentive, not instantaneous temperature changes. Industrial thermal resistance Pt100,Pt10,Cu50,Cu100, platinum resistance temperature measurement range is generally lingxia200-800sheshidu, copper heat resistance is lingxia40dao140sheshidu. The distinction between RTD and Thermocouple type, but he did not go to compensating cables, and cheaper than thermocouples.

Of course there are differences, is a temperature sensor of thermocouple and RTD temperature sensor, as is, but the main difference is that he and thermal resistance:
First, the nature of the signal, heat resistance was resistance, temperature changes, have a positive or negative value change in resistance and thermally coupled, is the induced voltage changes, he changes with changes in temperature.
Second, two sensor for detecting temperature range are not the same, General testing heat resistance 0-150 degree temperature range, maximum measuring range of up to 600 degrees (of course you can test negative temperature).
Thermal coupling temperature of 0-1000 degrees detection range (or even higher), the former is the low temperature testing, which is high temperature detection.
Third, from the material, the thermal resistance is a metallic material, with changes of temperaturesensitive metal, thermal coupling is bi-metals, both of two different metals, due to changes in temperature, electrical potential difference at two different ends of the wire.
Four, corresponding to the PLC RTD and thermocouple input module is not the same, this sentence is not a problem, but in General PLC access 4~20mA signal directly, RTD and thermocouple transmitter to access PLC. If access transmitters for use in DCS, then you don’t have to! Thermal resistance is the RTD signal electric Europe is TC signal!
Five modules, the PLC also has thermal resistance and thermocouple modules can be directly input and thermocouple signals.
Six, a thermoelectric couple j, t, n, k, and s type, are more expensive than resistance, there are cheaper than resistance, but compensating cables are included, high cost thermocouples.
Thermal resistance is resistance signal, thermocouple voltage signal.
Seven, heat resistance temperature measurement principle is based on the conductor (or semiconductors) measured by the variation of resistance with temperature measurement range is negative 00~500du, commonly used are platinum resistance thermometer (Pt100, Pt10), copper Cu50 (50-150 degrees).
Thermocouple temperature principle is based on thermoelectric to measurement temperature of, common of has Platinum rhodium–Platinum (points degrees, s, measurement range 0~1300du), and nickel chrome–nickel Silicon (points degrees, k, measurement range 0~900du), and nickel chrome–Lala (points degrees, e, measurement range 0~600du), and Platinum rhodium 30–Platinum rhodium 6 (points degrees, b, measurement range 0~1600du).

Charge heat resistance also has two terminals to be screwed together two negative leads in thermal resistance a thermal resistance of only two terminals on the Terminal is not divided into positive and negative
Is there have been posts on this forum I turned
RTD and thermocouple measurement principle and difference
Thermocouples are one of the most commonly used temperature sensor in industry. Its advantages are:
high measurement accuracy. Thermocouple direct contact with the object being measured, not under the influence of medium.
wide measurement range. Commonly used heat measurements from -50~ 1600 c can be continued, some extraordinary thermocouple minimum measurable269 (gold in FE-NI-CR), up to a maximum of 2,800 (such as tungstenrhenium).
simple structure, easy to use. Thermocouples are usually made up of two different kinds of wire, and are not subject to size restrictions and opening, outer protective casing, it is very convenient to use.
1. Thermocouples principle
The two conductors or semiconductor a and b of different materials welded together to form a closed loop. When the conductor a and b two attachment points 1 and 2 when there is a temperature difference, between EMF and current in the circuit forming a size, a phenomenon known as the thermoelectric effect. Thermocouple is used this effect to work.

2. Thermocouple type and structure formation
(1) type of thermocouple
Common thermocouple thermocouple can be divided into standard and non standard thermocouple in two categories. Standard thermocouple is a national standard that is called its thermoelectric power and temperature relationship, agreed error, and a unified standard thermocouple indexing table, it has its matching display instrument for selection. Non standard thermocouple in use or on the orders of magnitude are not standardized thermocouple, in General, no uniform indexing table, mainly for the measurement of some extraordinary occasions. Standard thermocouple
From January 1, 1988, the thermocouple and thermal resistance according to IEC international standards of production, and specify s, b, e, k, r, j, t, seven kinds of standardizing the thermocouple in a unified design-type thermocouple.
(2) thermocouple‘s structure in order to ensure that the thermocouple is reliable and stable work, its structure is as follows:
two thermoelectric thermocouple composed of welding to be fixed;
Between the two heating each other should be well insulated to prevent short circuits;
compensating cables connect to the free end of the thermocouple to be convenient and reliable;
cannula should ensure full heat and harmful media isolation.
3. Temperature compensation for thermocouple cold junction
Because the thermocouple materials are generally more valuable (especially when using precious metals), and temperature measurement points to a very far distance from meter to save thermocouple materials, reduce costs, often using compensation wires of thermocouple cold end (end) extends to the relatively stable temperature control, connected to the instrument terminals. It must be noted that thermocouple compensating wire extends only thermoelectric, thermocouple cold-end to move to the control room on the instrument terminals, which itself does not eliminate the cold junction temperature changes affect the temperature, without compensation. Therefore, other amendments should be used to compensate for the cold end temperature t0 0 temperature effects.
When using a thermocouple compensating wire must focus on model matching, polarity cannot be wrong, compensation lead wire and thermocouple connections-side temperature should not exceed 100 degrees centigrade.
Classification of temperature measuring instruments
Temperature measurement instruments can be classified by temperature measurement methodscontact and noncontact two categories. Generally contactless measuring instrument instruments are simple and reliable, high precision but because of temperature measurement component fully with measured medium needs to be hot to make King Kong, need time to reach thermal equilibrium, there are temperature delays, as well as by the limit of high temperature resistant material, cannot be applied to high temperature measurements. Non-contact type instrument temperature is through hot radiation principle to measurement temperature of, temperature components not needed and was measuring media contact, temperature range wide, not by temperature ceiling of limit, also not damage was measuring objects of temperature field, reaction speed General also compared fast; but by objects of launches rate, and measurement distance, and dust and water, outside factors of effect, its measurement errors larger.
Thermal resistance of applied principles
Thermal resistance is most commonly used as a low-temperature zone temperature detector. Its main feature is a high precision, stable performance. Platinum is the resistance of the measuring accuracy is the highest, it is widely used in industrial temperature measurement, and was made the standard reference instrument.
1. Heatresistance temperature measurement principle and material
Heat resistance temperature measurement is based on the metal conductor resistance value and increases with the temperature of this feature for temperature measurement. Thermal resistance are made from pure, Platinum and copper is the largest at present and, in addition, has now begun using meadow, NI, MN and RH material thermal resistance.
2. Thermal resistance of structure
(1) master heat resistance
From the principle of heat resistance, measured changes in temperature are measured directly through the thermal resistance changes, therefore, RTD lead wire and other wire resistance changes affect temperature measurements. To suppress lead wire resistance effects of using three-wire or fourwire,
(2) armoured thermal resistance
Armoured thermal resistance is determined by the temperature of the components (resistors), lead, insulation material, combination of the solid body of the stainless steel casing diameter for PHI 2~ 8mm, minimum diameter of mm.
Compared with ordinary thermal resistance, which has the following advantages: small size, internal airgap, on the thermal inertia, measure lag small; second, the mechanical properties and good resistance to vibration, impact c can bend, facilitating the installation II and long service life.
(3) end of thermal resistance
Surface heat resistance temperature element processed by the extraordinary resistance of wires around the system, against the thermometer end, its structure is shown in Figure 2-18. It compared with the axial thermal resistance, to reflect more accurately and quickly end the actual temperature being measured, suitable for measuring the surface temperature of bearing and other parts.
(4) flameresistance
Flameproof thermal resistance junction box through extraordinary structure, explosive gas mixture inside the housing due to spark or arc and explosion effects and limitations within the junction box, site not hyper-explosion. Flameproof thermal resistance can be used in Bla~B3c-level explosion hazardous area temperature measurement within the area.
3. Heat resistance temperature measurement system for
Heat resistance temperature measurement system by thermal resistors, connected components, such as wiring and display instruments. Must focus on the following two points: thermal resistance index and display instrument must be consistent
in order to eliminate the influence of wire resistance changes, you must use three-wire bonding method
(2) armoured thermal resistance
Armoured thermal resistance is determined by the temperature of the components (resistors), lead, insulation materials, a combination of stainless steel casing of a solid body, it is generally the outside diameter of φ 2~ PHI 8mm, minimum diameter of mm.
Compared with ordinary thermal resistance, which has the following advantages: small size, internal airgap, on the thermal inertia, measure lag small; second, the mechanical properties and good resistance to vibration, impact c can bend, facilitating the installation II and long service life.
(3) end of thermal resistance
Surface heat resistance temperature element processed by the extraordinary resistance of wires around the system, against the thermometer end, compared with axial thermal resistance, to reflect more accurately and quickly end the actual temperature being measured, suitable for measuring the surface temperature of bearing and other parts.
(4) flameflameproof electric barrier thermal resistance junction box through extraordinary structure, explosive gas mixture inside the housing due to spark or arc shadow resistance of circuit breaker repair it is necessary to change the length of the resistance wire affect resistance, for replacement of the resistor as well, if the use of welding repairs, after checking compliance before use
Add, thermocouple need to use cables, thermal resistance common control cable is OK for general use (must select fire-resistant high temperature type)

Siemens S7-300 plc can extend several racks

Siemens S7-300PLC 3 racks can be extended, count of CPU unit No. 0, altogether 4 rack, 32 modules, right? I have a question, can I extend 4 rack, rack, count the No. 0/5, with 20 modules? 4 153 connection 5 rack, can you?

Siemens S7-300plc 1, mainly to see what type of CPU. Different CPU‘s ability to extend different

2, for example, your CPU CPU 315-2 PN/DP features: maximum I/O capacity of 16,384 for digital input and digital output 16,384, 1024 analog channel inputs and 1024 outputs. Distributed i/o are included, the sum total of all the years. Maximum number of expansion rack for 4, including a No. 0 rack. One of up to 8 modules, I/O point number as long as you are within range.

3, No. 0, machine frame, a total of 5, with 20 modules, is not acceptable.

The key: expansion rack models are IM361, hosts 3rd slot with IM360, altogether 4 expansion can be achieved.

What you say IM153 is ET200M communications interface module, IO modules can connect 8 S7300 behind him, so the ET200 refers to the series, while IM153 is ET200 communication module

ET-200M is SIEMENS S7-PLC distributed I/O, which is a remote I/O stations, the various modules can be used S7-300. Its main feature is the remote I/O (including analog) through the communication lines to the host, this saves a lot of signal cables, makes the clear structure, easy to maintain.

6ES7 ET200M interface 6ES7 153-2BA02-0XB0 153-1AA03-0XB0 are modular remote I/O, configuration and configure the standard I/O template, which is an upgraded version of the former, backward compatible, so 6ES7 153-2BA02-0XB can replace 6ES7 153-1AA03-0XB0

6ES7 6ES7 153-2BA02-0XB0 and 153-1AA03-0XB0 in the structure is the same, so with the PROFIBUS connector interface is the same, same connector for two types of modules can be inserted, the only difference is that the latter more standard I/O module can be inserted.

Difference between Simens PLC S7-200 and S7-300

Hardware differences

S7-300 in order to meet the large and middle scale control system, and design more modular. S7-200 series is integral, CPU module, the I/O module and the power supply module in a module, called CPU modules and S7-300 series, from the power supply, I/O,CPU and the rail is a separate module.

Actually S7-200 series can be extended, and some smaller systems do not require additional custom modules, S7-200 series modules also have signaling, communication, control and other modules.

S7-200 series has no concept of machine, called Guide; in order to facilitate control, S7-300 series module was mounted on a rail, called a rack, is an extended frame corresponding to the Central rack, rack also is reflected in the software.

S7-200 series on the same rack module by module directly above the data connectors contacts; and the S7-300 are at the bottom of the ubus connector.

S7-300 series I/O input is connected to the front connector on the, on the module front connector attached to the signal, and is not directly connected to I/O signals on the signal module so that you can replace signaling modules without rewiring.

S7-300 series 2DP CPU with PROFIBUS interface.

S7-300 modular design in large and medium control system greatly facilitates the maintenance and all aspects of design and installation.
Software difference

S7-200 series with STEP7-Micro/WIN40sp6 software S7-300 use STEP7 software.

S7-200 series of programming language has three species: statement table (STL), and trapezoidal figure (LAD), and function block figure (FBD); S7-300 series of except this three species outside, also has structure of control language (SCL) and graphics language (S7 graph), which SCL is a senior language, senior language can more convenient of solution customer of proprietary problem, improve has program implementation efficiency, shortened has program implementation time.

S7-300 software features provide a number of blocks of data to each functional block (Function Block-FB), called Instance.

S7-300 cannot be custom Organization Block, a sub-routine and Interrupt routine, the system can call it OB1, FB-Function Block and FC-Function for other edits, and other predefined system, System s to them (SFB and the SFC) defined his identity.
Application differences

S7-200 Siemens PLC products belong: mini PLC system, suitable for the control object are generally below 256;

S7-300 belonged in the Siemens PLC products: medium and large PLC system, suitable for the control object are generally above 256, 1024 points.


1, MPI is a Multi-Point Interface, suitable for PLC 200/300/400, operator Panel PC MPI/PROFIBUS and TP/OP communication card, supported MPI network communication speed for the network communication speed of 12Mbit/s. MPI network can connect up with 32 nodes, maximum communication distance is 50m, but can use repeaters to extend the length.
PPI Protocol is a communications protocol developed specifically for S7-200. S7-200 CPU communication port (Port0, Port1) support PPI Protocol, S7-200 some of the modules also support the PPI Protocol for communication. Micro/WIN programming through the PPI Protocol for communication with the CPU. PPI is a master/slave Protocol, the main station, from the station in a token ring network. A PPI network, with one station is standing and there is no limit to the number of, but one of the primary stations in the network number cannot be more than 32. Main station can both read and write data from the station, and also can read and write to master station data. In other words, S7-200 as the PPI at the main station, you can still respond to requests for data from other stations.

MPI is the communication between a master station; PPI can be more than one communication between the master and the slave.

2, the MPI protocol: Siemens internal agreements, the public;
PROFIBUS-DP Protocol: a standard protocol, open.

3, MODBUS MODICON company first advocated, a kind of communication protocol, after the majority of the company‘s application came to be recognized and become a standard communication protocol, as long as the communication or transmission of data in accordance with this Statute, different systems can communicate. At present, during the process of RS232/RS485 communications, even more widespread adoption of this Statute.
MODBUS communication protocol commonly used, there are two, one is the MODBUS ASCII, one is the MODBUS RTU.
In General, communications data volume and is mainly text communication using MODBUS ASCII protocol, large amount of data and communications data is a binary value, uses the MODBUS RTU Protocol.
In the course of practical application, in order to solve a particular problem, people like you can modify the MODBUS Protocol to meet their own needs (in fact, people often use their own definitions of the Statute to communication, this can solve the problem, but not specification). The more common usage is, little statutes, but the format of the Statute in the software manual, or directly in the help, which facilitated communication.

3. PPI,MPI and the PROFIBUS is based on the OSI (open System Interconnection) sevenlayer network model, in line with European standard EN50170 PROFIBUS standards defined by, and tokenbased network communication protocols. These protocols are synchronous (serial) communication protocol based on characters and character format consists of a start bit, 8 data bits, parity bits, and one stop bit. Communication includes specific starting and ending character, source and destination address, frame size, and checksum data.
Baud rate, address different circumstances, PPI,MPI and PROFIBUS can run simultaneously on a network, and noninterference.
This means that if a network has S7-300, between S7-200,S7-300 by MPI or PROFIBUS communication, while at the same time on the same network TP170 if there were other main station in a communications network (TD 200, or the computer), and Micro/WIN programming, monitoring is required, this is the main network programming.

Using Siemens equipment can realize Micro/WIN of more of the following main station programming:
Micro touch screen to communicate with a S7-200 CPU.
Uses intelligent multimaster cable and Micro/WIN V3.2 SP4 or later. New cable can pass the token on the Web, which supports multiple host network programming.
If you use the CP cards, such as CP5511/CP5512 (laptop PCMCIA card), CP5611 (desktop PCI card), can support multiple master program communication.
If the CP card programming, select MPI protocol, note that MPI primary site cannot be accessed as PPImaster CPU.
If there are third party products connect to a main station on the network, users need to consult a third party product providers to see whether support Siemens S7-200 multi station network. Main station programming, programming computers to not only support other devices on the Internet there are many master station communication capabilities.

Earlier master station connection relies on computer hardware and Windows operating system. With the development of computer technology, has been unable to do much in most cases master program communications. Siemens main station programming users are advised to use cables or CP card communication combined with multimaster Micro/WIN programming.
4. MPI (Multipoint interface) is the SIMATIC S7 communication interface is a network for communication between apply to a few sites, used for connection between PC and a small number of close communication between the PLC.

Through PROFIBUS cables and connectors, S7-300 or S7-400 of the controller CPU with MPI Programming own PPI and S7-200CPU communication ports are connected, as well as with the programming port of the PC card (MPI/DP) via MPI or PROFIBUS cable connection can be realized. Can of course not included in the network PC and PLC only.

MPI communication rate for 19.2K~12Mbit/s, MPI of directly connecting with S7-200CPU communications network, the maximum rate is usually 187.5Kbit/s (S7-200CPU maximum speed limit).

In the MPI network can have up to 32 stations, one segment of the maximum communication distance is 50 meters (communication baud rate 187.5Kbit/s), long distance communication is available through the RS-485 Repeater extension.

MPI allows activeactive communication and masterslave communication, each S7-200CPU communications connections for 4.
MPI protocol cannot have the same as PPImaster of S7-200CPU communications, S7-300 or S7-400 must ensure that communicating with the S7-200 the S7-200 CPU no further PPImaster, Micro/WIN cannot be accessed through the MPI protocol as PPImaster of S7-200CPU.
S7-200CPU only does MPI from the station, that is S7-200CPU cannot communicate through the MPI network, communicate only through the PPI. STEP 7-Micro/WIN and S7-200CPU MPI masterslave connection is established. Hardware use a CP5611 card plus MPI or PROFIBUS cable, S7-200 CPU communication port to be used on the programming port of the network connector. S note: CP5613 not available through MPI and programming S7-200 CPU communication port communications. 7-200CPU minimum rate of correspondence can be set to 19.2K, up to 187.5K.
S7-300 and S7-400 CPU as the main station XGET MPI (SFC67) and XPUT (SFC68) command reads the S7-200 data communications of up to 64 bytes of the packet. S7200 CPU does not need to write any program associated with the communication, only need the data to be exchanged into a continuous v store.
5. the S7-200 support the Modbus communication protocol in the following ways:
S7-200 on CPU communication port Port0 supports Modbus RTU Protocol become Modbus RTU slave. This functionality is achieved by S7-200 free port communication mode, so you can slow communication devices such as wireless data radio transmission.

If you want to S7-200 between CPU, or other support devices using the Modbus RTU Protocol Modbus RTU communications needed by S7-200 CPU Modbus master. S7-200 CPU decisions must be made by the users themselves in free mode, according to the relevant protocol programming.
To implement Modbus RTU communication, need to STEP 7-Micro/WIN32 programming software V3.2 or later and install STEP 7-Micro/WIN32 V3.2 Instruction Library (repertoire). Modbus RTU via the instructions prepared in advance in the library function blocks implementation of the program. Modbus RTU slave directive only supports communication 0 port on the CPU (Port0).
1. the Modbus RTU master instruction library function is called in the user program function block implementation of programmed procedures in advance, the library to Port 0 and Port 1 active. This directive sets a communication interface works in free mode.
2. the Modbus RTU Master directive used some user interrupt function and other programs cannot be disabling interrupts in user programs.
3. the Modbus RTU master version required for CPU. CPU versions must be 2.00 or 2.01 (order no 6ES721*-***23-0BA*), prior to version 1.22 (1.22 version) S7-200 not supported by the CPU.