You can establish one or more state diagrams for monitoring and debugging operations. Open the state diagram can be observed that the content or editing graphs, the starting state diagram can collect status information.1. Open the state diagram
The following methods can be used to open the state diagram:
² Click Browse “Status” button bar.
² using the menu command “View” → “element” → “state diagram.”
² opening command tree “Status” folder, and then double-click the “map” icon.
If more than one state diagram in the project, using the bottom of the “Status” window “map” tab, you can move between the state of FIG.2. The state diagram creation and editing
(1) the establishment of a state diagram
If you open an empty state diagram, you can enter an address or define the symbol name, or change the value from the program supervision. Follow these steps to define the state of FIG.
1 in the “Address” column enter the memory address (or symbolic name).
2 In the “Format” column select display value. If the operand is a bit (for example, I, Q, or M), the format is set to bits. If the operand is a byte, word or double word, select the “Format” column cell, and double-click or press the spacebar or the ENTER key to navigate in a valid format and select the appropriate format. Timer or counter values can be displayed as a bit or word. If a timer or counter bit address format is set, it will display the output status (open or closed output). If a timer or counter word address format is set, then the current value.
You can also set the following manner faster state diagram shown in Figure 3-22:
Select the part of the program code, right-click pop-up menu → → “establish a state diagram.” New state graph contains an entry for each program selected operand. Entry in the order in which they appear in the program arrangement, state diagram has a default name. The new state diagram is increased in a state diagram editor after the last marker.
Each time you choose to create a state diagram, can only increase the first 150 addresses. A project can store up to 32 state diagram.
(2) state diagram editor
In the process of amending the state diagram, the following methods can be used:
1 Insert a new line: Use the “Edit” menu, or right-click a state diagram of a cell from the pop-up menu, select “Insert” → “row.” The new row is inserted above the current cursor position in the state of FIG. You can also place the cursor on the last line of any of the cell, and press the arrow keys, insert a row at the bottom of the figure the state.
2 Delete a cell or row: Select the cell or row, right-click, and from the pop-up menu, select the command “Delete” → “Options.” If you delete a row, followed by the line (if any) will move up one line.
3 select an entire row (for cut or copied): Click the row number.
4 Select the entire state diagram: the upper left corner above the number row click once.
(3) establish more state diagrams
The following methods can be used to create a new state diagram:
² instruction from the tree, right-click the “Status” folder → → pop-up menu command “insert” → “Fig.”
² open Map window, use the “Edit” menu, or right-click in the pop-up menu, select “Insert” → “Fig.”3. The state diagram of the starting and monitoring
(1) Starting and closing state of FIG.
Open state diagram state diagram is continuously collected information, use the following method:
² menu command “Debug” → “view of the state” or use the toolbar button “view of the state.” Then operate it again to close the state of FIG.
After starting state diagram, state diagram can not be edited.
(2) single and continuous view of the state reading
State diagram is closed (not started), you can use the “single read” function, as follows:
² menu command “Debug” → “Single Read” or use the toolbar button “Single read.”
A single read from the programmable controller can collect current data, and the current value of the column are displayed in the table, and it is not updated when the user program is executed.
State after being started, use the “view of the state” function, continuously gather information about the state of FIG.
² menu command “Debug” → “view of the state” or “state diagram” toolbar button.
(3) write and force values
All written: the new value of the change in the state diagram complete, you can use the full written all the changes to the programmable controller. Physical input point can not be altered by this function.
Forced: Select an operand in the address column of the state diagram, the new value in column write the actual conditions of numerical simulation, and then click the toolbar “mandatory” button. Once the use of “force”, each scan will be forced to apply to the address value until the address “Unforce.”
And the same “program status” method of operation: Unforce.