NT support tool (V053-E1-1) (986753), страница 57
Текст из файла (страница 57)
Modify the program by referring to “Correcting the Screen Data Conversion” (page 473).472Data ConversionAppendix ACorrecting the Screen Data ConversionThis section describes how the screen data should be corrected after it has beenconverted.If the screen data cannot be converted correctly, an error message is displayed onconversion of the data (when changing a PT model or PLC Vendor, or registering asymbol from the symbol manager). If an error message is displayed, it will be necessary to correct the screen data or the program.Correcting colors Conversion from monochrome display models to color display modelsColors (black and white) remain as they are after the conversion.If you want to color the converted data, change or color the data as needed. Conversion from color display models to monochrome display modelsColors are converted into black or white as shown below.Colors for objects other than ImageBlack, blue, red, magenta: BlackGreen, cyan, yellow, white: WhiteColors for ImageBlack:BlackBlue, red, magenta, green,cyan, yellow, white:WhiteChange the colors as needed.Correctiong the PLC addresses (On data conversion between direct accesses)When converting the data between different direct accesses, it may be necessaryto change channels and word numbers of PLC address since corresponding PLCis changed.
In this manual, conversion between OMRON and MEMLINK is described. DifferenceOMRON:Various channels are available such as CIO area (CH)and data memory area.Available word numbers differ depending on the PLCwhich is used.MEMLINK:Only memory link area (PT memory) can be used.Available word numbers: 0000–9999 Conversion result, error message and corrective action.Status beforeConversionStatus afterConversionWith “OMRON”The PLC address isdata, area other than reset.CIO area (CH) isset.Error MessageCorrective ActionPLC address (XXX)of YYY is invalid.
Itis reset to default.Reset the area tomemory link area (PTmemory). If this PC(PLC) address is referredto from the program, it isnecessary to correct theprogram accordingly.(Refer to 6-1-10)473Data ConversionAppendix ACorrecting the PC (PLC) addresses (On data conversion between PT models)When converting the data of the entire screen data file, screen data for use withnew models cannot be converted to screen data for use with conventional models.However, if the data of a new model is registered for the screen of a conventionalmodel using the symbol manager, the following points must be taken into consideration due to differences in the usable PC (PLC) address range between a conventional and a new model. DifferenceNew models:Word numbers can be handled up to five digits.Conventional models:Word numbers can be handled up to four digits.
Conversion result, error message and corrective actionStatus beforeConversionStatus afterConversionError MessageCorrective ActionWith a new model,word numbers arewithin four digits.With a conventionalmodel, word numbers remain as theywere.––––With a new model,the word number isfive digits.The word number isreset.Invalid PC (PLC) address. It is reset todefault.Reset the word numberto a number of four orless digits. If this PC(PLC) address is referredto from the program, it isnecessary to correct theprogram accordingly.(Refer to 6-1-10.)Correction related to continuous screensWhen the data of a conventional model is converted into data for a new model, anerror may occur due to differences in the handling of continuous screens betweenconventional models and new models.
DifferenceNew models:Continuous screens cannot be used.Conventional models:Continuous screens can be used. Conversion result, error message and corrective actionStatus beforeConversionWith conventionalmodels, continuousscreens are used.474Status afterConversionThe continuousscreen (parentscreen) is deleted.Error MessageCorrective ActionThe screen no.XXXX was a Continuous Parent Screenwhich is not supported in this model.It is discarded.Use a touch switch toswitch screens. If theprogram is created todisplay the parent screenof continuous screens,correct the program sothat the first child screenis displayed.
(Refer to6-8-2.)Data ConversionAppendix ACorrection related to overlapping screensWhen an overlapping screen is converted, an error may occur due to differences inthe handling of overlapping screens between conventional models and new models. DifferenceNew models:A window/keyboard screen cannot be specified as achild screen.Conventional models:A window/keyboard screen can be specified as a childscreen. Conversion result, error message and corrective actionStatus beforeConversionStatus afterConversionWith a conventionalmodel, a window/keyboard screen isspecified as a childscreen.With a new model, awindow/keyboardscreen is removedfrom child screens.Error MessageCorrective ActionThe screen no. XXXof type YYY is notsupported as a child,so the parent-childassociation is discarded.Copy the contents of thewindow/keyboard screento a standard screen andspecify that standardscreen as a child screen.(Refer to 5-3-2.)Correction related to number of window/keyboard screens to be openedWhen a window/keyboard screen is converted, conversion is executed as shownbelow due to differences in number of window/keyboard screens which can be displayed at the same time.
DifferenceNew models (with “-V1”):Up to three window/keyboard screens can be openedat the same time. (1 Global Window and 2 Local Windows)With a screen attribute, up to two local windows can bespecified as pop-up windows to be displayed when thescreen is opened.With a touch switch (cursor move and input key-window/keyboard function), specification of local window1 or 2 is possible.Conventional models, New models (without “-V1”):Only one window/keyboard screen can be opened.(Local window 1 (keyboard) only)With a screen attribute, only one window can be specified as a pop-up window to be displayed when thescreen is opened.With a touch switch (cursor move and input key-window/keyboard function), specification of only local window 1 (keyboard) is possible.475Data ConversionAppendix A Conversion result, error message and corrective actionStatus beforeConversionStatus afterConversionWith a new modelwith “–V1”, local window 2 is specifiedfor the attribute oftouch switch.
Andthe touch switch isregistered to thesymbol manager.Minimum value is restored for window/keyboard screennumber.Error MessageInput Key-Window/Keyboard screennumber is not withinthe valid range.Minimum value restored.Corrective ActionCorrect the screen dataso that the local window1 includes all the required elements.Correction related to display range of window/keyboard screensWhen a window/keyboard screen is converted, conversion is executed as shownbelow due to differences in the window/keyboard screen display range between aconventional and a new model. Difference:New models:A window/keyboard screen can be specified only in therange that fits the touch switch grids.Conventional models:A window/keyboard screen can be specified at anydesired position.
Conversion result, error message and corrective actionStatus beforeConversionWith a conventionalmodel, a range thatdoes not fit thetouch switch size isspecified as the display range.Status afterConversionWith a new model,the range is corrected so that itagrees with thetouch switch positions.Error MessageSome screen elements exceed framesize. The elementswill not be downloaded to PT Hardware.Corrective ActionIf the position and therange of the window tobe displayed is inconvenient for operation, correct the position and therange. (Refer to 5-4.)Correction related to the system initializing screen (Host Connect screen)When the system initializing screen is converted, conversion is executed as shownbelow due to differences in screen numbers and elements which can be registeredbetween conventional and new models.
DifferenceNew models:Screen No. 9000Only fixed display elements (excluding image data andlibrary data) can be registered.Conventional models:Screen No. 1999All kinds of element can be registered. Some elementswhich need communications with a host may not bedisplayed correctly. Conversion result, error message and corrective action476Status beforeConversionStatus afterConversionWith a conventionalmodel, elementswhich cannot beregistered on a newmodel are registered.With a new model,the screen No. ismodified to “9000”.Elements which cannot be registered fora new model are removed.Error MessageThis screen doesnot support XXX.
Itis discarded.Corrective ActionCorrect the screen sothat the same screen asbefore the conversion iscreated using fixed display elements excludingimage/library data. (Refer to 5-8.)Data ConversionAppendix ACorrection related to extended screensWhen an extended screen is converted, an error message may be displayed dueto differences in the handling of an extended screen between conventional andnew models. DifferenceNew models:Extended screens are not supported.Conventional models:Extended screens can be used as standard screens. Conversion result, error message and corrective actionStatus beforeConversionStatus afterConversionWith a conventionalmodel, the screennumber of an extended screen isused for a standardscreen.With a new model,the screen is treatedas a standardscreen.Error MessageCorrective ActionThe screen no.