CX-Programmer User Manual (986752), страница 9
Текст из файла (страница 9)
Note thatwhen address referencing is active, a small delay may be experienced whenmoving around a diagram, depending upon the size of the PLC program/s.8.View to show when split – enables two different views to be shown within theediting window. It is possible to choose to see a part of the editing in mnemonicmode and the other in ladder, or to see the local symbol table of the program in oneview.9.Setting the Show right bus-bar will show the right bus-bar with the ladder rungsjustified to fill the space between the left and right bus-bars. The outputinstructions will appear aligned along the right bus-bar, as long as the rung can bedrawn within the number of cells to the right bus-bar.
If the Expands to WidestRung option is chosen, then the right bus-bar position for a section is automaticallyset to the widest rung in the program section. Note that this may result in slowerperformance on a large section when editing or adding rungs, since if a rung isexpanded beyond the current width, the section will be reformatted.If no right bus-bar is shown, the rungs are justified to the left, minimising space.Revision 2.0Page 41CHAPTER 3 – Project ReferenceOMRON10. Select the OK pushbutton to apply the settings and close the dialogue. Select theApply pushbutton to change the settings but remain in the dialogue. Select theCancel pushbutton to abort the operation.PLCsThe PLC tab provides a default PLC and CPU which appears when adding a new PLC to a project.Use the following procedure to change PLC preferences.1, 2, 3…1.Select the PLC tab within the Options dialogue.2.Set the Confirm all operations affecting the PLC setting to receive a confirmationmessage for computer to PLC communications.3.Select the default PLC from the PLC Type field.
When set CX-Programmer willshow a confirmation dialogue when an operation being carried out may affect therunning of a PLC.4.Select the default CPU from the CPU field. When a new PLC is created, thesedetails will be used to initialise it. A PLC type and CPU combination may beselected, or the Use Current PLC button can be pressed, to set the details to that ofthe currently selected PLC in the project.5.Set the Use Section marker instruction option to select whether, by default for anew PLC, section divisions are to be downloaded or not.
If set, an extra instructionis hidden in the program for each section division. This allows upload options suchas the upload of a single section. It also allows the section structure to be retainedupon upload. If the option is turned off for a PLC, then the section structure willnot be downloaded, and upload will not retain the structure.Note that this option can be enabled / disabled per PLC in the PLC propertiesdialogue.6.The Use Comments instruction option determines, by default for a new PLC,whether program comments (rung comments and annotations) are to include aCMT instruction in the PLC. CMT instructions are used during upload so thatcomments in a comment file can be linked back to the program properly. If this isnot set for a PLC then it is not possible to upload comments, but compiledprograms will be smaller since CMT instructions are not generated.Note that certain PLC types do not have CMT instructions, and this option willhave no effect for those PLCs.Note that this option can be enabled / disabled per PLC in the PLC propertiesdialogue.7.Page 42Select the OK pushbutton to apply the settings and close the dialogue.
Select theApply pushbutton to change the settings but remain in the dialogue. Select theCancel pushbutton to abort the operation.Revision 2.0OMRONCHAPTER 3 – Project ReferenceSymbolsThe Symbols tab allows settings to be applied to the symbol table during a work session.
Use thefollowing procedure to change Symbol preferences.1, 2, 3…1.Select the Symbols tab within the Options dialogue.2.Check the Confirm changes in linked global symbols setting to ensure aconfirmation dialogue is displayed before changes are applied to global symbols.3.Select the OK pushbutton to apply the settings and close the dialogue. Select theApply pushbutton to change the settings but remain in the dialogue. Select theCancel pushbutton to abort the operation.AppearanceThe Appearance tab allows the colours and font displayed within the CX-Programmer environment tobe customised.Use the following procedure to change preferences associated with the CX-Programmer appearance.1, 2, 3…Revision 2.01.Select the Appearance tab within the Options dialogue.2.Select the item to be changed from the Item field, or select the item to change inthe sample diagram.3.Select the colour to be applied to the item.
The Foreground and BackgroundColour may be changed by clicking on the example colour box, or using the'Custom...' button. A sample of the result is displayed in the Sample field. Notethat many items do not have both a foreground and background colour.4.Check the default option in order to use a suitable system colour. These colourswill change according to the ‘Appearance’ display settings of Windows.Page 43CHAPTER 3 – Project ReferenceOMRONClick the Reset All button to reset all the colours back to the system defaults.Click the Ladder Font button to set the font used for the entire display of ladder programming windows,including rungs which are being shown in statement list in the ladder window.
When a font is selected,the ladder display re-scales to use the new font.Click the Mnemonic Font button to set the font used for the entire display of mnemonic programmingwindows.The Cell Width slider allows the width of the cells to be changed on the ladder window, giving moreor less space for text to be displayed. Depending upon the typical size of symbol names, it may benecessary to change the horizontal size of the ladder cells to show them better. At its minimum setting,only a few characters are shown in a line, but a large number of cells can shown.Click the OK pushbutton to apply the settings and close the dialogue. Select the Apply pushbutton tochange the settings but remain in the dialogue. Select the Cancel pushbutton to abort the operation.Ladder InformationThe elements of a ladder display - contacts, coils, instructions and instruction operands - can display aconfigurable set of information.
The more information is displayed, the larger each cell of a ladderdiagram becomes. Ideally, only the necessary information should be shown so that the maximum numberof cells can be seen on the screen.The name and comment parts of the operand information can be individually shown or hidden using theShow checkboxes.Page 44Revision 2.0OMRONCHAPTER 3 – Project ReferenceNameWhen this option is selected it is possible to set the number of lines to be shown for a symbol name, andwhether they are shown above or below the element (i.e. above or below a contact or coil).AddressThe If name empty option will only show the address of an operand if there is no symbol attached tothe address, or if the symbol is unnamed. The After name option shows the address after the name,separated by a comma.
The Above and Below options show the address on a separate line, above orbelow the element respectively.CommentWhen this option is selected it is possible to set the number of lines to be shown for a comment, andwhether they are shown above or below the element (i.e. above or below a contact or coil).InstructionsA range of options are given to determine the information and format of data within instructions.The Show data with option allows a choice of where monitoring data will be shown within the operandbox of an instruction. It can be shown below the name, address or comment of the symbol. It can alsoshare the line of the name, address or comment, so that the monitoring data is shown before theinformation on the same line.
This allows the size of the instruction box to be minimised.Show on right for output instructionsA range of information can be shown on the right of output instructions (i.e. coils and right-handinstructions such as 'MOV').The Symbol Comment of the symbol used within the operand can be shown. If this option is set, thecomment is no longer shown inside an output instruction or coil cell.The Attached Comment (comment property of the instruction element on the diagram) can be shown.The Instruction Description (shorthand description of the instruction, the same as that shown in theInstruction dialogue) can be shown.The Operand Description (shorthand description of the operand purpose, the same as that shown in theInstruction dialogue) can be shown.Note that it may not be possible to fit all of the requested information on the right of the instruction - theheight of a cell is not determined by these choices.