This is the Mitsubishi FX series error CodeIncorrect storage capacity setting, Solution: Stop PLC operation, set the correct value with parameter modeWhen 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, … Continue reading Mitsubishi PLC Fault Diagnosis Display 6402
Tag: plc basics
What is m8002 in PLC?
1, M8002 is used for initialization of PLC. PLC will execute once after every power failure and restart, M8002. 2: Name: initial pulse normally open contact. ON outputs a scan cycle of RUN. 3, you need to do data initialization when using, usually do initialization time.
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 networkIn 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 aIndependent modules).From the DP master station connection to PROFIBUS networks (in a hardware configuration tool, select the network, orDP 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 configuration, programming devices of connection: network workstation the double-click to select PG/PC in the object list; in the network window, double click to open PG/PC; select the interface and configure it to a network.1. Join tablesCommunications 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 network, double-click in the container.The connection configuration, network configuration, select 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 box, select 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 configurationIf 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 IDThe 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~0FFFHS7 's S7 connection can be mounted (S7-300), a range of values is 0001H~008FHFor point to point connections, a range of values is 1000H~1400HChanging 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. PartnerThis column displays the connection partner. If you want to save the connection source for a unnamed partners, then in the workstation dialog box, enter "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 typeSTEP 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 device, or CP, or they can be non-Siemens SIMATIC S7 devices and equipment, such as printers or barcode reader.S7, S7 MPI, PROFIBUS … Continue reading STEP 7 connect configuration
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.
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 is, to 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 is, network 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" tab, select Edit → Object Properties.
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 multiple-project, or a project includes multiple projects already in existence, and these connections can be a mix and match.Multiple items in a network configuration1. Combination networkFirst, MPI, 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 connectionConfiguration 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)" window, select 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 itemsNetwork 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 … Continue reading Siemens S7-200PLC Counter Area (C)
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 … Continue reading Siemens S7-200 PLC local variable storage area (L)
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 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 … Continue reading Siemens S7-200 series PLC analog input (A1)
