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
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
From the DP master station connection to PROFIBUS networks (in a hardware configuration tool, select 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.
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 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 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 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).
This 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 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 device, or 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 window, enter 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)
SIMATIC S5 workstation
Prerequisites for configuration, this connection is S7 workstation project exists as anobject in a container, and you have workstation characteristics will be S7 workstation–connected to the network (such as network configuration, select workstation, useEdit → Object Properties in the “Interface (interface)“ tab on a workstation connected to the network of hope).
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.
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.
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 configuration
1. Combination network
First, 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 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)“ 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 items
Network mix after the configuration items. Its connections within the process and project the same increase is the partner of the project description.
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
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
Byte, word or double word: L [length] [starting byte address] LB34 LW20 LD4
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