TW200836100A - Program creation supporting device and program executing device - Google Patents

Program creation supporting device and program executing device Download PDF

Info

Publication number
TW200836100A
TW200836100A TW096113292A TW96113292A TW200836100A TW 200836100 A TW200836100 A TW 200836100A TW 096113292 A TW096113292 A TW 096113292A TW 96113292 A TW96113292 A TW 96113292A TW 200836100 A TW200836100 A TW 200836100A
Authority
TW
Taiwan
Prior art keywords
user
parameter
parameter setting
program
value
Prior art date
Application number
TW096113292A
Other languages
Chinese (zh)
Other versions
TWI339811B (en
Inventor
Satoru Nakai
Masashi Turu
Fumihiko Maeda
Keisuke Sugano
Shinichiro Niwano
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Publication of TW200836100A publication Critical patent/TW200836100A/en
Application granted granted Critical
Publication of TWI339811B publication Critical patent/TWI339811B/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2291User-Defined Types; Storage management thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/30Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/30145Instruction analysis, e.g. decoding, instruction word fields
    • G06F9/30156Special purpose encoding of instructions, e.g. Gray coding

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Stored Programmes (AREA)
  • Programmable Controllers (AREA)

Abstract

Provided is a program creating supporting device capable of preventing workload from increasing and user-defined FB from becoming big size even for a case of having complicated FB, so as to reducing FBD program creation time. Also provided is a program executing device. The program creation supporting device of the present invention includes an user-defined FB creating means for assembling program commands containing predefined user-defined FB to define new functions or function blocks, and an user-defined FB processing execution code generating means. The program creation supporting device also includes an user-defined FB parameter setting means for setting user-defined FB parameters of user-defined FB, and an user-defined FB parameter setting value holding means for holding user-defined FB parameter setting values set by the user-defined FB parameter setting means. The user-defined FB processing execution code generating means encodes the user-defined FB according to the parameters held in the user-defined FB parameter setting value holding means.

Description

200836100 九、發明說明: 【發明所屬之技術領域】 本發明係關於由使用功能方塊圖(Function Block Diagram)之程式設計(programming)以及記憶媒體所構成 之製作程式輔助裝置及實行由製作程式輔助裝置所作成並 編碼(code)化之程式的程式實行裝置。 【先前技術】200836100 IX. OBJECTS OF THE INVENTION: TECHNICAL FIELD The present invention relates to a production program auxiliary device and a production program auxiliary device which are composed of a programming block and a memory medium using a function block diagram. A program execution device that creates and encodes a program. [Prior Art]

功能方塊圖(FBD),係由國際電工標準會議IEC 鲁 (International Electrotechnical Commission)所制定之 「IEC 61131-3」規格之圖形化程式設計語言。F B D之程式 係表示為由功能或功能方塊(FB,Fuct Ion Block)等各方塊 彼此連接而成的一連串的方塊圖。各功能方塊在功能方塊 左侧具有輸入端子,而在右側則具有輸出端子,功能方塊 之間係透過輸入端子與輸出端子而結線(功能. (Function)、功能方塊係「IEC 61131-3」中所規定的用 •語)。 第41圖係顯示簡易之功能或功能方塊的方塊圖,並顯 示「NOT」功能(NOT)做為其中一例。在第41圖中,由輸入 端子(IN)所供給之資料值係在經過預定處理後被作為處理 .結果之值而供給至外部要素(無圖示)。此情形中,「NOT」 功能係反轉從輸入端子(IN)所供給之B00L(Boolean,布林) 型的資料值,並由輸出端子(OUT)將反轉結果之值供給至外 部要素。 第42圖係顯示進行複雜處理之功能與功能方塊(FB) 319119 200836100 w 之方塊圖。在第42圖中,在功能與功能方塊中,除了做為 處理對象之輸入端子(ίΝ)的值之外,還需要在處理之内部 所使用的參數之值,因此設有用以供給參數值之參數輪入 端子(PARAM)。 另一方面,第43圖係顯示未設置參數輸入端子 (PARAM),而採用由對話框加以指定之方式時之FB的方 圖。 一…在第43圖中,利用滑鼠點擊功能方塊(FB)兩次,即顯 二對話框(dialog box),因此可在對話框上設定參數值再 按壓刼作^ΟΚ」鍵,即可以所設定輪入之參數值進行處理。 使用第43圖之對話(dialog)方式時,也必須對輸入端 子數少且較簡單之功能或功能方塊設定參數,因此必須專 程進行對話顯示來進行將值輪人的操作。此外,在所ς成 ^程式之功能方上,無法看出究竟在參數中設定 了何種值。 Τ叹疋 囝—因此’在較簡易之功能與功能方塊的情況下,如第 般’採用設置參數輪入端子⑽ΑΜ)之方式,就製作 業的效率面’或是作成之程式的可讀性面而言均」 中/二,輸人端子數較多且複雜之功能與功能方塊(F 〒如用第42圖的方,卩士丄 ν X 方式%,由於必須在FB中設置多數的The functional block diagram (FBD) is a graphical programming language of the "IEC 61131-3" specification developed by the International Electrotechnical Commission. The program of F B D is expressed as a series of block diagrams in which blocks such as function or function blocks (FB, Fuct Ion Block) are connected to each other. Each function block has an input terminal on the left side of the function block and an output terminal on the right side, and the function block is connected between the input terminal and the output terminal (Function, function block "IEC 61131-3" The prescribed terms are used. Figure 41 shows a block diagram of a simple function or function block and shows the "NOT" function (NOT) as an example. In Fig. 41, the data value supplied from the input terminal (IN) is processed as a result after a predetermined process, and is supplied to an external element (not shown). In this case, the "NOT" function reverses the data value of the B00L (Boolean) type supplied from the input terminal (IN), and the output terminal (OUT) supplies the value of the inverted result to the external element. Figure 42 shows a block diagram of the function and function block (FB) 319119 200836100 w for complex processing. In Fig. 42, in the function and function block, in addition to the value of the input terminal (ίΝ) as the processing object, the value of the parameter used inside the processing is required, and thus the parameter value is provided. Parameter wheel terminal (PARAM). On the other hand, Fig. 43 shows a diagram of the FB when the parameter input terminal (PARAM) is not set and the mode is specified by the dialog box. In Fig. 43, use the mouse to click the function block (FB) twice, that is, the dialog box is displayed. Therefore, you can set the parameter value on the dialog box and press the button to press the button. The parameter values of the set rounding are processed. When using the dialog mode of Figure 43, you must also set parameters for functions and function blocks that have fewer input terminals and simpler functions. Therefore, you must perform a dialog display to perform the operation of the value. In addition, on the function side of the program, it is impossible to see what value is set in the parameter. Awkward 疋囝 因此 因此 因此 因此 因此 因此 因此 因此 因此 因此 因此 因此 因此 因此 因此 因此 因此 因此 因此 因此 因此 因此 因此 因此 因此 因此 因此 因此 因此 因此 因此 因此 因此 因此 因此 因此 较 较 较 较 较 较 较 较 较 较 较 较 较In terms of face, the middle/two, the number of input terminals and the complicated function and function block (F, such as the one used in Figure 42, the gentleman 丄 ν X mode%, because the majority must be set in the FB

入立而子因此會使FB F J 面積比例人料女巨大化,且一個FB佔製作程式領域 姻比例冒交大,而备 連接所有設於式之製作作#。此外,必: 、 夕的輪入端子,故會導致配線複瀚 319119 7 200836100 化,所製作之程式的可讀性亦會變差。 ^因此:為複雜之叩時,若如第43圖所示,採用以對 活框設定蒼數,而不設置參數 ^ 作程式之作業的效率面,===方式’不論就製 均較為理想。 ^作成之程式的可讀性面而言 功此與功能方塊(F β)的别能處^^ 6A BR 、 、〜的型怨應使用第42圖或第43圖 的哪一種方式,可由借用分处士 % n. 田使用功此方塊圖(FrniCn BlockAs a result, the FB F J area ratio is huge, and one FB accounts for a large proportion of the production program, and all the connections are made. In addition, the terminal will be inserted into the terminal, and the wiring will be re-created. 319119 7 200836100 The readability of the program will be poor. ^ Therefore: When it is complicated, if it is as shown in Fig. 43, it is better to set the number of the live frame instead of setting the efficiency of the operation of the parameter, and the === mode is ideal. . ^ The readability of the program is the same as the function block (F β). ^^ 6A BR , , ~ The type of resentment should use either the 42nd or 43rd picture, you can borrow Division %% n. Field use this block diagram (FrniCn Block

Diagram)之程式設計以及記悴搵触p 壯罢⑹ 己“媒脰所構成之製作程式輔助 衣置或貫行製作程式辅助裝置所制 , a — 衣直所衣成亚編碼化之程式的程 式貫行裝置的提供者側,檢吋卜;+、♦ 杈4上述處理内容並適度決定 可〇 先前之使用功能方塊圖(Functic)n Block Diag酬)之 衣作程式輔助裝置(程式設計方法)以及 置食 憶媒體,係藉由使用戶預新定義在程式内頻繁使用之處 理,而實現縮短FBD程式之製作時間的用戶定㈣功能(例 •如,參照專利文獻1) 〇 、第44圖係以流程圖的方式顯示先前裝置的方塊圖,係 以步驟S31至S34(參照虛、線)顯示與預先準備之fb、用戶 定義FB、編輯領域、用戶所定義之用戶定義μ、·程式編 輯領域(參照一點線)相關之操作順序。 在第44圖中’若組合程式設計卫具事先準備之功能與 =能方塊(FB)而製作用戶定義FB(步驟S31),則由用戶所 製作定義的用戶定義FB,即被登錄為功能方塊(步驟S32)。 因此,與事先準備好之FB相同地,用戶定義FB可作 319119 8 200836100 'w 為功能方塊而在其他程式中被使用(步驟S33)。此時, 戶定義FB的處理係實行在步驟S31中所編輯的内容。 用戶定義FB係指以功能方塊的型態將特定的處理封 裝(encapsulation)化,在程式中使用用戶定義FB時(牛〜 S33),只需了解經封裝化後之甩戶定義FB的處理内容^即韩 可,而毋須了解該處理内容是由何種FBD所記述(步 S31) 〇 …此外’處理内容經封裝化的用戶定義FB·在無程 述錯誤之可實行狀態下,因此使用用戶定義叩時(步驟。 S33) ’毋須擔心該處理内容之記述是否有錯誤,故- FBD程式的製作時間。 裀, ,此外,藉由讓使用用戶定義FB者側無法觀看以用戶 義FB之型態封裝化的處理内容,可隱藏記述處理之 式的竅門(knowhow)。 王 此外,先前之使用功能方塊圖之程式設計方 壯 置與記憶媒體中,亦實行有視用戶而限制其對於用戶= FB之編輯内容的存取等級如咖的功能。我 但是’在先前裝置的情況下,由六 图夕斟4由於亚不存在有以第43 圖之對逢方式μ用戶定義FB之内部處理所使用之 隹用於用戶疋我FB之内部處理的記 处 與功能方塊⑽之内部處理中所使用 1 ”參數輸入端子方式的情形,如第45圖所示在= 簽數設定為用戶定義FB之輪入端子。 、、口 結果’在用戶定義FB中發生如上所述之在複雜叩的 319119 9 200836100 情形中妨礙程式製作作業的問題。 此外,若將在用於甩戶定義FB之内部處理的記述的功 $與功能方塊之内部處理中所使用的參數全部設定為用戶 定義FB之輸入端子時’將使得用戶定義肫更加巨大化而 不佳° 另外’當在用於用戶定義FB之内部處理的記述的功葡 與功能方塊之内部處理中所使用的參數為第㈡圖的型態 (對話框㈣方式)時,如第46圖所示,用戶定義,的^ 理係根據參數的設定值進行動作,在使_戶定 法變更各參數。 μ因此’想要以不同之參數值使用用戶定義FB時,欲韵 疋夕少種不同麥數即必須製作登錄多少種之用戶* FB,因此將無法實現發揮用戶定義FB功能時之原^目 縮短FBD程式的製作時間。 ' ' g (專利文獻丨)日本特開2003-223204號公報 【發明内容】 (發明所欲解決之課題) 先前mu置絲式實行裝置於 對話方式定義部處理所“Diagram) The design of the diagram and the recording of the p. (6) The program of the production of the media or the production of the auxiliary device, a - the program of the clothing The provider side of the running device, check the code; +, ♦ 杈 4 the above processing content and moderately determine the previous work function block diagram (Functic) n Block Diag reward) clothing program auxiliary device (programming method) In addition, the user-reserved media is a user-defined (four) function that shortens the production time of the FBD program by making the user pre-defined to the frequently used processing in the program (for example, see Patent Document 1) 〇, 44 The block diagram of the previous device is displayed in a flow chart manner, and the steps S31 to S34 (refer to the virtual line, line) are displayed with the prepared fb, the user-defined FB, the editing field, the user-defined user defined μ, and the program editing. The operation sequence related to the field (refer to the one-point line). In Fig. 44, if the user-defined FB is created by combining the function prepared in advance with the programming aid (FB) (step S31), The user-defined FB defined by the user is registered as a function block (step S32). Therefore, similarly to the FB prepared in advance, the user-defined FB can be 319119 8 200836100 'w is a function block and is used in other programs. It is used (step S33). At this time, the processing of the user-defined FB executes the content edited in step S31. The user-defined FB refers to encapsulation of a specific process in the form of a function block, and is used in the program. When the user defines the FB (Ng ~ S33), it is only necessary to know the processing content of the encapsulated EB defined by the package, ie Han Ke, and it is not necessary to know what kind of FBD is described by the processing (step S31) 此外... 'The user-defined FB of the packaged content is in the executable state of the error-free error, so when the user-defined 使用 is used (step S33) 'Do not worry about whether the description of the processing content is wrong, so - FBD program Production time. In addition, by letting the user-defined FB side cannot view the processing content encapsulated in the user-defined FB type, the knowhow of the description processing can be hidden. In addition, the previous programming of the function block diagram and the memory media also implemented the function of restricting the user's access level to the edit content of the user = FB. I am in the previous device. In the case, the six-day 斟 斟 由于 由于 由于 由于 由于 由于 由于 由于 由于 由于 由于 由于 由于 由于 由于 由于 由于 由于 由于 由于 由于 由于 由于 由于 由于 由于 由于 由于 隹 隹 隹 隹 隹 隹 隹 隹 隹 FB FB In the case of the 1" parameter input terminal method used in the internal processing, as shown in Fig. 45, the number of the check-in is set to the wheel-in terminal of the user-defined FB. The port result 'has occurred in the user-defined FB as described above in the case of the complicated 319119 9 200836100. In addition, if all the parameters used in the internal processing of the internal processing for the tenant definition FB and the internal processing of the function block are set as the input terminals of the user-defined FB, 'the user definition 肫 will be made larger. Poor. In addition, when the parameter used in the internal processing of the function and function block for the internal processing of the user-defined FB is the type of the second figure (the dialog box (fourth) mode), as shown in Fig. 46. As shown in the figure, the user-defined system operates according to the set value of the parameter, and the parameters are changed by the _ household method. μ Therefore, 'when you want to use the user-defined FB with different parameter values, you need to create a number of users* FBs for different types of wheat, so you will not be able to implement the user-defined FB function. Shorten the production time of the FBD program. [Patent Document] JP-A-2003-223204 SUMMARY OF THE INVENTION [Problems to be Solved by the Invention] The previous mu-wire type executing device is processed by the dialog mode definition unit.

段,因此若使用設置參數輪入端子的^數的手 的情況下不僅會增加作業負荷,還會 资雜之FB 化的問題。疋義抑巨大 記逑的功能與 方式時,則在 此外,在用於用戶定義FB之内部處 功能方塊之内部處理中所使用的參數為 319119 10 200836100 使用用戶疋義FB之際無法變更各參數,因此欲使用不同的 參數值時,必須根據有多少種不同參數設定之數量而製作 二少種之登錄用戶定義FB,因此無法實現用戶定義fb功 能之本來目的的縮短FBD程式之製作時間。 本發明,係為了解決用戶定義FB之上述課題而創作, 其目的係:藉由實現-種提供對話的手段,而可利用對話 方式n又疋用戶疋義FB之内部處理所使用的參數,即使在複 φ雜白^情況下,亦可迴避作業負荷的增加以及甩戶定義夂 吓的巨大化,並獲得縮短觸程式製作時間的製作程式辅 助裝置以及實行由製作程式輔助裝置製作並編碼化的 的程式實行裝置。 (解決課題之手段) 美本發明之製作程式之輔助裝置,係一種具有:用戶定 我FB衣作手段’係用以組合包含預先定義之用戶定義肫 :程f命令,定義新的功能或功能方塊;以及用戶定義fb 二理二碼產生手段’係在為了於程式實行裝置實行利用 /戶疋我FB而記述之程式的編碼化中,進行用戶定義柯 部份之編碼化;該製作程式之辅助裝置具備有·用戶定義 土 >數《又疋手段,係設定作為與用戶定義fb之處理内容 =之參數的用戶定義FB參數;以及用戶定義fb參數設 手段,係保制戶定義參數設定手段所設定之 手俨:::β翏數设定值;且用戶定義FB處理實行碼產生 數:用::用戶定義FB參數設定值保持手段所保持之參 數將用戶定義FB編碼化。 319119 11 200836100 、此外,本發明之程式實行裝置,係為了實行製作程式 =輔^衣1所製作I編碼化的程式,而實行由用戶定義抑 疫理Μ碼產生手段所產生的編碼,其中該製作程式之辅 ㈣置係具有:用戶定AFB製作手段,制以組合包含預 f疋我之用戶疋AFB之程式命令,定義新的功能或功能方 塊;以及用戶定義FB處理實行碼產生手段。 (發明之效果)In the case of using the number of hands in which the parameter is entered into the terminal, the work load is not only increased, but also the problem of FB is complicated. In addition, the function and method used in the internal processing of the function block inside the user-defined FB is 319119 10 200836100 The parameters cannot be changed when the user 疋 FB is used. Therefore, when different parameter values are to be used, it is necessary to create two types of login user-defined FBs according to the number of different parameter settings, and thus it is impossible to shorten the production time of the FBD program for the purpose of the user-defined fb function. The present invention has been made to solve the above-mentioned problems of the user-defined FB, and the purpose thereof is to realize the parameters used in the internal processing of the user and the FB by using the means of providing the dialogue, even if In the case of complex φ miscellaneous white, it is also possible to avoid the increase in the workload and the huge increase in the definition of intimidation by the tenants, and to obtain the production program auxiliary device for shortening the production time of the touch program and to implement the coding and coding by the production program auxiliary device. The program implements the device. (Means for Solving the Problem) The auxiliary device for the production program of the present invention has a user-defined FB clothing means for combining a predefined user-defined 肫:-range f command to define a new function or function. a user-defined fb two-dimensional code generation means' is to encode a user-defined ke part in the encoding of a program described in the program execution device/household FB; the production program The auxiliary device is provided with a user-defined soil> number, and the user-defined FB parameter is set as a parameter of the processing content of the user-defined fb; and the user-defined fb parameter setting means is used to define the parameter setting of the user-defined parameter. The handcuffs set by the means:::β翏 setting value; and the user-defined FB processing implementation code generation number: Use:: User-defined FB parameter setting value holding means maintains the user-defined FB. 319119 11 200836100 Further, the program execution device of the present invention performs a code generated by a user-defined quarantine code generation means for executing a program that is programmed to be coded by the auxiliaries 1 The auxiliary program of the production program (4) has a user-defined AFB production method, a program command that includes a pre-following user AFB, defines a new function or function block, and a user-defined FB processing code generation means. (Effect of the invention)

用戶定義FB之内部處理之記 的用戶定義FB之處理内容相 來設定,並可縮短製作程式時 藉由本發明,與包含有在 述所使用之FB所具有的參數 關的參數,可由用戶定義fb 間。 【實施方式】 實施例1 以下’㈣目面,說日林發明之實施例卜 義二’::理 相關技術進行說所制之柯的參數設定對話 置及二之實,例1之製作程式之_ 製作程式補助二」隹圖’顯示製作程式辅助裝置(或: 該發明之作之個人電咖 能方塊;用戶定義FB處理實二羊疋義新的功能或; 實行裝置實純用用戶定義抑而^段:為了於程; 而"己述之程式的編碼化 319119 12 200836100 ^進行用戶定義FB部份之編碼化。此外,作為已預先— 方塊(FB)。此外,p —蕈々m 、,我之功月匕以及功迠 成且定疋我 戶定義FB,亦可組合於新作 成且疋我的用戶定義FB中。 加2第1圖中’連接程式實行裝置(控制器侧之製作 :么辅:裝置(個人電腦)刚,包含:微處理器ι〇ι料 :=:2;通訊綠顚示部1〇4;輸入部J 部(硬體)⑽,各構成要素1G1至則 人電腦100上的匯流排。、 1Π Ι”ί=式辅助裝置(個人電滕)100所製作之㈣ (ΓνΛ^^τ裝置之用的控制器200,再以控制器 (々王式貝行叙置)2 0 0來實行。 微處理器1(Π係構成製作程式輔助裝置(個人電腦) 、之主要部,進行製作程式辅助裝置之處理(亦即,在此 為與用戶定義FB相關之處理)。資料儲存記憶體1〇2隨著 微處理器m之處理而暫時性的儲存資料。通訊埠ι〇3係 連接於控制器200而進行個人電腦⑽與控制器2〇〇間的 通訊。 顯示部104係顯示後述之製作程式辅助裝置(樹狀 e)或圖標(i c 〇 η )等視窗)。輸入部(〇 5係具有鍵盤與滑 鼠等(無圖示),而與顯示部1〇4構成人機介面 (man-machine interface)。記憶部丨〇6係將以製作程式辅 助裝置所設定之資料(亦即,與用戶定義FB相關的資料) 予以儲存。 319119 13 200836100 微處理器101係經介通訊埠103與程式實行裝置(控制 器)200通訊,並與資料儲存記憶體102、顯示部104、輸 入部105以及記憶部106相關連而進行動作。藉此,微處 理益101即構成·用戶定義FB爹數設定手段’用以設定與 用戶定義FB之處理内容相關之參數之用戶定義FB參數; 用戶定義FB參數設定值保持手段,保持用戶定義FB參數 設定手段所設定之用戶定義FB參數設定值;以及用戶定義 FB處理實行碼生成手段,使用用戶定義FB參數設定值保 持手段所保持之用戶定義FB參數設定值,而產生將相當於 用戶定義FB參數設定值之用戶定義FB的處理予以實行的 碼,而實現提供用以利用對話方式設定用戶定義FB之内部 處理所使用之參數的對話框的手段。 第2圖係顯示本發明之實施例1之功能構造的方塊圖。 在第2圖中,製作程式辅助裝置300係具備:用戶定 義FB製作手段303 ;用戶定義FB參數設定手段301 ; FB ⑩參數設定手段304;用戶定義FB參數設定值保持手段302; 以及用戶定義FB處理實行碼生成手段305。轉送藉由製作 程式輔助裝置3 0 0而編碼化之程式時,程式實行裝置4 0 0 係連接於用戶定義FB處理實行碼生成手段305。 用戶定義FB參數設定手段301係啟動並顯示FB參數 設定手段304,而由FB參數設定手段304取得FB參數設 定手段304所設定的參數值。該參數的值係被傳送到並保 持於用戶定義FB參數設定值保持手段302。藉由用戶定義 FB處理實行碼生成手段305產生程式碼時,係使用用戶定 14 319119 200836100 義FB參數設^值保持手段3{)2所保持之錄的值。 以圖示顯示用以實現本發明之實施例之製作 同 枉式貝仃衣置的程式製作裝置1的方塊 圖0 + 3圖中’程式製作裝置1係以具有人機介面之微 ⑽來貫現(參照第1圖),其具有:樹狀選單2;叩領域 3’用戶定義FB領域4;FBD程式編輯領域5;以及用戶定 我FB編輯領域6 〇 μ在樹狀選單2中,用戶使用程式製作裝Π所作成的 ,式與用戶定義FB係以階層方式顯示。在FB領域3中, 係顯示有提供程式㈣裝置1側已縣準狀,在用戶 ^FB領域4中,則顯示用戶所定義之fb(用戶定義⑻。 在FBD程式編輯領域5中係製作—般的程式,而在用戶定 義FB編輯領域6中,則編輯用戶定義FB。 以下,說明與一般之程式相關的基本操作。 在第3圖中’例如,用戶利用滑鼠點擊2次樹狀選單 2内的程式α時,即顯示程式編輯領域5,並形成可編輯程 式α之内容的狀態。 程式“之具體編輯順序,例如,係以滑鼠從FB領域3 内之FB(預先準備之FB)中選擇所要的ρΒ,再使滑鼠移動 (拖放(drag and drop))至FB程式編輯領域5,而將fb 加至程式上。 接著’藉由利用滑鼠進行配置在程式上之叩的輸入端 子與輸出端子的配線,即可進行用戶所要的編輯。此外,而 319119 15 200836100 在重新追加程式時, 程式而顯示之彈出二:!由利甩滑鼠右鍵點擊樹狀選單2之 指示等。 早(popupmenu)中進行新程式追加 接著,說明用戶定以 的相關操作。 下,略稱為「用戶FB」) 杜弟3圖中,你口 ㈤ 2内的用戶Τβα萨,曰一戶利用滑鼠點擊2次樹狀選單 成可編輯用戶/卩❹用戶定義FB編輯領域6,並形 斗用戶FBa之内容的狀態。 用戶定義FB之且俨絶龃忠产 領域3内之FBC預先^雜順序,例如,係以滑鼠從忡 鼠移動(拖放)至用戶、擇所要的FB,再使滑 編輯一樣將叩追加至·7;上領域6,而與一般的程式 柯時,係由利用滑鼠右重新追加用戶定義 而顯示的彈出式選Γ中: 等。 早中進仃新用戶定義FB的追加指示 > 以上述方式製作之 樹狀選單2,亦珣-认 我不僅階層式地顯示於 早亦'頌不於用戶定義FB領域4。 在編輯程式之際,如同利 要的啊預先準備的FB) /1= _ FB領域3中選擇所 域5之拖放動作將ρβ追加到 動H扁輯領 從用戶定義FB領域4中谐摆戶…”般,亦利用滑鼠 使滑鼠移動到程式㈣^; R的用戶定義FB,再藉由 追加到程式上式御域5之拖放動作將用戶定㈣ 接著’連同第4圖的漭鞋同 的巩私圖’—面參照與第3圖相關 319119 16 200836100 之第5圖以及第6圖的說明圖,明: 發明實施例1之參數設定^ f 3圖所示之本 圖中,僅顯示與操作順序直 ,在第5圖以及第6 、序直褛關聯的領域 各圖所示之對話框中,以ή Α ρ 次邛刀。此外,在 Μ白色區塊顯示可輪入令生μ 行檢查、或藉由瀏覽選擇 子列、進 素,而以灰色區塊iph 值而輪人之對話框的要 話框的要素。文子列顯示或按鍵等讀取專用的對 於用二4 :中’係顯示有藉由從用戶定義FB直接使用用 於用戶疋我FB之内部處理的記的 用用 框,而設定絲式巾使 的讀^對話 序。用戶疋義抑時之參數的操作順The processing content of the user-defined FB of the internal processing of the user-defined FB is set, and the user can define the fb by the user and the parameter including the parameter of the FB used in the description. between. [Embodiment] Example 1 The following is a description of the "Parameter Setting" of the embodiment of the Japanese invention, and the description of the configuration of the example 1 _ Production Program Submission 2 "隹图" shows the production program auxiliary device (or: the personal electric coffee box of the invention; the user-defined FB processing function of the real two; or the implementation of the device is purely user-defined Instead, ^ segment: for the process; and "quote the code of the program 319119 12 200836100 ^ to encode the user-defined FB part. In addition, as a pre-block (FB). In addition, p - 蕈々 m , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , Production: Mosuke: device (personal computer) just, including: microprocessor ι〇ι:=:2; communication green display unit 1〇4; input part J (hardware) (10), each component 1G1 To the busbar on the human computer 100., 1Π Ι" ί=-type auxiliary device (personal electric tanning) 100 (4) The controller 200 used for the ΓνΛ^^τ device is implemented by the controller (々王式贝行置)2 0 0. The microprocessor 1 (the system is a production program auxiliary device (personal computer)) The main part is the processing of the production program auxiliary device (that is, the processing related to the user-defined FB here). The data storage memory 1〇2 temporarily stores the data as the microprocessor m processes. The communication device 3 is connected to the controller 200 to perform communication between the personal computer (10) and the controller 2. The display unit 104 displays a production program supporting device (tree e) or an icon (ic 〇η), which will be described later. The input unit (the 〇5 system has a keyboard, a mouse, etc. (not shown), and forms a man-machine interface with the display unit 〇4. The memory unit 丨〇6 is assisted by the production program. The data set by the device (that is, the data related to the user-defined FB) is stored. 319119 13 200836100 The microprocessor 101 is communicated with the program execution device (controller) 200 via the communication device 103, and is stored with the data storage memory. 102. Display unit 104 The input unit 105 and the storage unit 106 operate in association with each other. Accordingly, the micro-processing benefit 101 constitutes a user-defined FB parameter setting means for setting a user-defined FB parameter of a parameter related to the processing content of the user-defined FB; The user-defined FB parameter setting value holding means maintains the user-defined FB parameter setting value set by the user-defined FB parameter setting means; and the user-defined FB processing execution code generating means, and uses the user-defined FB parameter setting value holding means to maintain the user definition The FB parameter setting value generates a code for executing the processing of the user-defined FB corresponding to the user-defined FB parameter setting value, and implements a dialog box for providing parameters for setting the internal processing of the user-defined FB by the dialog mode. means. Fig. 2 is a block diagram showing the functional configuration of the embodiment 1 of the present invention. In the second drawing, the production program assistance device 300 includes a user-defined FB creation means 303, a user-defined FB parameter setting means 301, an FB 10 parameter setting means 304, a user-defined FB parameter setting value holding means 302, and a user-defined FB. The processing code generation means 305 is processed. When the program coded by the program support device 300 is transferred, the program execution device 400 is connected to the user-defined FB process execution code generation means 305. The user-defined FB parameter setting means 301 activates and displays the FB parameter setting means 304, and the FB parameter setting means 304 acquires the parameter value set by the FB parameter setting means 304. The value of this parameter is transmitted to and held by the user-defined FB parameter set value holding means 302. When the program code is generated by the user-defined FB processing execution code generating means 305, the value held by the user is set to be held by the user FB parameter setting value holding means 3{)2. In the block diagram of FIG. 0 + 3 in which the program creation device 1 for producing the same type of bedding clothes is implemented as an embodiment of the present invention, the program creation device 1 is configured to have a human interface (10). Now (refer to Figure 1), it has: tree menu 2; 叩 field 3' user-defined FB field 4; FBD program editing field 5; and user-defined FB editing field 6 〇μ in tree menu 2, user The program and the user-defined FB are displayed hierarchically using the programming components. In the FB field 3, the program (4) device 1 side has been displayed, and in the user FB field 4, the user-defined fb (user definition (8) is displayed. In the FBD program editing field 5) In the user-defined FB editing field 6, the user-defined FB is edited. The following describes the basic operations related to the general program. In Figure 3, for example, the user clicks the tree menu twice with the mouse. When the program α in 2 is displayed, the program editing field 5 is displayed, and the state of the content of the editable program α is formed. The specific editing sequence of the program is, for example, the FB in the FB field 3 by the mouse (pre-prepared FB) Select the desired ρΒ, then move the mouse (drag and drop) to the FB program editing field 5, and add fb to the program. Then 'by using the mouse to configure the program The wiring of the input terminal and the output terminal can be edited by the user. In addition, when 319119 15 200836100 is re-added, the program displays pop-up 2:! Right click on the tree menu 2, etc. Early (po In the pupmenu), a new program is added to explain the related operation that the user has set. Next, abbreviated as "user FB". In the picture of Du Di 3, the user in your mouth (5) 2 Τβα萨, a household clicks with the mouse The secondary tree menu becomes the editable user/卩❹ user-defined FB edit field 6, and the state of the content of the user FFB is shaped. The user-defined FB and the FBC pre-complex sequence in the real estate field 3, for example, the mouse is moved from the Mole (drag and drop) to the user, the desired FB is selected, and then the slide editing is added. Up to 7; the upper field 6 and the general program Ke, are pop-up options displayed by re-adding the user definition with the right mouse button: etc. Adding an instruction to the new user-defined FB in the middle of the morning > The tree-like menu 2 produced in the above manner is also recognized as not only hierarchically but also in the user-defined FB field 4. In the editing program, as the prestige is prepared in advance FB) /1= _ FB field 3 selects the domain 5 drag and drop action to add ρβ to the moving H flat series from the user-defined FB field 4 In the same way, the mouse is also used to move the mouse to the program (4)^; R user-defined FB, and then by the add-on to the program-style domain 5 drag-and-drop action to set the user (four) then 'together with Figure 4巩 同 同 — — — — — 319 319 319 319 319 319 319 319 319 319 319 319 319 319 319 319 319 319 319 319 319 319 319 319 319 319 319 319 319 319 319 319 319 319 319 319 319 319 319 319 319 319 319 319 319 319 , only the order of operation is straight, in the dialog box shown in each of the fields associated with the 5th and 6th, and the sequence of the line, the ή ρ 邛 times 邛 。. In addition, the Μ white block display can be wheeled Make the μ line check, or select the sub-column and the input by browsing, and use the gray block iph value to turn the elements of the dialog box of the dialog box. The text column display or the button, etc. 4: The middle ' shows that there is a record for directly using the internal processing for the user 疋 FB from the user-defined FB. Block, is set so that the wire-type napkin read ^ dialogue sequence. Suppressors parameters of a user-defined operation Cloth cis

在第4圖中’製作用戶F 用戶FB時之步驟S3,係對庫:卜驟S1 ' S2以及利用 本操作。 對應於與㈣—般程式相關的基 制你f外’在此係設定在步驟幻,製作用戶FB時)中, =心於第5圖内之用戶定義叩領域4 此外’亦設定用戶㈣中,記述有^ 數值_ΑΜΦ (用戶定義FB參數設定值)。 L有蒼 T先’在製作用AFB時’追加新的用戶FB(步驟S1)、 編輯用^(步驟S2)、並製作如第5圖所示的用戶㈣。 石配用戶料,如第6圖所示,先將用戶fb Θ配置在程式中(步驟S3)。 接著,利用滑鼠點擊配置於程式之用戶定義fb兩次, 直接顯示在步驟SbS2所製作之用戶_之㈣處理的 319119 17 200836100 記述中所使用的FB0的參數設定對話框,輸入設定fb^之 内部處理的參數值PARAM Φ (步驟S4)。 在步驟S4中輸入之參數值PARAM0,係被設定在用戶 之用戶定義FB參數設定值保持手段3⑽。 最後,根據PARAM φ的值實行用戶定義FB的編碼化(步 驟S5),並結束第4圖之操作順序。 / 此時,用戶定義FB之參數設定對話框,係藉由择用於 籲内部處理記述之FB的參數設定對話框,實行用戶定義叩、 參數没定手段3 01的功能。 、,此外,係在步驟s卜S2中,製作如第5圖内之用戶定 義FB領域4所示之用戶FB/?,因此在製作用戶FB時的步 驟S4中,會藉由用戶定義FB領域4將用戶ρΒ万拖放至ρ抑 程式編輯領域5,而形成如第6圖内之FBD程式編輯領域5 所示之狀態。 在FBD程式編輯領域5中,設定用戶FB厶的内部處理 •的參數值PARAM0。 在步驟4中’用戶定義FB參數設定值保持手段3〇2 亦進行動作,將步驟S4中所設定的參數pARAM^的值做為 用戶FB /3的參數而予以保持。 ' 在步驟5中,使用保持於用戶定義FB參數設定值保持 手段302的參數設定值ΡΑΜΜφ,產生實行該用戶定義吓 之處理的程式碼。在步驟S5中,用戶定義FB處理實行碼 生成手奴305執行其功能,再根據所設定之參數的值 Φ實行用戶F Β的處理。 319119 18 200836100 具體說明程心馬之生成方法。 數值:情況购_、第6圖)之參 成。亦即,將記述在FBD程FB相同的程式碼生 將記物戶定Ο::· 内部處理編碼化。 心用戶FB冷的 裝置用用將編竭化後之程式予以實行的程式實行 域6 ^記、求之’係實行將在用戶定義FB編輯領 戶FB/?d 理予以編碼化後的部分。因此,甩 沒係猎由在用戶定義FB編輯領域6中進行記述之際 所5又疋翏數的值PARAM0而實行。 接著,說明設定甩戶_之參數值ΡΑ_Φ時的情形。 在該情形Τ ’將記述在FBD程式賴領域5之程式編 =時,對於用彳FB紅編碼化係依據用戶定義Μ參數 叹疋值,持手段3{)2所保持之參數來進行編碼化。 接著,貫行經編碼化之程式的程式實行裝置,在實行 用戶FB石之際係反映參數值之值ρΑΜΜφ而將記述於用戶 定義FB編輯領域6之内部處理之編碼化部份予以實行。因 =,用戶FB0係藉由用戶定義FB參數設定手段3〇1所設 定且保持於用戶定義FB參數設定值保持手段3〇2之參數的 值PARA1 φ而實行。 如上所述,本發明之實施例i的製作程式輔助裝置係 :k有·用戶疋我FB製作手段3 0 3,用以組合包含預先定 我之用戶定義FB之程式命令,而定義新的功能或功能方 319119 19 200836100 塊;以及用戶定義FB處理實行碼生成手段305(步驟S5), 在為了讓使用用戶定義FB而記述的程式可在程式實行裝 置實行的編碼化中,進行用戶定義FB部份之編碼化;該製 作程式輔助裝置具備有:用戶定義FB參數設定手段301 (步 驟S4);設定用戶定義FB之用戶定義FB參數;以及用戶 定義F B麥數設定值保持手段3 0 2 (步驟S 4 )’保持用戶定義 FB芬數設定手段301所設定之用戶定義FB參數設定值。 用戶定義FB處理實行碼產生手段305係依據用戶定義 FB參數設定裝置302所保持之參數將用戶定義FB編碼 化,用戶定義FB參數設定手段301係顯示使用於用戶定義 FB之内部處理的記述的FB之FB參數設定手段304,用戶 定義FB參數設定值保持手段302係保持FB參數設定手段 所設定之參數設定值。 此外,本發明之實施例1之程式實行裝置,係為了實 行由具有:用戶定義FB製作手段303,用以組合包含預先 籲定義之用戶定義FB之程式命令,而定義新的功能或功能方 塊;以及用戶定義FB處理實行密碼生成手段305(步驟 S5),在為了讓使用用戶定義FB而記述之程式可在程式實 行裝置實行的編碼化中,進行用戶定義FB部份之編碼化的 製作程式輔助裝置所製作並編碼化的程式,而實行由用戶 定義FB處理實行碼生成手段305所產生的編碼。 因此,藉由實現一種提供可將用戶定義FB之内部處理 所使用的參數以對話方式設定的對話框的手段,可迴避在 複雜之FB情況下所產生之作業負載的增大以及用戶定義 20 319119 200836100 =ί大化’而得以獲得一種可縮短FBD ·式製作時間的 衣乍私式辅助裝置以及程式實行裝置。 士此外,在將,己述於FBD矛呈式編輯領域5之程式編碼化 打,關於用戶FB沒之編碼化’係藉由保持在用戶定義吓 麥數設定值保持手段302的參數來進行編碼化。 實施例2 在上述實施例1(第5圖、第6圖)中,係說明製作其 •中記述有FB φ之用戶FB石且設定了參數值pAR_的情、 形’但如第7圖以及第8圖所示,亦可製作其中記述有FB f之用戶FB 5且將參數的值設成常數。 、第7圖以及第8圖係使本發明之實施例2的製作程 =助裝置以及程式實行裝置的操作順序與第3圖相 絲頁示的說明圖,係分別對應前述第5圖以及第6圖。 本發明之實施例2的構造,如第丨圖至第3圖所示。 此外’本發明之實施例2之參數的設定順序’如第4圖 Φ示,f結果,會形成如第8圖内之勘程式編輯領域回5所 不狀恶。在此係示有在與前述相同之步驟Sl、%中如& 圖内的用戶定義FB領域4所示地製作用戶fb占的情況。 亦即,前述實施例1雖說明了使用於用戶定義&/內 部處理記述之功能以及功能方塊圖具有參數設定^對話 知況(苓照第43圖),但在本發明之實施例2中並不具焱 數設定對話框,而具有參數端子pARAM(參照第U圖、)。, μ此外,在本發明之實施例2中,即使在使用於用戶〜 義FB之内部處理的記述的功能或功能區塊之内部處理中^ 319119 21 200836100 所使用的參數為第42圖之型態,亦不採5 型態(將參數從用戶定義叩的輸入端子),而如第 行記述。之吊放值來設定供給參數之值的方式進 此外,藉由與前述實施例1相同的操作順序,如 ί所示二示用以將使用於内部處理之記述之常數FB的常 ^予以叹疋的對話框而做為用戶定義FB的參數設定對話 如上所述’藉由本發明之實施例2,可 將在 =戶定義心内部處理所❹y的常數值予 對話框,因此’與前述相同,即使在 下= 避,的增大以及用戶定義_ 式實行裝置。^料間的製作程式輔助裝置以及程 (實施例3) •之:理t=例!、2中,在使_戶定㈣ 下,可從用戶定義抑直接使;時的情況 心内物之記述的 日爾況下,亦可從用戶定義FB直接使用。 以下,參照第9圖至第12圖,說明本發明 第9圖係顯示本發明之實 之只細例3 ®>ik^-i4(^as^2FIU 之功能構成的方塊 之符號並省略其詳細說明。此時,用戶與前述相同 疋我FB翏數設定手 319119 22 200836100 段301係包含有用戶令μ、 / 我fb參數設定手段選擇手ρ 而FB參數設定裝置3 ^详d又306, 、彳用戶定義F B參數設定丰p、n 擇手段306相關聯。用白~二 ^ 乂敦口又疋手I又进 疋我F B參數設定手段選摆丰p 306當使用於用戶定義pR + 上 丁仅达擇手奴 我W之内部處理之記述 數設定裝置304為複數個斤%丄… 、7 Μ的FB爹 才’可由複數之FB參數設定梦詈 304中選擇做為用戶定Μ ρη △ 双叹疋衣置 怦乃用戶疋我FB參數設定手段3〇1使In step S3, when the user F user FB is created, the library is closed: S1 'S2 and the operation is performed. Corresponding to the basic system related to (4) general program, you are set in the step illusion, when creating the user FB, = the user defined in the 5th figure, the field 4 is also set in the user (four) , the description has ^ value _ ΑΜ Φ (user-defined FB parameter setting value). When there is a new user FB (step S1) and editing (step S2), the user (four) shown in Fig. 5 is created. As shown in Fig. 6, the user equipment fb is first configured in the program (step S3). Next, the user-defined fb arranged in the program is clicked twice by the mouse, and the parameter setting dialog box of FB0 used in the description of 319119 17 200836100 processed by the user (4) created in step SbS2 is directly displayed, and the setting fb^ is input. The internally processed parameter value PARAM Φ (step S4). The parameter value PARAM0 input in step S4 is set to the user-defined FB parameter set value holding means 3 (10) of the user. Finally, the encoding of the user-defined FB is carried out based on the value of PARAM φ (step S5), and the operation sequence of Fig. 4 is ended. / At this time, the parameter setting dialog box of the user-defined FB is implemented by the parameter setting dialog box for calling the FB of the internal processing description, and the function of the user-defined parameter and the parameter-definite means 3 01 is implemented. Further, in step S2, the user FB/? shown in the user-defined FB field 4 in FIG. 5 is created, so in the step S4 when the user FB is created, the FB field is defined by the user. 4 Drag and drop the user to the ρ program editing field 5 to form the state shown in the FBD program editing field 5 in Fig. 6. In the FBD program editing field 5, the parameter value PARAM0 of the internal processing of the user FB is set. In step 4, the user-defined FB parameter setting value holding means 3〇2 also operates, and the value of the parameter pARAM^ set in step S4 is held as a parameter of the user FB/3. In step 5, the code for executing the processing of the user-defined scar is generated using the parameter setting value ΡΑΜΜφ held by the user-defined FB parameter set value holding means 302. In step S5, the user-defined FB processing execution code generation hand slave 305 performs its function, and then performs the processing of the user F 根据 based on the value Φ of the set parameter. 319119 18 200836100 Explain the method of generating Cheng Xinma. Value: Case purchase _, Figure 6). That is, the same code code described in the FBD FB will be defined as: • Internal processing coding. The user of the heart user FB is implemented by a program that is executed by the program that has been compiled. The field is executed, and the program is coded after the user-defined FB editing user FB/?d. Therefore, 甩 is not carried out by the value PARAM0 which is counted in the user-defined FB editing field 6. Next, the case where the parameter value ΡΑ_Φ of the Settlement_ is set will be described. In this case, 将 'will be described in the program of FBD program 5, when encoding with 彳FB red coding based on the user-defined parameter sigh value, holding the parameters held by means 3{)2 . Next, the program execution means of the coded program executes the coded portion of the internal processing described in the user-defined FB edit field 6 by reflecting the value ρ φ of the parameter value when the user FB is executed. Since the user FB0 is set by the user-defined FB parameter setting means 3〇1 and held at the value PARA1 φ of the parameter of the user-defined FB parameter set value holding means 3〇2. As described above, the production program auxiliary device of the embodiment i of the present invention is: k has a user 疋 my FB production means 3 0 3, for combining a program command including a predetermined user-defined FB, and defining a new function. Or the function side 319119 19 200836100 block; and the user-defined FB processing execution code generation means 305 (step S5), and the user-defined FB part is performed in the coding execution performed by the program execution means in order to program the user-defined FB. The coding auxiliary device is provided with: a user-defined FB parameter setting means 301 (step S4); a user-defined FB parameter for setting a user-defined FB; and a user-defined FB wheat number setting value holding means 3 0 2 (step S 4 ) 'Maintains the user-defined FB parameter setting value set by the user-defined FB number setting means 301. The user-defined FB processing execution code generation means 305 encodes the user-defined FB in accordance with the parameter held by the user-defined FB parameter setting means 302, and the user-defined FB parameter setting means 301 displays the FB used for the description of the internal processing of the user-defined FB. The FB parameter setting means 304, the user-defined FB parameter setting value holding means 302 holds the parameter setting value set by the FB parameter setting means. Furthermore, the program execution apparatus of the first embodiment of the present invention is configured to implement a new function or function block by having a user-defined FB creation means 303 for combining program commands including a user definition FB defined in advance; And the user-defined FB processing execution password generation means 305 (step S5), in which the program described in order to use the user-defined FB can be encoded by the user-defined FB part in the encoding of the program execution apparatus. The code generated by the user-defined FB processing execution code generating means 305 is executed by the program created and encoded by the device. Therefore, by implementing a dialog box that provides a dialogue-configurable parameter for the internal processing of the user-defined FB, the increase in the workload generated in the case of complex FBs can be avoided and the user-defined 20 319119 200836100 = ί大化', and it was able to obtain a private accessory and program implementation device that shortened the production time of FBD. In addition, in the FBD spear-based editing field 5, the encoding is performed, and the encoding of the user FB is not encoded by the parameters of the user-defined scary value setting means 302. Chemical. [Embodiment 2] In the first embodiment (Fig. 5 and Fig. 6), the case where the user FB stone of FB φ is described and the parameter value pAR_ is set is described. As shown in Fig. 8, the user FB 5 in which FB f is described can also be created and the value of the parameter can be set to a constant. FIG. 7 and FIG. 8 are diagrams showing the operation sequence of the manufacturing process=assist device and the program execution device according to the second embodiment of the present invention and the third drawing, respectively, corresponding to the fifth figure and the 6 picture. The configuration of Embodiment 2 of the present invention is as shown in Figs. 3 to 3. Further, the setting order of the parameters of the second embodiment of the present invention is as shown in Fig. 4, and the result of f is formed as shown in Fig. 8 . Here, the case where the user fb is created as shown in the user-defined FB field 4 in the & figure is shown in the same steps S1 and % as described above. That is, the foregoing embodiment 1 describes that the function for the user-defined &/internal processing description and the function block diagram have the parameter setting and the dialog state (refer to FIG. 43), but in the second embodiment of the present invention It does not have a parameter setting dialog box, but has a parameter terminal pARAM (refer to the U-picture). Further, in the second embodiment of the present invention, even in the internal processing of the function or the functional block used for the description of the internal processing of the user-defined FB, the parameter used in the 319119 21 200836100 is the type of the 42nd figure. State, also does not adopt the 5 type state (the parameters are from the user-defined 输入 input terminal), as described in the first line. The value of the value of the supply parameter is set by the value of the sling. In addition, the same operation sequence as in the first embodiment is used, and the constant FB used for the description of the internal processing is sighed. The dialog box of the user-defined FB is set as described above. With the second embodiment of the present invention, the constant value of ❹y can be processed inside the dialog box, so that 'the same as the above, Even in the lower = avoid, increase and user-defined _ implementation device.制作 制作 制作 制作 制作 制作 制作 制作 制作 制作 制作 制作 制作 制作 制作 制作 制作 制作 制作 制作 制作 制作 制作 制作 制作 制作 制作 制作 制作 制作 制作 制作 制作 制作 制作 制作 制作 制作 制作 制作 制作 制作 制作 制作 制作 制作 制作 制作 制作 制作 制作 制作In the case of the date, it can also be used directly from the user-defined FB. Hereinafter, the ninth drawing of the present invention will be described with reference to the ninth to twelfth drawings, and the symbol of the block of the function of the present invention, which is a simple example of 3 ®>ik^-i4 (^as^2FIU), is omitted. Detailed description. At this time, the user is the same as the above. My FB parameter setting hand 319119 22 200836100 Section 301 contains the user command μ, / I fb parameter setting means selection hand ρ and FB parameter setting device 3 ^ d and 306,彳 User-defined FB parameter setting Feng p, n Select means 306. Use white ~ two ^ 乂 口 疋 疋 I I 又 又 FB FB FB FB FB FB FB FB FB FB FB FB FB FB FB FB FB FB FB FB FB 当 当 当 当 当 当 当Ding only to choose the hand slaves I the internal processing of the number of setting device 304 for a number of jin% 丄 ..., 7 Μ FB 爹 才 ' can be selected from the complex FB parameters set in the nightmare 304 as a user Μ ρη △ Double sigh 疋 怦 怦 is the user 疋 my FB parameter setting means 3 〇 1 make

參數設定手段。用之W 弟1 0圖係顯示本發明與 ☆ ▲ _ 1月之貝轭例3之筝數設定順序的流 程圖,係示有當使用於用戶定義fb的内部處理之記述的 FB的蒼數設定對話框超過2個以上時,藉由從用戶定義fb 直接使用的方式在程式中使用用戶定義FB時之參數設定 順序。 本發明之貫施例3之製作程式輔助裝置以及程式實行 裝置的構造,如第1圖以及第3圖所示。、 第11圖以及第12圖係與第3圖相關而顯示本發明之 •只加例3之^木作順序的說明圖,係分別對應前述第5圖以 及第δ圖。 在第10圖中,步驟S1至S3、S5係進行與前述(參照 第4圖)相同的操作處理,步驟S4A' S4B則對應前述的步 驟S4 〇 此時’在製作用戶FB時的步驟si、S2中,假設已製 作有如第11圖内之用戶定義ρβ領域4所示之用戶FB 7。 此外,在用戶FBr中,假設記述有FB0以及FBy,而fB Φ、FBy分別具有參數值ΡΑΚΑΜφ以及pARMy。 319119 23 200836100 在第ί 0圖内的步驟Μ、Q9 rb ,ώ M S2中,製作有如第11圖所示 之用戶FB 7 ’因此在步驟S3 式中。 中可將用戶FBr配置在程 接著,如第12圖所示,利用诉包— 中μ rD , 1 、、用,月鼠在配置於程式之用戶 疋我FB上按墨滑鼠右鍵而從 — +止 攸所頭不之彈出式選單中,撰摆 在步騾w、S2令製作之使用於用二中,擇 述的FB(FB0以及FBy)的夂數< ^ σ处理之圮 曰士# f 的數权疋對話框的其中一個,或 疋由庥占#兩次而顯示的對話止 〆 作之使用於用芦PR卞$才〔中,逬擇在步驟S1、S2中製 二:用戶…之内部處理之記述的糊 的錢設定對話框的其中—個(步驟㈣。 此外,㈣在㈣S4A切擇之參數設話 入(步驟S4B)參數的值ίΡΑΡΛΜΑ [ 輸 入值料定在用Λ 及PAR_。此時的輸 八值係叹疋在用戶FB r的參數佯拉丰 曰 S4B的輪人值實行用戶d;持手&。取後,根據步驟 我的編碼化(步驟S5 ),έ士走筐 10圖的操作順序。 叫、、”束弟 此時,在步驟S4A中,用泠令M rD,也 手esnfi勃—我翏數設定手段選擇 又 仃^月b。亦即,將使用於内部處理 數個FB之參數設定對話框選擇為用戶 對話框的手段,係相當於用以、、>1乂 .灸>數5又疋 定抑的用pm J 廷擇複數個用戶叩的參數設 戶疋我FB參數設^手段選擇手段3G6。 此外,在步驟ShS2中,因製作了如 圖 戶定義FB領域4所示之用芦PR “士 ΰ内之用 用戶FB 7,因此在步驟S4A中, 會形成第12圖内之咖程式編輯領域的狀態。 在第11圖中,係顯—< — 口甲係絲貝不设定之内部處理之參 319119 24 200836100 數值 PARAMO、PARAMv 的处1 σ r W的狀恶。另外,在第12圖中 選擇設定用戶FBr之内邱声挪—丨如 係 <門4處理之茶數值的對話框,顯千# 定F Β φ、γ之内部處理夕姿去& 、、/、口又 I k理之翏數值ΡΑΚΑΜφ、param 如上所述,根據本發明 J狀恶 知叨之只施例3,用戶定義 設定手段301尚具備有·用白^ Mrn a 我W茶數 有百·用戶定義FB參數設定手段選遲车 段306(步驟S4A),用戶定Μ Ρβ. A 又手Parameter setting means. The W110 diagram shows a flow chart for setting the number of kites of the present invention and ☆ ▲ _ 1 month yoke example 3, showing the number of FBs used for the description of the internal processing of the user-defined fb. When the setting dialog box exceeds two or more, the parameter setting order when the user-defined FB is used in the program is directly used from the user-defined fb. The configuration of the production program supporting device and the program executing device according to the third embodiment of the present invention are as shown in Figs. 1 and 3. Fig. 11 and Fig. 12 are diagrams showing the order of the woodworking of the present invention only in relation to Fig. 3, which corresponds to the fifth and δth drawings, respectively. In Fig. 10, steps S1 to S3 and S5 perform the same operation processing as described above (refer to Fig. 4), and step S4A'S4B corresponds to the aforementioned step S4, at this time, 'step si when creating the user FB, In S2, it is assumed that the user FB 7 as shown in the user-defined ρβ field 4 in Fig. 11 has been created. Further, in the user FBr, it is assumed that FB0 and FBy are described, and fB Φ and FBy have parameter values ΡΑΚΑΜφ and pARMy, respectively. 319119 23 200836100 In step Μ, Q9 rb , ώ M S2 in Fig. 0, user FB 7 ' as shown in Fig. 11 is created, and thus in step S3. The user FBr can be configured in the process, as shown in Fig. 12, using the voucher package - medium μ rD , 1 , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , + In the pop-up menu that is not in the head, the FB (w) and the FB (FB0 and FBy) are used in the second step, and the 圮曰 (^ σ) One of the #f's number rights dialog box, or the dialog box displayed by 庥占占# twice is used in the use of 芦PR卞$, [, in the steps S1, S2: The user's internal processing description of the paste money setting dialog box is one of them (step (4). In addition, (4) in the (four) S4A selection parameter set the input (step S4B) parameter value ΡΑΡΛΜΑ [the input value is determined to be used and PAR_. At this time, the value of the octave is sighed in the user FB r parameter 佯 拉 曰 曰 S4B round person value implementation user d; hold & after taking, according to the step of my coding (step S5), έ The sequence of operations of the 10th row of the basket. Call, "Bundle, at this time, in step S4A, use the order M rD, also the hand esnfi Bo - I count The setting means is selected to be 仃^月b. That is, the parameter setting dialog box for internally processing several FBs is selected as the means of the user dialog box, which is equivalent to using,, >1乂. Moxibustion> In addition, in the step ShS2, the use of the FB field 4 as shown in the figure is defined by the pm J. Lu PR "User FB 7 in the gentry", therefore, in step S4A, the state of the editing field of the coffee program in Fig. 12 will be formed. In Fig. 11, the display - < - the mouthpiece is not Set the internal processing parameters 319119 24 200836100 The value of PARAMO, PARAMv is 1 σ r W. In addition, in Figure 12, select the user FBr within the user's voice - 丨 如 system < The dialog box of the tea value, the internal processing of the F Β φ, γ, the &, /, and the mouth and I k 翏 翏 、, param as described above, according to the invention J-like 叨In the case of only example 3, the user-defined setting means 301 is still available. White is used. Mrn a. I have a number of teas. The user-defined FB parameter setting means selects the late section 306 (step S4A), and the user sets Ρβ. A

。 用戶疋我FB麥數設定手段選擇手P 306,當使用於用戶定義pR 羊又 我FB之内部處理之記述的FB的PR 茶數設定裝置3 0 4存在有;^ |彳面* $ 班 士 有數個守’係由複數個FB參數設 疋裝置304 ^,選摆撤发田& —晏又口又 + /: 為用戶定義FB參數設定手段301 來使用的FB參數設定手段, 又d01 加本 因此,即使將用戶定義FB肉 部處理所使用之參數予犯 我ίβ内 徂腺你兩 卞乂 δ又疋的對話框超過2個,亦可提 i、將使用於用戶定義FB之肉都南 “ 叙 _ . 之内#處理的麥數予以設定的妒. The user 疋 my FB mic setting means selects the hand P 306, and the PR tea setting device 3 0 4 of the FB used for the user-defined pR sheep and the internal processing of the FB exists; ^ |彳面* $班士There are several defensive 'systems consisting of a plurality of FB parameter setting devices 304 ^, selecting the undocking field & - 晏 口 and + /: FB parameter setting means for the user to define the FB parameter setting means 301, and d01 plus Therefore, even if the parameters used in the user-defined FB meat processing are committed to my ίβ inner gland, you have more than two dialog boxes, and you can also use the user-defined FB. The setting of the number of wheat processed in the South " _ _ _ _ 妒

吾王,並獲得與前述相同之作用效果。 J 實施例4 此外’在上述實施例丨至實施 $ 義FB設定於用戶定M叩+ 士 T马了攸用戶定 所且有的所右、我内部處理之記述所使用的FB 百的所有茶數,而從用戶定 定義FB的f+ ϋ 我Β直接使用以提供用戶 我W的對話框做為使用於用戶 述的^的參數設定對話框。疋我叩之内部處理之記 然而,記述用戶定義FB之内部声柿枯父么 數設定對話_彳„#,^^_1%’係以叩的參My king, and obtained the same effect as the foregoing. J. Example 4 In addition, in the above-mentioned embodiment, the implementation of the FB is set to the user's setting M叩+ 士T马攸, the user's prescription, and all the FBs used in the description of the internal and internal processing are all teas. The number, and from the user defined FB f + ϋ I used directly to provide the user I W dialog box as the parameter setting dialog for the user's ^.疋 叩 叩 内部 内部 内部 然而 然而 然而 然而 然而 然而 然而 然而 然而 然而 然而 然而 然而 然而 然而 然而 然而 然而 然而 然而 然而 然而 然而 然而 然而 然而 然而 然而 然而 然而 然而 然而 然而 然而 然而

時經常唯# Α 右有希望在使用用戶定義FB *、、隹锊為固定之值的參數時, 定義FB抽出參數設定對話框。取好5又為不要自用戶 以下,參照第13圖至第π圖,說明為達成上述目的 319119 25 200836100 之本發明之實施例4 〇 —此外,本發明之實施例4之製作程式輔助裝置以及程 式實行裝置的構造,係如第1圖所示。 第13圖係顯示本發明之實施例4之功能構造的方塊 圖,與前述相同之部分,係標示相同符號並省略其詳細說 二二在該情況下,用戶定義Fβ製作裝置3〇3尚具備:用戶 ^義FB參數設定手段指定手段3〇7,用戶定義fb參數設 籲定手段指定手段307係與用戶定義FB參數設定手段 内之用戶定義FB參數設定手段選擇手段306相關。 曰一第14圖係以圖示顯示本發明之實施例4的方塊圖,係 頒不^用戶定義FB直接使用於内部處理之記述所使用之 FB的參數設定對話框,而在提供用戶定義的對話 同時達成上述目的時的構造。、 第15圖顯示本發明之實施例4之參數設定 圖’係顯示可指定是否直接由用戶定義FB使用於= 之内部處理之記述所使用的FB的參數設定對話框的構 之構214,圖中:製作程式裝置1除前述(參照第3圖) 〜’尚具備對應用戶定義FB參數設定手段指定手段 之FB芩數設定手段指定手段99。 用於2:義圖:之=指定是否直接由用戶定義叩使When the time is often # Α Right, there is a desire to define the FB extraction parameter setting dialog box when using the user-defined FB *, 隹锊 is a fixed value parameter. 5 is not to be taken from the user. Referring to FIG. 13 to FIG. π, an embodiment 4 of the present invention for achieving the above object 319119 25 200836100 is described - in addition, the production program auxiliary device of the embodiment 4 of the present invention The structure of the program execution device is as shown in Fig. 1. Figure 13 is a block diagram showing the functional configuration of the embodiment 4 of the present invention, and the same portions as those described above are denoted by the same reference numerals and the detailed description thereof is omitted. In this case, the user-defined Fβ production device 3〇3 is still available. The user-defined FB parameter setting means specifying means 3?7, the user-defined fb parameter setting means specifying means 307 is associated with the user-defined FB parameter setting means selecting means 306 in the user-defined FB parameter setting means. FIG. 14 is a block diagram showing a fourth embodiment of the present invention, showing that the user-defined FB is directly used in the parameter setting dialog box of the FB used for the description of the internal processing, and is provided in a user-defined manner. The structure of the dialogue at the same time to achieve the above objectives. Fig. 15 is a diagram showing the configuration of a parameter setting dialog box for the FB used in the description of the internal processing of the user-defined FB directly by the user-defined FB, which is a parameter setting diagram of the fourth embodiment of the present invention. In addition to the above (see FIG. 3), the production program device 1 has the FB parameter setting means specifying means 99 corresponding to the user-defined FB parameter setting means specifying means. For 2: meaning map: it = specify whether it is directly defined by the user

定對話框,-曰/^#處用理之記述所使用的FB的參數設 .,^ —礼疋為使用時係藉由直接由用戶定J| PR 使用該指定之FB的參數Μ對話框來設定在程式;;用 319119 26 200836100 用戶定義FB時之參數的操作順序。 在第15圖中,步驟S1至S5係進行與前述(參照第 圖)相同之操作,但在製作用戶FB時之步驟S2之後追加步 驟S6的點則與前述不同。 第16圖係顯示指定為得以直接由用戶定義fb使用之 狀態的說明圖。此外,第17圖顯示第15圖内之步驟34八 之操作後的狀態的說明圖,該圖係對應前述第12圖。 第14圖内的FB參數設定手段指定手段99係藉由:從 在樹狀選單2之用戶FBr上按壓滑鼠右鍵而顯示之彈出式 選單中進行FB參數設定手段指定指示,或是從在用戶定義 FB編輯領域6上之空白領域按壓滑鼠右鍵而顯示之彈出式 選單中進行FB參數設定裝置指定指示的方式來顯示。 藉此,在FB參數設定手段指定手段99中,可由記述 於用戶定義FB之内部處理之複數的〇的參數設定手段 中,指定做為用戶定義FB參數設定手段3〇1使用者。又 • 在本發明之實施例4中,與前述實施例3相同,係在 步驟S1、S2中製作用戶FBr (參照第u圖)。此外,在用 戶FB r中,記述有FB φ以及,FB φ、係分別具有 參數值PARAM φ以及PARAMy。 在第15圖中,係在製作用戶忡時之步驟S2之後,藉 f按下滑鼠右鍵來顯示FB參數設定手段指定手段⑽(參』 第14圖),並指定做為用戶FB之參數設定對話框使用的 FB的參數設定對話框(步驟S6)。 此時,在步驟S6中,在FB參數設定手段指定手段99 319119 27 200836100 中,係以一覽方式顯示於用戶定義FB之内部處理之記述 使用之FB中具有參數設定對話框之FB的名稱。 第16圖所示,FB參數設定手段指定手段99中亦㈣有口 直接由用戶定義⑽ 勾透框(checkbox)。藉此,即可僅指定叩φ的參數 洁框亦可由用戶定義FB直接使用。 子 在步驟S1、S2中製作了如第u圖内之用戶定 了域二:之用戶FBr,因此可在地 中如則述一般’將用戶FBy配置在程式中。 接著’在步驟S4A中,係由以、、a❻一以 式中的用自—#i?D 知由以⑺乳右鍵點擊配置在程 、、 疋義FB而顯不之彈出式選單中,或是由點盤而 次滑鼠而顯示的對話框中认丰 ' #兩 戶-之㈣理二所=:s= 擇,S”被指定了的對 斷的參數= 此時的輸入值係被設定在用戶 行用戶定莖^、又取後,在步驟沾中,根據輸入值實 丁好,並結束第15圖的操作順序。 係為了進’二:用戶FB時之步驟S6中’如第16圖所示,Set the dialog box, -曰/^# to describe the parameter of the FB used in the description. ^— The ceremony is used by the user directly by J| PR. The parameter of the specified FB is used. To set the program; use 319119 26 200836100 user-defined FB parameters in the order of operation. In Fig. 15, steps S1 to S5 perform the same operations as described above (see the figure), but the point of adding step S6 after step S2 when the user FB is created is different from the above. Fig. 16 is an explanatory diagram showing a state designated as being directly usable by the user to define fb. Further, Fig. 17 is an explanatory view showing a state after the operation of the step 34 of Fig. 15, which corresponds to the aforementioned Fig. 12. The FB parameter setting means specifying means 99 in Fig. 14 performs an FB parameter setting means designation instruction from the pop-up menu displayed by pressing the right mouse button on the user FBr of the tree menu 2, or from the user. The blank area on the FB editing field 6 is defined by pressing the right mouse button and displaying the FB parameter setting device designation instruction in the pop-up menu displayed. In the FB parameter setting means specifying means 99, the user can be designated as the user-defined FB parameter setting means 3?1 by the parameter setting means described in the plural of the internal processing of the user-defined FB. Further, in the fourth embodiment of the present invention, as in the third embodiment, the user FBr is created in steps S1 and S2 (see Fig. u). Further, in the user FB r, FB φ and FB φ are described as having parameter values PARAM φ and PARAMy, respectively. In Fig. 15, after step S2 when the user 制作 is created, the FB parameter setting means designation means (10) is displayed by pressing the right mouse button (see Fig. 14), and the parameter setting dialog is designated as the user FB. The parameter setting dialog box of the FB used by the frame (step S6). In the case of the FB parameter setting means specifying means 99 319119 27 200836100, the FB parameter setting means specifying means 99 319119 27 200836100 displays the name of the FB of the parameter setting dialog box in the FB used in the description of the internal processing of the user-defined FB. As shown in Fig. 16, the FB parameter setting means designation means 99 (4) has a port directly defined by the user (10) a check box. By this, you can specify only the parameters of 叩φ. The clean frame can also be used directly by the user-defined FB. In step S1, S2, the user FBr of the user defined in the second figure is created, so that the user FBy can be placed in the program as described above. Then, in step S4A, it is known from the use of , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , It is the dialog box displayed by the dial and the mouse. The two values are: # two households - (four) rational two == s= choose, S" is assigned the parameters of the break = the input value at this time is Set in the user line user to determine the stem ^, and then take it, in the step dip, according to the input value, and end the operation sequence of Figure 15. In order to enter 'two: user FB step S6' as Figure 16,

參數設定==勾可= 戶定義叩直接使用_之 會形成:第Π圖所示狀:進打勾選’因此在步驟S4A 〜h圖中’係、顯示下述狀態:選擇用以設定用戶Parameter setting == tick = user definition 叩 direct use _ will be formed: the figure shown in the figure: check tick 'so in step S4A ~ h figure', display the following status: select to set the user

2S 319119 200836100 FBr之内部處理的參數值之對話框, r 士 理之參數值PARAMO。 又内口P處 如上所述,根據本發明之實施例4,用戶定義FBf作 手段網尚具備有:用戶定㈣參數設定手段才:定^作 f7(财數設定手段衫手德X㈣⑹,當存在t 數個使用於用戶定義之内部處理之記述㈣之柯= 設定裝置304時,可由複數之fr >數 —㈣&批 文之FB麥數設定裝置304中,指 疋FB茶放設定手段做為用戶 使用。此外,用戶段301來 驟S4A)僅顯示複數之FB參數 =又306(步 FR喪备主、此 双°又疋衣1 3〇4中由甩戶定義 3〇1曰定手段307所指定之叩參數設定手段 藉此’透過由用戶定義FB直接使用於用 内部處理之記述所使用的FB的參數設定對: 供用戶定義即了在& 處理時,利用在n 述用戶定義FB之内部 用戶定義FB卜右定對話框進行設定而使在使用 須自用戶㈣持值之參數時,將其設為無 疋我W中抽出麥數設定對話框。 實施例5 此外在上述第1至實施例4中,為了; 設定所有在w義…部 所具有的參數,在記述用戶斤使用之仰 之際若存在有欲維持為_的參數時, 319119 29 200836100 由用戶疋義F B直接使用該灸數夕p D & 而夢由從…Λ : 的參數設定對話框, 之使用於用戶定義叩之内部處理 之记述所使用的FB的參數設定對話框 ― 義FB的對話框。 0万式楗供用戶定 但’考慮此種以F Β (功能區塊)之型態使特 7的=2義FB的性質,而設計成可由用戶定義 居居來叹疋僅在使用用戶定義叩之際可變動之 1他 !!參數則在記述用戶域㈣之内部處理時在心炎數! 疋對逢框中進行設定,使在使用用戶定義fbs = 固定的值為佳。 吊、、餐持為 .例如,幻個FB的參數設定對話框中設定2個以上的 =時,欲使其中部份參數較,而其他參數可由用戶定 我FB的對活框進行設定時,前述的第」至實 實現該目的的。 疋"、、次 因此,最好不是以指定是否分別使用吓的來數訊令斟 話框(參照前述實施例4)的方式,而是以指定各個是 否可變動的方式。 丨口,数疋 以下,參照第18圖至第23圖,說明為達成上述目的, 而設置了製作用戶定義FB之對話框的用戶定義Μ參數科 定手段製作手段之本發明的實施例5。 / ^ 明之實施例5之製作程式辅助裝置以及程 式只订4置的構造,係如第1圖所示。 第18圖係顯示本發明之實施例5之功能構造的方 圖,與前述(參照第2圖、第9圖、第13圖)相同之構件, 319119 30 200836100 標示相同符號並省略其詳細說明。此時,用戶定義fb製作 手段303,係取代用戶定義FB參數設定手段指定手段3〇7, 而具備與用戶定義FB參數設定手段3〇1相關 FB參數設定手段製作手段3〇δ。 用戶疋我 用戶定義FB參數設定手段製作手段308係具有:參數 取得手段3G9;以及參數相㈣定手段31(),參數取得裝置 309係取得與用戶定義FB的處理内容(在内部處理的記述 •所使用之FB的處理)相關的參數。此外,參數相關設定手 段310,係聯繫所製作之用戶定義FB參數設定手段斯的 各參數設定要素以及藉由參數取得手段3〇9所取得之夂 數。 " ,帛19目係以圖式顯示本發明之實施例5之方塊圖,與 前述(參照第3圖、第14圖)相同之構件,係標示與前述相 同之符號。 在第19圖中,程式製作裝置!係具備:用戶定義肫 鲁對話框編輯領域7;以及顯示供用戶定義fb對話框編輯用 的GUI(圖形用戶界面:Graphical零件 之用戶定義FB對話框編輯用GUI零件領域8。 用戶疋義FB對話框編輯領域7與用戶^義fb對話框 編輯用零件領域8構成用以供用戶製作用戶定義叩 參數二疋手段301 <用戶定義FB參數設定手段製作手段 308。藉此,用戶可製作將所製作之用戶定義抑之參數進 行設定的對話框。 接著,連同第2G圖的流程圖參照第21圖之說明圖, 319119 31 200836100 說明第19圖所示本發明之實施例5的操^ 制 =用,FB之參數之對話框起至設定在程二 用用戶疋義FB時之參數為止的順序)。 使 在第20圖中,步驟SUS5係與前 相同之操作,但其在製作用戶FB之㈣圖 應用戶定義FB參數設定手段製作手段3 口 SY、S8)的點上與前述不同。 木作(乂私 » 21 圖,該圖係以圖示顯示用戶定義FB對話框編輯用^ = 領域8、用戶定義FB對話框編輯領域7、乃▲ 令件 話框9的關係。參數相關對話框9、係構U目關對 置310。此外,第23圖係顯示第2〇’Q & 目關°又疋裝 ^ 圖内之步驟S4之择作 後的狀恶的說明圖’該圖係對應前述第12圖、第p圖 在此,與前述實施例2相同,在第2〇圖内的;。 ^中,假設製作了如第11圖所示之用戶H戶、 中,記述有FO以及脚,_、~係分別 數 PARAM 0 以及 PARAMy 〇 ,數值 百先’藉由由第19圖内的樹狀選單2的用戶 ㈣滑鼠右鍵而顯示之彈出式選單中進行對話框編輯指 不’或是在用戶定義FB編輯領域6上的空白領域按㈣鼠 右鍵而顯示之彈出式選單中進行對話框編輯指示,以顯示 用戶定義對話框編輯領域7,並製作用戶叩用的對話 框(步驟S7)。藉*,可形成可編輯用彳F心的對話框。 用戶定義FB的對話框的編輯,如第2ι圖所示,從用 319119 32 200836100 戶定義FB對話框編培s a 卞用GUI尽件領域中以滑鼠媒 _零件再利用滑鼠使之移動至用戶Μ擇所要的 域7(拖放),藉此,即可在對話框上追加GUI。此 我w對話c、、扁輯領域的其他亦以θ — 義FB對話框編輯領域 在用戶定 社—朴 上的砥早或工具攔的形式。2S 319119 200836100 FBr internal processing parameter value dialog box, r ethical parameter value PARAMO. Further, as described above, according to Embodiment 4 of the present invention, the user-defined FBf is also provided with means: the user sets (4) the parameter setting means: the fixed value is f7 (the fiscal setting means shirt hand X (4) (6), when When there are a plurality of t=setting devices 304 for the user-defined internal processing description (4), the FB MG setting device 304 of the plural number of fr > number - (4) & For the user to use. In addition, the user segment 301 to step S4A) only displays the complex FB parameter = 306 (step FR mourning master, this double ° and 疋 1 1 3 〇 4 defined by the tenant 3 〇 1 determination means The parameter setting means specified by 307 is used to set the pair of parameters of the FB used by the user-defined FB directly for the description of the internal processing: for the user to define, in the & processing, use the user-defined in n The internal user-defined FB of the FB is set to the right-hand dialog box so that when the parameter that must be held by the user (4) is used, it is set to the default setting dialog box. 1 to 4, in order to set all If there is a parameter that is to be maintained as _ when the user is using it, 319119 29 200836100 is directly used by the user 疋 FB to use the moxibustion p p D & From the parameter setting dialog box of ... Λ :, the parameter setting dialog box of the FB used for the description of the internal processing of the user-defined ― ― FB dialog box. The 0 million type is for the user but 'consider this The type of F Β (functional block) makes the nature of the FB of the special FB, and is designed to be user-definable and sighs only when the user-defined 叩 is used. The parameter is in the !! Describe the number of heart attacks in the internal processing of the user domain (4)! 疋 Set the frame to make the user-defined fbs = fixed value. Hang, and the meal is. For example, the parameter setting dialog box of the magic FB When two or more = are set, if some of the parameters are to be compared, and the other parameters can be set by the user to set the live frame of the FB, the above-mentioned first "real" achieves the purpose. 疋", Therefore, it is best not to specify whether to use scare separately In the manner of specifying the frame (refer to the above-mentioned embodiment 4), it is possible to specify whether each of them can be changed. The number of the mouth is several or less, and referring to Figs. 18 to 23, the above object is explained. The fifth embodiment of the present invention is provided with a user-defined parameter setting means for creating a dialog box for creating a user-defined FB. / ^ The production program auxiliary device of the fifth embodiment and the structure of the program are only set to four. Fig. 18 is a block diagram showing the functional configuration of the fifth embodiment of the present invention, and the same members as those described above (see Figs. 2, 9 and 13), 319119 30 200836100 are denoted by the same reference numerals. The detailed description is omitted. At this time, the user-defined fb creation means 303 is provided with the FB parameter setting means creating means 3? δ in association with the user-defined FB parameter setting means 3?1 in place of the user-defined FB parameter setting means specifying means 3?. The user-defined FB parameter setting means creating means 308 includes: parameter obtaining means 3G9; and parameter phase (four) determining means 31 (), and the parameter obtaining means 309 acquires processing contents of the user-defined FB (description of internal processing). The parameters of the processing of the FB used). Further, the parameter-related setting means 310 is associated with each of the parameter setting elements of the created user-defined FB parameter setting means and the number of parameters obtained by the parameter obtaining means 3〇9. The block diagram of the fifth embodiment of the present invention is shown in the drawings, and the same members as those described above (see Figs. 3 and 14) are denoted by the same reference numerals as those described above. In Figure 19, the programming device! The system has: user-defined 肫 对话框 dialog edit field 7; and display GUI for user-defined fb dialog editing (graphical user interface: Graphical part user-defined FB dialog editing GUI part field 8. User 疋 FB dialogue The frame editing field 7 and the user's fb dialog editing component field 8 are configured for the user to create a user-defined parameter parameter means 301 <user-defined FB parameter setting means creating means 308. Thereby, the user can make A dialog box for setting the user-defined parameters to be created. Next, with reference to the flowchart of FIG. 2G, refer to the explanatory diagram of FIG. 21, 319119 31 200836100, and the operation of the fifth embodiment of the present invention shown in FIG. = Use the dialog box of the FB parameter to the order set in the second parameter of the user 疋 FB. In the 20th drawing, the step SUS5 is the same as the previous operation, but it is different from the above in the point of the creation of the user FB (4) map by the user-defined FB parameter setting means 3 port SY, S8). Woodwork (Private) 21 figure, which shows the relationship between the user-defined FB dialog box editing ^ = field 8, user-defined FB dialog box editing field 7, and ▲ command box 9. Box 9, the system U is closed opposite 310. In addition, the 23rd figure shows the second 〇 'Q & 目 疋 疋 ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ The drawings correspond to the above-described 12th and FIG. 5th, and are the same as the second embodiment, and are in the second diagram. ^, it is assumed that the user H, the middle, and the description are created as shown in FIG. There are FO and foot, _, ~ are the number PARAM 0 and PARAMy 分别 respectively, the value of the first one is edited in the pop-up menu displayed by the user of the tree menu 2 in the 19th picture (4) right mouse button Refers to the blank area on the user-defined FB editing field 6 and presses the dialog box to display the dialog box in the pop-up menu displayed by the right mouse button to display the user-defined dialog box editing field 7 and create a dialogue for the user. Box (step S7). By lending, a dialog box for editing the F heart can be formed. User-defined FB The edit of the dialog box, as shown in Fig. 2ι, from the 319119 32 200836100 user defined FB dialog box to compile the 卞 卞 GUI GUI GUI GUI GUI GUI GUI 再 再 再 再 再 再 再 再 再 再 再 再 再 再 再 再 再 再 再The desired domain 7 (drag and drop), by which you can add a GUI to the dialog box. This I w dialogue c, the other areas of the flat series also use the θ - meaning FB dialog box editing field in the user's decision - Park The early or the form of the tool bar.

接者’藉由以滑窗赴數;A 上的GUI零件等,㈣二yv己置在第21圖内之對話框 話框9,指定心二 關之參數的參數相關對The picker 's by the sliding window to go to the number; the GUI part on A, etc., (4) the second yv has been placed in the dialog box in Figure 21, the specified parameter pairs of the parameters of the heart

兩L / UI零件相關的參數,使對話框的GUI 零件與麥數產生關聯。 ° gui 夢數相關對話框9係以一覽表方式顯示參數 309所取得之參數。 /双取侍手奴 Λ在第21圖令’顯示由一覽表中選擇與GUI零件相网之 簽數的值的狀態。 干相闆之 此外,用戶定義FB對話框編輯領域7的對話框上的 〇Κ鍵以及料鍵,係縣設置在對雜上,其 :中故無法舆參數間產生關聯。此外,在參㈣ 框9中,可適當實現如顯示係屬於哪一個ρΒ的參數、或已 產生關聯之參數之相關聯的GUI零件的名稱等便利功能。 一在步驟S7、S8 _係與步驟幻、%相關,如第22圖所 不地製作用戶FBr的對話框。如前所述,在用戶衝中, 記述有_以及卿,Ρβφ、FBiM系分別具有參數值ρΑω Φ以及PARAMy,因此,乃以可在用戶心的對話框中分 別設定參數的方式配置GUI零件,而如第22圖所示般個別 319119 33 200836100 產生關聯。 在第22圖中’係顯示:由用戶定義FB對話框編輯用 GUi零件領域8將「Sl:atic Text (靜態文字)」以及「Edit Box(編輯框)」拖放至用戶定義FB對話框編輯領域、的狀 態,以及配置GUI零件的Static Text並將文字列變更為 麥數值ΡΑίίΑΜφ以及PARAMy,配置GUI零件的「Edit Β〇χ」 且設定與ΡΒφ、FBy所具有之參數值PARAM0、PARAMi^ 關聯的狀態。 以下,在第20圖内之利用用戶FB時的步驟S3中,係 在製作用戶FB時之步驟w、S2中製作用戶心(參照第、 11圖),故可將用戶^配置於程式中。 、/接著在步驟S4中’藉由以滑鼠在配置於程式之用戶定 義FB上點擊2次,顯示在步驟S7、%中所製作之用戶定 義FB的參數設定對話框,纟輪入參數的數值。 參數的輪入值係被設定於在步驟別中產生關聯的參 數在步驟S5中係根據該數值實行用戶定義。此時, 用戶定的參數設定對話框㈣當於用戶 設定手段301。 % 22T)51S? # ^ ^ FB r ^ ^ t^i (^ a, 在^?步驟S4中會形成如第23圖所示狀態。 弟3圖中’係顯示··由用冷 FBr拖放至程錢缉如ς用戶以叩“4將用戶 ^ 、、輯項域5的狀態;以及在FBD程式 "5的用戶FBr參數設定對話框10上,設定用 戶w之内部處理的參數值PAR·、腦_的狀態。 319119 34 200836100 此外,係在步驟S8中使GUI零件與參數產生關聯(參 照苐22圖)’故只要在用戶定義FB對話框編輯領域7内的 對話框所顯示的「PARAM6」的右侧的「Edit Box」中輸入 麥數值,即可將該輸入值做為FB Φ的參數值PARAM φ而保 持在用戶疋我FB參數没定值保持手段。同樣地,只要在對 話框顯示之「PARAM〆」的右侧的「Edit Box」中輸入參數 值,即可將該輪入值做為FB〆的參數值PARAMy而保持在 用戶疋義FB參數設定值保持手段中。 最後,在步驟S5中,根據設定之參數值實行用戶FB γ的編碼化處理。 如上所述,根據本發明之實施例5,尚具備有:用以 供用戶製作用戶定義FB參數設定手段3〇1之用戶定義 參數設定手段製作手段3〇δ(用彳定義FB對話框編輯領域 7、用戶定義FB對話框編輯用GUI零件領域8),用戶定義 FB參數設定手段製作手段頂係具備:用以取得*用戶^ 義FB的處理内容相關之參數的參數取得手段咖;、以及使 所製作之用戶定義FB參數的設定手段斯的各文要 素(GUI零件)與由來數 疋要 的參數關聯設定手段付手段9取传之參數產生關聯 的參用戶之内部處理中所使用 果,並且在〇 而到與前述相同的作用效 * F B , ^ 貝曰]f月形中,亦可從用戶定羞 設定在使用用戶定M m + 我fb的對話框 戶疋钱FB時欲設成可變動的參數,而其他的 319119 35 200836100 參數則在記述用戶定義FB的内部處理時 的夕數— :_叫使其在使用-定一時4::;: 具體而言,在製作用戶FBr的對話框時,在2 的例中,為了能夠設定PARAM φ與 弟圖 配置GUI灾|、,技女 rAKA~兩方的參數值而 離,歹1令件^吏之產生關聯,但本發明並不限於該型 二1 ^,可猎由僅在其中一方配置GUI零件使之產峰奶 鲁% ’而將该麥數的值設定為可藉由用戶定義肫的對話丄 可變爭的枯 的對話框而 實_6 參數值騎續使個定值。 一 之5己述的功能以及FB(功能區塊)具有表 疋對話框時(例如、來昭第 以及笛八回 …、、、弟43圖)的情形,但是如第24圖 而具有參數/不’本發明亦適用於不具有參數料對話框 、/而子PARAM的情況(例如、參照第42圖)。 圖,:=參照第2◦圖的同時,參照第24圖、第Μ 實行F置:明之貫施例6之製作程式輔助裝置以及程式 圖=置。此外’本發明之實施例6的功能構造係如第Μ 干,:ί日:本發明之實施例6的操作順序係如第20圖所 框製ST作 1係顯示本^月之實施例6之用戶㈣的對話 t '祝明圖’ $ 25圖係顯示利用用戶FB時之狀 319119 36 200836100 態的說明圖。 在第24圖中係顯示:由用戶定義FB領域4將「c Tex t」與「Edi t Β〇χ」拖放至卿程式編輯領域5的狀態; 以及配置GUI零件之static Text並將文字列變更為參數 值PARAMf,配置GUi零件之「腕β〇χ」且設定為與常 數FB所具有之常數值相關聯的狀態。 此外,在第25圖中係顯示:由用戶定義FB領域4將 用戶FB占拖放至FBD程式編輯領域5的狀態;u及在勵 2式編輯領域5内的用戶取參數設定對話框,設 疋用戶FB(5之内部處理的參數值pARAMf的狀態。 在第20圖中,藉由步驟S7、S8,如第24圖所示,制 ,用戶㈣之對話框並進行參數的聯繋,接著,藉由步ς S3至S5,形成第25圖所示狀態。 此時,麥數取得裝置309係從使用於用戶定義叩之 部處理之記述之FB中之保持有參數的叩中取得該表數。 ^亦即,即使使用於用戶定義F B之内部處理之記述之用 =在功能以及功能區塊的内部處理的參數為第U圖 態的情形中,亦不進行如第45圖所示之記述,也不將土失 數做為用戶定義FB的輸入端子,而如心二‘ FB供給該參數之值的方式進行記述。 吊数 如上所述,根據本發明之實施例6 4於來數 段309係從使用於用戶定義FB之内部處理之記述的^ 之保持有參數的FB中取得該參數,因此,本明 以設定在用戶之内部處理中使用之常數❿的= 319119 37 200836100 值的對鞋,並制與#述_的 實施例7 /衣。 此外,在上述實施例5、6中, 義Fb之對話框,即可在使用用卢乍用卢定 =話框對欲使之為可變的參數奸設定其他戶的:£ 的參數 κ π用尸疋我FB時則缚堂盘函〜从 不會影塑以i处p A , 丁幻、、、工吊為固疋值,而在 办曰以功此區塊之型態將特定在 的性質的情況下達成目的效果。 U化的用戶肩 但是’在上述實施例5、6之操作順序參 中,係製作可實現盥在用冷、、弟20圖) 伟用少❿ 我叩之内部處理之記述中所 =之所具有之參數的設定對姉㈣功能 我F B之對話框(步驟s 7), 產 戶疋 的新作業。因此,曰… 關聯(步驟S8) 而不要有㈣岡 產生用戶定義FB的對話框, 有乐20圖内的追加作業(步驟S7、S8)。 ^以下,在苓照第2〇圖的同時,參照第26圖至第犯 (I 生用戶定義F B的對話框而不需要新的作業 U驟S7、S8)的本發明的實施例7。 &第%6圖顯示本發明之實施例7之功能構造的方塊圖, ^达照第18圖)相同構造者係標示相同符號並省略 詳細說明。此時,用戶定義FB製作手段303内的用戶定°義 肫苓數設定手段製作手段3〇8,係取代參數取得手段別9 以及餐數關聯設定手段31〇,❿具備$數資訊取得手段 311。此外,在具有參數的肫中,則保持有與該參數相關 319119 38 200836100 的詳細資訊。 具體而言,如第27圖的說明圖所示,關於例如F以 以及常數F B係保持··資料型態、值的上限值、值的下限值、 :選擇之值的—覽表等與參數的值Φ相關的資訊;以及參 數的名稱、顯示在對話框上的GUi零件的屬性(型態、尺^ 色ί)等較參數用的GM資訊。以上的資^構造, 在後述之第31圖、第34圖以及第38圖中亦同。 在第27圖中,係以:具有在前述實施例5中使用之參 以及具有在前述實施例6中使用之常數值的 昂數FB作為具體例說明。 .=此,與FB φ所具有的參數φ相關的資訊係設定為具 有貝料型悲=B〇〇L、參數名稱=PARAM φ、GUI雯件的 性⑼it Box者。此夕卜,與常數柯所具有的參數的常數 的資訊係設定為具有:f料型^βγτΕ、參數名稱 苇放值、GUI零件的屬性=別土士 β〇χ。 木$卜由於FB必具有用以設定參數0的對話框,因此 盥二效φ相關的資訊與該對話框所使用之資訊相同時, ^:放Φ相關的貧訊可直接使用儲存在顯示該對話框之手 ‘又中=資訊或亦可保持為其他的資料表。 、罘Μ圖係顯示本發明之實施例7之方塊圖,該圖係以 二示=以實現製作程式辅助裝置以及程式實行裝置的 二衣作裝置1的要部。第2Θ圖係顯示本發明之實施例7 圖順序的要部的流程圖,該圖係對應前述(參照第20 °紅步驟34的操作。第3〇圖係顯示第29圖之操作後的 319119 39 200836100 狀怒的說明圖。 此外,第31圖係顯示表备 欠 闫μy /放之坪細貝訊的其他例的說明 圖’弟32圖係顯示其他資訊例 — 圖。、例的對話框頌不狀態的說明 面說明本發明之實施例 接著,一面參照第2〇圖, 的操作順序。 戶!^1;^_在步_、32中製作第2_斤示之用 中係使用了如第27圖所示之Ρβφ與 以 照第7圖)的FBf。 乂及則述(翏 中進行以下操作。先k在々驟S1K茶數貧訊取得手段311: 名稱=二第、27圖1斤示,係取得資料型態=_L、參數 Φ所具有之失^哪令件的屬性二仙^而做為與抑 二BYTE夫之常數值相關的資訊,並取得資料型態 而做為稱=f數值、GUi零件的屬性=腿士 所具有之參數的常數值相關的資訊。 才妾者’在步驟S12(用戶定羞FR夫叙< ^ 進行以下操作。(用戶疋我叩茶數设定手段3〇1)中, 此日士首^進行與步驟sn所取得之參數"目關的顯示。 /的=數名稱為腦ΜΦ,因此在對話框顯*「pARM 、子列。此外,該文字列旁,因參數办的_零件 319119 40 200836100 的屬性為「Edit Box ,& a . + 」 在對話框顯示厂Ed i t Box」。 此,闵!叙在/、下方,頭示為下一個參數之「常數值」。名 的文一二稱為常數值,故在對話框顯示「常數值」 Λ rFd.+ R 乂文予列旁’因常數值的GUI零件的屬性 為肠U0XJ,故在對話框顯示「Edit B〇x」。 接著,在步驟Si 3(用泠令μ rD ▲止 進行以下操作。 疋我FB参數設定手段301) +, 首先,進行參數φ的判定。 用戶牛 中所顯示之對話框卜麻^ 對用戶在步驟S12 夹數的相si-h 輪入的值,根據步驟su所取得之 有 型㈣育料時即判斷其為正確的值。 糾ίΓ,顯示另一參數的常數值。此時,由於來數的資 科型態為ΒΥΤΕ,因此告「 、,』的貝 的資料田Edlt Β〇Χ」中輪入有BYTE型離 的貝枓日守即判斷其為正確的值。 〜、 '取後,在步驟S14(用戶定義FB參數設定手 進行以下操作。 于丰又3 01)中, 亦即’由用戶FB&之甩戶定義吓夂 — 置保持在步驟S13中被判定為正石/^=保持裳 被輸入參數,之「Edit B〇x」的值,另 參數=常數值的「EditB〇x」的值。卜保持輸入另一 藉由實行以上步驟S11至S14,fbd 會形成第3〇w所示m (•扁輯領域5, 在第30圖,係顯示:由用戶定義FB領域4將用戶卯 319119 41 200836100 ⑽程式編輯領域5的狀態;以及在呈編 U域5㈣用戶F Β ε參數設定對話框,讯定γ 心的内部處理的㈣值ρΑΚΑΜφ的狀態。叹疋用戶 猎此,即使不實行第20圖内的步驟S7 動進行與設定用戶FBe之夹軏从μ 亦可自 , 之参數的對話框相關的處理。 。P,係由弟29圖内的步驟su 行相 前述步㈣的部分,而由步驟SU、S14 二 述步驟S8的部分。 只仃相田於刖 此外’與參數相_詳細f訊,本發明並不限於 圖的例子,亦可如第3〗同 — 、 訊。 ⑦31圖所不,保持參數卜“勺相關資 「Ed此對Ϊ:31圖内的PARAMr,在步,驟S13中,當 QQ 入有1Ντ型態的資料時,且該數值在〇 至999的範圍内時,即判斷其為正確的值。 在0 此外,對於第31圖内的PARAM/C,在 •示如第32圖所示之對話框。亦即,係藉由由候補之:覽;1 由「卜2、3、4、5」中执定PAP請 口万塊)」’ 在第龍φ 的值做為設定的候補。 θ ,係在用戶FBe參數設定對話框12上, 顯示用戶FB之内部處理的參數值舰^的設定狀態。 如上所述,根據本發明之實施例7,與用戶 處理内容相關的參數係具有:與該參數值相關之參數值^ ,、以及用以设定該參數之,資訊,而用戶定義叩製作 手段303尚具備有:參數資訊取得手段311。 319119 42 200836100 苓數貧訊取得手段311係以參數值資訊以及GUI資訊 的形式取得與用戶定義FB的處理内容相關的參數,用戶定 義FB麥數設定手段3〇1係根據參數資訊取得裝置“I所取 =之GUI貧訊顯示設定對話框(步驟S12),並於同時根據 苓數貧訊取得手段311所取得之參數值資訊判斷設定·之參 數值是否正確(步驟S13)。 此外,使用於用戶定義FB之内部處理之記述的FB中 保知,數之FB係具有·關聯於該參數,且與該參數之值 相關之參數g資訊;以及用以設定該參數之gui資訊。 匕外茶數值# 5fL至少具有··參數之資料型態;參數 之上限值,茶數之下限值;以及參數中可選擇之值的 表的其中一個。 見 μ另外’ GUI資訊係具有:參數的名稱;顯示於甩戶定 我FB之對話框上時的〇υι零件的屬性。 所你Γ,可自動提供用以設定於用戶定義FB之内部處理 所使用之參數的對話框,除可、1处垤 外,介务揮與料相同作用效果 ,、〇即令衣作對話框的作業(步驟S7、S8),故可進一 步縮短FBD程式的製作時間。 厂進一 定^即’在前述實施例6中,不僅需要自動取得在用戶 之内部處理中使用之參數的所在(存朴亦需要 式$作射定義FB對話框,此外還需要 方 使用戶定義FB對話框上的GUi零 動方式 部處理中所使用的參數及其詳細資訊,因此不;:二之; 319119 43 200836100 生用戶定義FB的對話框,亦可達到盔φ以 聯的效果。 …而以手動方式產生關 實施例8 此外,在上述實施例7中,The parameters associated with the two L/UI parts cause the GUI part of the dialog to be associated with the mic. The gui dream number related dialog box 9 displays the parameters obtained by parameter 309 in a list. / Double-handed slaves ΛIn the 21st order, the status of the number of signatures of the GUI parts selected from the list is displayed. In addition, the user-defined FB dialog box edits the 〇Κ key and the material key on the dialog box of the field 7, and the county is set on the pair, and the : can not be associated with the parameters. Further, in the box (9), it is possible to appropriately realize a convenient function such as a parameter of which ρΒ the display belongs to, or a name of an associated GUI part to which the associated parameter has been generated. In the steps S7, S8, and the step phantom, % is related, and the dialog box of the user FBr is created as shown in Fig. 22. As described above, in the user's punch, _ and qing are described, and Ρβφ and FBiM have parameter values ρΑω Φ and PARAMy, respectively, and therefore the GUI components are configured in such a manner that the parameters can be individually set in the dialog box of the user's heart. As shown in Figure 22, individual 319119 33 200836100 is associated. In Figure 22, the system displays: User-defined FB dialog editing. Use the GUi part field 8 to drag and drop "Sl:atic Text" and "Edit Box" to the user-defined FB dialog box. The field, the state, and the Static Text of the GUI part are configured and the character string is changed to the wheat value ΡΑίίΑΜφ and PARAMy, and the "Edit Β〇χ" of the GUI part is configured and set to the parameter values PARAM0, PARAMi^ of ΡΒφ and FBy. status. In the step S3 in the case of using the user FB in Fig. 20, the user's heart is created in steps w and S2 when the user FB is created (see Fig. 11 and Fig. 11), so that the user can be placed in the program. Then, in step S4, 'by clicking the mouse on the user-defined FB configured in the program twice, the parameter setting dialog box of the user-defined FB created in step S7, % is displayed, and the parameter is entered. Value. The rounding value of the parameter is set to the parameter that is associated in the step, and the user definition is performed based on the value in step S5. At this time, the user-defined parameter setting dialog box (4) is at the user setting means 301. % 22T)51S? # ^ ^ FB r ^ ^ t^i (^ a, in the step S4, the state shown in Fig. 23 will be formed. In the figure 3, the figure is displayed by dragging and dropping with cold FBr. To the process of the user, the user 叩 "4 will be the user ^, the field of the field 5; and in the user FBr parameter setting dialog 10 of the FBD program " 5, set the parameter value PAR of the internal processing of the user w The state of the brain_ 319119 34 200836100 In addition, in step S8, the GUI component is associated with the parameter (refer to FIG. 22), so as long as the dialog box in the user-defined FB dialog edit field 7 is displayed. Enter the wheat value in the "Edit Box" on the right side of PARAM6", and you can use this input value as the parameter value PARAM φ of FB Φ and keep it in the user 疋 my FB parameter is not fixed value. Similarly, as long as the dialogue Enter the parameter value in the "Edit Box" on the right side of the "PARAM〆" displayed in the box, and the wheeled value can be used as the parameter value PARAMy of the FB〆 and held in the user 疋 FB parameter setting value holding means. In step S5, the encoding process of the user FB γ is performed based on the set parameter value. According to the fifth embodiment of the present invention, there is provided a user-defined parameter setting means for creating a user-defined FB parameter setting means 3 〇 1 means 制作 δ (using 彳 to define the FB dialog box editing field 7 , user Defining the GUI component field for editing the FB dialog box 8), the user-defined FB parameter setting means is provided with a parameter acquisition means for obtaining parameters related to the processing content of the *user^ meaning FB; The user-defined FB parameter setting means (GUI part) is used in the internal processing of the user who is associated with the parameter-based setting means payment means 9 means of the parameter, and is used in the internal processing of the user. To the same effect as the above * FB, ^ Becky] f shape, can also be set from the user shame set to use the user set M m + my fb dialog box 疋 疋 欲 want to set the variable parameters , while the other 319119 35 200836100 parameters describe the number of eves of the internal processing of the user-defined FB - : _ is called to use - when the fixed 4::;: Specifically, when making the user FBr dialog box, at 2 In the example, in order to be able to set the PARAM φ and the brother map configuration GUI disaster |, the technical female rAKA ~ two parameter values are separated, the 歹 1 command is associated with each other, but the invention is not limited to the type 2 ^, can be hunt by configuring the GUI part on only one of them to make the peak milk %%' and set the value of the worm number to a dialog box that can be defined by the user-defined dialog box. _6 The parameter value rides to make a fixed value. In the case of the function described in the section 5 and the FB (function block), there is a case where the dialog box is displayed (for example, to show the syllabus and the squad, and the picture 43), but the parameter is as shown in Fig. 24. The present invention is also applicable to a case where there is no parameter material dialog box or/or a sub-PARAM (for example, refer to FIG. 42). Fig.: = Refer to Fig. 2, and refer to Fig. 24 and Fig. 实行 to implement F setting: the production program auxiliary device of Example 6 and the program diagram = set. Further, the functional configuration of the embodiment 6 of the present invention is as follows: ί日: The operation sequence of the embodiment 6 of the present invention is as shown in Fig. 20, and the ST is displayed as a system. The dialogue of the user (4) t '祝明图' $ 25 is an explanatory diagram showing the state of the user FB when using the 319119 36 200836100 state. In Fig. 24, it is shown that the user-defined FB field 4 drags and drops "c Tex t" and "Edi t Β〇χ" to the state of the editing program field 5; and configures the static text of the GUI part and the character string Change to the parameter value PARAMf, and configure the "wrist β〇χ" of the GUi part and set it to the state associated with the constant value of the constant FB. In addition, in FIG. 25, the user defines the FB field 4 to drag and drop the user FB to the state of the FBD program editing field 5; u and the user in the excitation type 2 editing field 5 take the parameter setting dialog box,疋 User FB (the state of the parameter value pARAMf of the internal processing of 5. In Fig. 20, by the steps S7, S8, as shown in Fig. 24, the dialog box of the user (4) is made and the parameters are linked, and then The state shown in Fig. 25 is formed by the steps S3 to S5. At this time, the odour acquisition unit 309 acquires the table from the 保持 of the parameter FB used in the description of the processing of the user-defined unit. ^ That is, even if the description of the internal processing used for the user-defined FB = in the case where the function and the parameter processed internally by the function block are the U-th picture, the case as shown in Fig. 45 is not performed. In the description, the soil loss is not used as the input terminal of the user-defined FB, and the value of the parameter is supplied as the value of the parameter. The number of the crane is as described above, and the number of the embodiment is according to the present invention. Segment 309 is from the description of the internal processing used for the user-defined FB. This parameter is obtained in the FB which maintains the parameter. Therefore, it is assumed that the value of the constant ❿ used in the internal processing of the user is 319119 37 200836100, and the embodiment 7/cloth is prepared. In the above-mentioned Embodiments 5 and 6, the dialog box of the Fb can be used to set the parameters of the other households with the use of Lu Ding = the frame of the parameter: κ π When I was a corpse, I was bound to a letter. I never imagined that I would be p A, Ding, Yi, and Gong were the fixed value, but the type of the block would be specific. In the case of the nature, the purpose is achieved. U-shaped user's shoulder but 'in the above-mentioned steps 5 and 6 of the operation sequence, the system can be used to achieve the use of cold, brother 20 map. In the description of the processing, the parameter setting of the parameter = (4) function FB dialog box (step s 7), the new operation of the household 疋. Therefore, 曰... is associated (step S8), and there is no (four) okay. A dialog box for generating a user-defined FB is generated, and an additional operation in the music map 20 is present (steps S7 and S8). In the following, referring to Fig. 2, reference is made to the seventh embodiment of the present invention in which the map of Fig. 26 to the first commit (the user-defined F B dialog box does not require a new job U steps S7, S8). <Fig. 6 is a block diagram showing the functional configuration of the seventh embodiment of the present invention, and Fig. 18 is the same as the same reference numerals, and the detailed description is omitted. In this case, the user-defined parameter setting means creating means 3 〇 8 in the user-defined FB creating means 303 replaces the parameter obtaining means 9 and the meal number setting means 31, and includes the $number information obtaining means 311. . In addition, in the parameter 肫, the details of 319119 38 200836100 related to this parameter are maintained. Specifically, as shown in the explanatory diagram of Fig. 27, for example, the F and the constant FB are held, the data type, the upper limit of the value, the lower limit of the value, and the selected value. Information related to the value Φ of the parameter; and the name of the parameter, the GM information of the parameter such as the attribute (type, ruler color ί) of the GUi part displayed on the dialog box. The above structure is also the same in the 31st, 34th, and 38th drawings which will be described later. In Fig. 27, the parameters used in the foregoing embodiment 5 and the angling FB having the constant value used in the foregoing embodiment 6 are explained as specific examples. .=This, the information related to the parameter φ of FB φ is set to be the one with the material type sorrow = B 〇〇 L, the parameter name = PARAM φ, and the GUI (9) it box. Further, the information of the constant of the parameter possessed by the constant ke is set to have: f type ^βγτΕ, parameter name 苇 value, and attribute of the GUI part = other torus β 〇χ. Since the FB must have a dialog box for setting the parameter 0, the information related to the second effect φ is the same as the information used in the dialog box, ^: the Φ related information can be directly used to store the display. The dialog box's 'in the middle=information or can also be kept as other data sheets. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 7 is a block diagram showing a seventh embodiment of the present invention, which is the main part of the second clothing device 1 for implementing the program auxiliary device and the program execution device. Fig. 2 is a flow chart showing the main part of the drawing sequence of the seventh embodiment of the present invention, which corresponds to the above (refer to the operation of the 20th red step 34. The third drawing shows the 319119 after the operation of the 29th figure. 39 200836100 An illustration of the anger. In addition, the 31st picture shows an illustration of other examples of the table 欠 μ yy / ping ping bai bai ' ' 弟 弟 图 弟 弟 弟 弟 弟 弟 弟 弟 弟 弟 弟 弟 弟 弟 弟 弟 弟 弟 弟 弟 弟Description of Embodiments of the Present Invention The embodiment of the present invention will be described with reference to the operation sequence of the second drawing. The user ^1; ^_ is used in the steps _ and 32 to create the second _ _ Ρβφ shown in Fig. 27 and FBf according to Fig. 7).乂 则 则 ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ^Which attribute of the order is two cents ^ and as the information related to the constant value of the second BYTE, and obtain the data type as the value of the =f value, the attribute of the GUi part = the parameter of the leg Numerically relevant information. In step S12 (user Ding FR cf s< ^ performs the following operation. (User 疋 My tea setting means 3 〇 1), this Japanese leader first and steps The parameter obtained by sn " the display of the target. / = name is the brain Μ Φ, so in the dialog box * "pARM, sub-column. In addition, next to the text column, because of the parameters of the _ part 319119 40 200836100 The attribute is "Edit Box , & a . + " In the dialog box, the factory displays Ed It Box". This, 闵! is in /, below, the head is shown as the "constant value" of the next parameter. It is a constant value, so the "constant value" is displayed in the dialog box. Λ rFd.+ R The text next to the column is attributed to the attribute value of the GUI part. U0XJ, so "Edit B〇x" is displayed in the dialog box. Next, in step Si3 (the following operation is performed with the command μ rD ▲. 疋 My FB parameter setting means 301) +, First, the parameter φ is determined. The dialog box displayed in the user's cow is the value of the si-h rounded by the user in the step S12, and it is judged to be the correct value according to the type (4) obtained by the step su. , the constant value of the other parameter is displayed. At this time, since the number of the capital type is ΒΥΤΕ, the 资料 E 的 的 E E E E E E E E E E E BY BY BY BY BY BY BY BY BY BY BY The squad judges that it is the correct value. ~, 'After, in step S14 (user-defined FB parameter setting hand to do the following operation. Yufeng 3 01), that is, 'by the user FB& - Keep the value of "Edit B〇x" that is determined to be the slate in the step S13, the value of "Edit B〇x", and the value of the parameter = constant value of "EditB〇x". By performing the above steps S11 to S14, fbd will form the m shown in the third 〇w (• stencil field 5, in the 30th figure The system displays: User defined FB field 4 will user 卯 319119 41 200836100 (10) program editing field 5 state; and in the U field 5 (four) user F Β ε parameter setting dialog box, the internal processing of the γ heart is determined by the (four) value ρ ΑΚΑΜ φ The state of the user who sighs and sighs, even if the step S7 in Fig. 20 is not carried out, the processing related to the parameter dialog box of the setting user FBe can be performed from the μ. . P, the portion of the above step (4) is performed by the step su in the figure of the brother 29, and the portion of the step S8 is described by the steps SU and S14. Only 仃相于刖 刖 In addition to the parameters _ detailed f news, the present invention is not limited to the example of the figure, can also be the same as the third 〗 1-3. 731 Figure does not, keep the parameters "spoon related resources" Ed this pair: PARAMr in the 31 map, in step, step S13, when QQ enters the data of 1Ντ type, and the value is from 〇 to 999 In the range, it is judged to be the correct value. At 0, in addition, for the PARAM/C in Fig. 31, the dialog box shown in Fig. 32 is displayed. That is, by the candidate: ;1 The value of the first dragon φ is set as the candidate for the PAP request from "Bu 2, 3, 4, 5". θ is displayed on the user FFE parameter setting dialog 12 to display the setting state of the parameter value of the internal processing of the user FB. As described above, according to Embodiment 7 of the present invention, the parameter related to the content processed by the user has: a parameter value associated with the parameter value, and information for setting the parameter, and the user defines the means of creation. 303 is still provided with parameter information obtaining means 311. 319119 42 200836100 The parameter number acquisition means 311 obtains parameters related to the processing content of the user-defined FB in the form of parameter value information and GUI information, and the user-defined FB wheat number setting means 3〇1 is based on the parameter information acquisition means "I". The GUI information display setting dialog box (step S12) is used to determine whether the parameter value of the setting is correct based on the parameter value information acquired by the parameter number acquisition means 311 (step S13). The FB of the description of the internal processing of the user-defined FB is known, and the FB of the number has the parameter g information associated with the parameter and related to the value of the parameter; and the gui information for setting the parameter. The value # 5fL has at least one of the data type of the parameter; the upper limit of the parameter, the lower limit of the number of tea; and one of the tables of the selectable values in the parameter. See μ additionally 'GUI information system has: parameter Name; the attribute of the 〇υι part displayed on the dialog box of Seto FB. You can automatically provide a dialog box for setting the parameters used in the internal processing of the user-defined FB. In addition to the one, one, the same effect, and the operation of the dialog box (steps S7, S8), so the production time of the FBD program can be further shortened. In the foregoing embodiment 6, it is not only necessary to automatically obtain the parameters used in the internal processing of the user (the storage also needs to define the FB dialog box, and also requires the user to define the GUi zero on the FB dialog box. The parameters used in the processing of the dynamic part and its detailed information, therefore no; 2; 319119 43 200836100 The user-defined FB dialog box can also achieve the effect of the helmet φ.... and manually implement the implementation Example 8 Further, in the above-described Embodiment 7,

夕粗β Α 各製作用戶定義FB 4話框的程序,而自動提供了用 #用夕夂誕" 欠我W之内部處理所 使用之讀W定對話框,但亦可如第第所 示,在使用用戶定義FB時,由用 〇弟37圖所 定欲變動之參數,其他的參數 ,,於定對話框進行設定,使其:使 疋義FB時經常為固定值。 、 以下,在參照第20圖的同時,炎昭 回 θ 歹恥弟33圖至第37 圖,說明使上述實施例7進一步& 例。 /谷展之本發明的第8實施 弟3 3圖至第3 7圖,分別斟旛乂、+、— 笛9713^、 刀幻對應别述弟26圖的方塊圖、 乐27圖的説明圖、第28圖的方# R # ^ m ,η θ· ^ 塊圖弟29圖的流程圖、 •弟3 0圖的說明圖。 尚呈圖中:用戶μ FB參數^手段製作手段· 〜财數貝訊取得手段311相關的參數資訊使用設 疋指定手段312。 參數資訊使用設定指定手與2】 次上 于奴312係具有··針對由參數 1矾取得手段311所取得之夂失批 _ .M n 于又谷苓數,顯不是否利用用戶定夕粗β Α Each user-defined FB 4 dialog box program, and automatically provides the use of # 夂 夂 & 欠 W 之 之 之 之 之 之 之 W W W W W W W W W W W W W W W W W W W W W W W W W When using the user-defined FB, the parameters that are to be changed by the drawing of the younger brother 37, and other parameters, are set in the dialog box so that the FB is often a fixed value. Hereinafter, while referring to Fig. 20, Yan Zhaohui θ 歹 歹 弟 33 33 to 37, and the above-described Example 7 is further described. / Gu Zhan's 8th implementation of the 8th to 3rd figure of the present invention, respectively, 斟幡乂, +, - 笛 9713^, 刀幻 corresponds to the block diagram of the other brother 26, the diagram of the music diagram , #方# R # ^ m of Fig. 28, η θ· ^ The flowchart of the block diagram 29, and the explanatory diagram of the brother 30 diagram. In the present drawing, the user μ FB parameter ^ means of creation means - the parameter information use setting means 312 related to the parameter information acquisition means 311. The parameter information use setting specifies the hand and 2] times. The slave 312 system has ···········································

我FB參數設定手段301設定;^M 二 心义用戶疋義FB之内部處理之 圮述所使用之FB所保持之參數的旗標。 此外’在弟3 6圖中,該圖金^ on m 茨圖與昂29圖之相異點僅在於: 319119 44 200836100 =步驟S11與步驟S12之間追加有步驟sm(由參數資气 ::設㈣手段312針對各參數使之具有設定旗標:。 在该§又疋旗射設定「〇」或「1」的處理)。 戶定_ 8’ “可由用戶定義FB中設定於用 邱^之内部處理之記述所使用之別所具有的參數全 i定義區塊型態將特定處理封裝化之所謂用 尸疋我FB性貝的考量下實現。 數次tL34圖中’除前述(參照第27圖)之具體例外,史 定ϊΐ手段312亦對應各個參數见 FB1内部岸?我叩芬數設定手段301設定於用戶定義 !。如二*理之二己述所使用之FB所保持之參數的旗標= 俜在二2:: ’设定旗標的值為時,表示該參數 係在用戶疋義FB的參數設 ^數 面,設定旗標的值為「〇」時·中進订5又疋。另一方 Μ ρη ^ ^ 守則表示該參數,不在用戶宏 我FB之讀設定對話框中進行設r用戶' I 此外’本發明之證Qk 施例7相肖(參昭第2〇 H貝,例之操作順序,係與上述實 八一、罘20圖、第29圖)。 此日τ ’如第3 5圖以及第3 7图新一 ^ S2製作與前述相同 r圖所不’说明在步驟S卜I set the FB parameter setting means 301; ^M 2 The meaning of the internal processing of the user 疋 FB is the flag of the parameter held by the FB used. In addition, in the picture of the younger brother, the difference between the figure + on m and the figure 29 is only: 319119 44 200836100 = step sm is added between step S11 and step S12 (by parameter:: Let (4) means 312 have a set flag for each parameter: In the §, the flag is set to "〇" or "1". User _ 8' "The parameter that can be used by the user-defined FB to be used in the description of the internal processing of the FB is used to define the block type. The so-called corpse is used to encapsulate the specific processing. Under the consideration of several times, in the tL34 diagram, except for the specific exceptions mentioned above (refer to Figure 27), the Shiding ϊΐ means 312 also corresponds to each parameter to see the internal shore of the FB1. The setting method 301 is set to the user definition! The flag of the parameter held by the FB used by the second idiom = 俜 in the second 2:: 'when the value of the flag is set, it means that the parameter is set in the parameter of the user 疋 FB. When the value of the flag is set to "〇", the order is 5 and 疋. The other party ρ η η ^ ^ The code indicates this parameter, not in the user macro FB read setting dialog box to set r user ' I in addition to the invention of the certificate Qk example 7 phase Xiao (refer to the second 〇 H ,, example The operation sequence is the same as the above-mentioned actual eight one, 罘 20 map, and 29th map). This day τ ′ as in Figure 3 5 and Figure 7 7 is a new one. S 2 is the same as the previous one.

但是,在此,其二FB❿照第28圖)的情況V 僅想設定於用戶FBe之^ Ρβε錢設定對話框12中 參數設定對話框,且想要使^理^^所,的㈣的 的理由,如第35圖所亍 多丈系數值為固定值 並不進行咖定而::以 吏/、為二白攔,在常數FB的參 319119 45 200836100 數设定對話框中則設定常數值「丨23」。 藉此,參數資訊使用設定指定手段312會將不進行炎 數之設定而形成空白欄的參數Φ的相關資訊予以維持在設 定旗標=1,而將進行參數設定之常數值的相關資訊予以二 換為設定旗標=〇 〇 交 在本發明之實施例8中,在步驟S4(參照第20圖)中, 具體而a ’係如第36圖所示,執行以下之操作順序(鞞 S11至步驟S14) 〇 驟 百先,在步驟SU中(參數資訊取得裝置311),實 以下的操作。 、 如第34圖所示,係取得:資料型 =ΡΑΜΜ Φ,GU1零件的屬性=Edi t BcTx,設定值=空攔 為FB φ所具有之荟數少的相關資訊,另外,取得··資 尘% BYTE,芩數名稱=常數值,6υι零件的屬性=£^ Box ’设又值=123而做為常數肫所具有之參數之常數 •的相關資訊。 1 接著’具有設定旗標之參數資訊使魏定指定手段 了使各個讀具有設定旗標外,亦在該設定旗標 ::數 驟、目關頒不’而不顯示設定旗標之常數值( 驟S12),進行表數ώ 4 、However, in the case of the second FB, the case of the second FB is only set in the parameter setting dialog box of the user FBe εβ 钱 money setting dialog box 12, and it is necessary to make the (four) of the ^^ The reason, as shown in Fig. 35, is that the value of the multi-control coefficient is not fixed.:: 吏/, is the second white block, and the constant value is set in the parameter setting dialog of the constant FB in the 319119 45 200836100 number setting dialog box. "丨23". Thereby, the parameter information use setting specifying means 312 maintains the related information of the parameter Φ which does not perform the setting of the inflammation number and forms the blank column in the setting flag = 1, and the related information of the constant value of the parameter setting is given. In the eighth embodiment of the present invention, in the step S4 (refer to FIG. 20), specifically, a ' is as shown in FIG. 36, and the following operation sequence is performed (鞞S11 to Step S14) In the first step, in step SU (parameter information obtaining means 311), the following operations are performed. As shown in Figure 34, it is obtained: data type = ΡΑΜΜ Φ, attribute of GU1 part = Edi t BcTx, set value = air block is FB φ has less information about the number of points, in addition, obtained Dust % BYTE, parameter name = constant value, attribute of 6υι part = £^ Box 'Set the value of =123 and the constant of the constant parameter •. 1 Then 'the parameter information with the setting flag makes Wei Ding specify the means to make each reading have a setting flag, and also in the setting flag:: number of times, the title is not 'not displaying the constant value of the setting flag (Step S12), the number of tables ώ 4,

,π ' 之相關判斷(步驟SI3)。在步驟SI 中,因參數的資料型能Α ?丄 入有醜型態的資料;t魏,因此當「EdltB°x」中〕 抖¥即判斷為正確之資料。 最後,將輸人參數k「㈣-」的值予以設心 319119 46 200836100 最初取得處之FB(K步驟S14)中。 斤藉由以上#木作順序(步驟SI 1至步驟S14),即可獲得 第37圖所不、、、"果,可自動進行:與僅具有欲使之設定為用 戶FBe之茶放的参數的對話框相關的處理。 在乐37圖中係顯示:由用戶定義FB狀態4將用戶FE =扼放至FBD私式編輯領域5的狀態;以及在剛程式編 ㈣域5内之用戶參數設定對話框12上,設定用戶 FBe之内部處理之參數值PARAM0的狀態。 如上所述,根據本發明之實施例8了·資訊至少呈 有:參數的名稱;以及顯示於用戶定義FB之對話框上時之 GUI零件的屬性。 用戶定義FB參數設^手段製作手段 使用設定指定裝置, /忒貝。孔 外’參數資訊使用欺衫手段312具有:針對於 蒼數貝汛取得手段311所取得之各表數,# ό ^ M pn 口,数,表不疋否利用用 戶疋我FB荼數設定手段3〇1設定於 m 王?夕々、+、π成扣用戶疋我FB之内部處 理之€逑所使用之FB所保持之參數的設定旗桿。 中所f此,可自動提供用以設定於用戶定義FB之内部處^ ^士斤使用的讀的對話框,在發揮與前述㈣作用效果的 同吟,以較少之程序實現:僅從用 、 > m 疋我FB的對話框設定 李使用用戶定義FB時欲變動的參數,而其他參數則使 圯述用戶定義FB之内部處理時在 ^ ^ ΛΑ ^ 之蒼數扠定對話框中 5又疋的值的型態,並進一步縮短運功抽 它考饰士丄讲 Λ功月匕&塊型態將特 疋處理封裝化之用戶定義FB的性質 "寸 貝的FBD程式的製作時 319119 47 200836100 間。 實施例g 將二1卜’在上述實施例8中’除了不會損壞以功能區塊 、寸=處理封裝化的用戶定義FB的性質外,亦可簡化製作 =戶疋義FB之對話框的程序,因此雖然可自動提供於用戶 ^我FB之内部處理所使用之參數中之欲設定的參數的對 =框,但為了實現封裝化,對於用戶定義FB之參數中不希 φ望變動的參數,必須在進行用戶定義FB之内部處理時於 FB的參數設定對話框中進行設定。 ^不希望其產生變動之參數在使用甩戶定義FB時係恆 常地維持在固定值,且不顯示於用戶定義FB的對話框。亦 即,在製作用戶定義FB之際,為了確認哪一個參數要設定 為固定參數,必須一個一個地單獨顯示用戶定義fb之内部 處理所使用的FB的對話框,故需要繁多的程序。 因此’為解決上述課題,本發明之實施例9(參照第39 _圖、第40圖)係形成:可在前述實施例5、6(參照第19、 24圖)之用戶定義FB對話框編輯領域7(對話框編輯裝置) 中,編輯如前述第7、第8實施例一般自動形成之對話框 的構造。 以下,於參照第1圖、第20圖、第33圖以及第36 圖的同時,參照第38至40圖的說明圖,說明本發明之實 施例9。第38圖至第40圖儀分別對應前述之第34圖、第 22圖、第37圖。 此日守,參數資訊使用設定指定手段312 (參照第3 3圖) 319119 48 200836100 2’、有.疋否針對參數資訊取得手段311所取得之夂夫 數,將於甩戶定義 内部仟之口蒼 麥韋h又疋手段所設定的值做為用戶定義FB參數設定段 :二設定之參數的預設值來使用的預設值旗以參照第 :_38圖係顯示與本發明之實施例9所保持之參數相關 坪細貧訊的說明圖,除前述(參照第34圖)資訊外,亦追 ^有預設值旗標’其係表示是否將使用於用戶定義FB之内 :處理之記述的印的FB參數設定手段3Q4所設定的值作 :用戶定義FB參數設定手段3G1所設定之參數的預設值使 用。 &第39圖係顯示用以表示參數屬性設定對話框19的狀 ,,該參數屬性設定對話框19係用以進行··是否在用戶定 對話框編輯領域7中,利用用戶定義卯之對話框來 =疋苓數PARAM φ (或是PARAM φ )的值,以及在進行設定之 馨况下’疋否將叩之對話框所設定的值作為預設值來使用 的設定。 此外’貫現本發明之實施例9的製作程式裝置1,與 第圖所示之構造大致相同,但並不需要用戶定義^^對 話、、扁輯用GUI零件8。此外,由製作設定用戶定義fb之參 數的對話框,到設定在程式中使用用戶定義FB時之參數的 順序,大致與前述第20圖所示相同,但可省略步驟S8。 在本發明之實施例9的情況下,首先,在第2 〇圖内的 步驟S1、S2中,係與前述實施例7相同的製作用戶FBe (參 49 319119 200836100 照第28圖)。 仁疋,由於僅利用用戶FBe參數設定對話框來設定使 用於用戶FBe内部處理之記述所使用的FBj的參數MR龍 f彳用用戶疋義之對話框顯示預設值,因此如第 39圖(昂40圖)所示,係於用戶定義ρΒ對話框編輯領域了 (FBe茶數設定對話框12 )上的“中設定值「沾6」。 此外,希i常數FB之參數常數值係固定的值,因此在常數 • FB之參數汉疋對話框中設定值「123」。 士此外,具有翏數之肫中,亦與前述實施例7相同,保 持14 .亥苓數相關之詳細資訊(參照第π圖)。 杏著,在第20圖内的步驟S7中,取代製作對話框而 只仃第29圖内的步驟su、S12。藉此,會自動產生用戶 Βε的對話框,並顯示於用戶定義肫對話框編輯領域了。 亦即在第39圖中,係於「Edit Box」中顯示在FB 蠡Ϊ對話框中設定的值。在此可藉由點擊2次1個參數之GUI 顯不用以設定是否利用用戶定義FB之對話框設定該 翏,=值的參數屬性設定對話框19。此外,假設係利用用 疋義FB之對活框没定麥數的值時,則顯示用以設定是否 ,FB之對話框所設定的值作為預設值使用的參數屬性設 疋對話框1 g 〇, π ' correlation judgment (step SI3). In step SI, the data type of the parameter can be used to input ugly data; t Wei, so when "EdltB°x" is shaken, it is judged to be the correct data. Finally, the value of the input parameter k "(4)-" is set. 319119 46 200836100 The FB (K step S14) is initially obtained. By using the above #木作序 (steps SI1 to S14), it is possible to obtain the image of Fig. 37, which can be automatically performed: with the tea set only having the user FBE set to be set. The dialog related processing of the parameters. In the music diagram 37, it is shown that the user defines the FB state 4 to put the user FE=扼 into the state of the FBD private editing field 5; and in the user parameter setting dialog 12 in the newly programmed (4) field 5, the user is set. The state of the parameter value PARAM0 of the internal processing of FBe. As described above, according to the embodiment 8 of the present invention, the information is at least: the name of the parameter; and the attribute of the GUI part displayed on the dialog box of the user-defined FB. User-defined FB parameter setting means means to use the setting specification device, / mussel. The parameter information using the bullying means 312 has: the number of the tables obtained by the means 311 for obtaining the number of 苍 ,, # ό ^ M pn mouth, the number, the table does not use the user 疋 my FB parameter setting means 3〇1 is set to m king? 々 々, +, π 扣 疋 疋 疋 FB FB FB FB FB FB FB FB FB FB FB FB FB 逑 逑 逑 逑 逑 逑 逑 FB FB FB In this case, the dialog box for setting the use of the inside of the user-defined FB can be automatically provided, and the effect of the above (4) effect is achieved, and the program is implemented with fewer programs: only from the use , > m 疋 My FB dialog box sets the parameters that Li wants to change when using the user-defined FB, while other parameters make the internal processing of the user-defined FB in the ^^ ΛΑ ^ The shape of the value of the 疋 , , , 进一步 进一步 考 考 考 考 考 考 考 饰 饰 饰 块 块 块 块 块 块 块 块 块 块 块 块 块 块 块 块 块 块 块 块 块 块 块 块 块 块 块 块 块 块 块 块 块Time 319119 47 200836100. Embodiment g will be able to simplify the production of the dialog box of the 疋 疋 FB FB in addition to the nature of the user-defined FB that is not encapsulated by the functional block, the size = processing, in the above-mentioned embodiment 8. The program, although it can be automatically provided to the user = FB internal processing parameters used in the parameters of the parameter set = the box, but in order to achieve the encapsulation, for the user-defined FB parameters are not expected to change the parameters It must be set in the parameter setting dialog box of the FB when performing internal processing of the user-defined FB. ^ The parameter that does not want to change is always maintained at a fixed value when using the Settlement FB, and is not displayed in the dialog box of the user-defined FB. That is, in the case of creating a user-defined FB, in order to confirm which parameter is to be set as a fixed parameter, it is necessary to separately display the dialog box of the FB used for internal processing of the user-defined fb, and thus a large number of programs are required. Therefore, in order to solve the above problems, the ninth embodiment (see FIG. 39, FIG. 40) of the present invention is formed by editing in the user-defined FB dialog box of the above-described fifth and sixth embodiments (see FIGS. 19 and 24). In the field 7 (dialog editing device), the structure of the dialog box which is automatically formed as described in the seventh and eighth embodiments described above is edited. Hereinafter, Embodiment 9 of the present invention will be described with reference to the drawings of Figs. 38 to 40 with reference to Figs. 1, 20, 33, and 36. Fig. 38 to Fig. 40 correspond to the aforementioned Figs. 34, 22, and 37, respectively. This day, the parameter information use setting specifying means 312 (refer to Fig. 3 3) 319119 48 200836100 2', Yes. No The number of copers obtained by the parameter information obtaining means 311 will be defined by the Seto. The value set by the Cangmaiwei h is also used as the user-defined FB parameter setting segment: the preset value of the second set parameter is used to refer to the first: _38 system display and the embodiment 9 of the present invention. In addition to the above (refer to Figure 34) information, there is also a preset value flag to indicate whether it will be used in the user-defined FB: the description of the processing. The value set by the FB parameter setting means 3Q4 of the print is used as a preset value of the parameter set by the user-defined FB parameter setting means 3G1. & Fig. 39 shows a state for indicating the parameter attribute setting dialog 19 for performing a dialogue with the user-defined dialog in the user-defined dialog editing field 7. The value of the frame = PA PARAM φ (or PARAM φ ), and the setting used in the setting of the 疋 叩 叩 叩 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 Further, the production program device 1 of the ninth embodiment of the present invention is substantially the same as the configuration shown in the drawings, but does not require a user-defined dialog or a flat GUI component 8. Further, the procedure for creating a parameter for setting the user-defined fb to the parameter for setting the user-defined FB in the program is substantially the same as that shown in Fig. 20, but step S8 may be omitted. In the case of the ninth embodiment of the present invention, first, in the steps S1 and S2 in the second drawing, the user FFe is created in the same manner as in the above-described seventh embodiment (see FIG. 49 319119 200836100, see Fig. 28). In this case, the parameter of the FBj used for the description of the internal processing of the user FBe is set by using only the user FBe parameter setting dialog box, and the preset value is displayed by the user's dialog box, so as shown in Fig. 39 40)), in the user-defined ρΒ dialog editing area (FBe tea number setting dialog box 12), the "medium setting value "dip 6". In addition, the parameter constant value of the HI constant FB is a fixed value, so the value "123" is set in the constant FB parameter parameter dialog box. In addition, in the case of the number of turns, the same as in the above-described seventh embodiment, the detailed information relating to the number of the numbers is maintained (refer to the figure π). In the step S7 in Fig. 20, the apricots only replace the steps su and S12 in Fig. 29 instead of the creation dialog box. In this way, the user Β ε dialog box is automatically generated and displayed in the user defined 肫 dialog edit field. That is, in Fig. 39, the value set in the FB 蠡Ϊ dialog box is displayed in the "Edit Box". Here, by clicking the GUI of one parameter twice, it is not necessary to set whether or not to use the dialog box of the user-defined FB to set the parameter attribute setting dialog 19 of the value of =, =. In addition, if it is assumed that the value of the wheat number is not determined by the pair of live FBs, the parameter attribute setting dialog box for setting whether or not the value set in the dialog box of the FB is used as the preset value is displayed. 〇

在此,假設不利用用戶定義FB之對話框設定PARAM φ,在參數屬性設定對話框19中,如第39圖之下段所示, 移開勾選框的勾選。. 此外,假設PARAM Φ是利用用戶定義FB之對話框來設 319119 50 200836100 疋’在夢數屬性設定對話框19中,如第39圖之上段所示 會進-步顯示用以設定是否將㈣之對話框所設定的值作 為預設值使用的勾選框,因此在此亦進行勾選。 —以下,係藉由實行第20圖内之步驟33至%,而形成 第4 0圖所示之狀態。 如上所示,根據本發明之實施例9, GUi資訊至少具有 參數的名稱;以及於用戶定義叩之對話框上顯示 · 零件的屬性。 此外,參數資訊使用設定指定手段312尚具有:預設 值旗標,其係針對參數資訊取得手段3ιι所取得之久夫 數,顯示是否將於用戶定義叩之内部處理之 ^ FJB之FB參數設定手段所执宗沾姑从( k斤使用的 宏, 作為用戶定義FB參數設 疋手段301所杈疋之參數的預設值而使用。 藉此,與前述相同,可自動提供設定在用義 之内部處理的參數的對話框。 ^ 此外,可以用較簡單的方式實現由用戶定義FB之料 框设:使用用戶定義FB之際想要變更的參數,且可、 用戶定義FB之内部處理時在FB 定 、。地 的值利用用戶定義FB之料框H數μ對話框中設定 我W之對話框頭不為預設值, 數則使用當記述用”義FB之内部處理時他I: 定對話框中設定的值的型態。藉此,可進一去 翏文汉 區塊的型態使特定的處理封裝化之運用用戶以功能 質的FBD程式的製作時間。 疋哉FB之性 【圖式簡單說明】 319119 51 200836100 /第1圖係顯示本發明之實施例1之製作程式之辅助裝 置及程式實行裝置的硬體構造方塊圖。Here, assuming that the PARAM φ is not set using the dialog box of the user-defined FB, in the parameter attribute setting dialog 19, as shown in the lower part of Fig. 39, the check box of the check box is removed. In addition, assume that PARAM Φ is set using the user-defined FB dialog box 319119 50 200836100 疋 'In the dream number attribute setting dialog 19, as shown in the upper part of Figure 39, the step-by-step display is used to set whether (4) The value set in the dialog box is used as a check box for the preset value, so it is also checked here. - Hereinafter, the state shown in Fig. 40 is formed by performing steps 33 to % in Fig. 20. As shown above, according to Embodiment 9 of the present invention, the GUi information has at least the name of the parameter; and the attribute of the part is displayed on the dialog box defined by the user. In addition, the parameter information use setting specifying means 312 still has a preset value flag, which is a GF parameter setting means for the internal processing of the FJB, which is determined by the parameter information obtaining means 3? The master uses the macro (used by k kg as the preset value of the parameter set by the user-defined FB parameter setting means 301. Thereby, as in the foregoing, the setting can be automatically provided in the internal processing of the meaning The parameter dialog box. ^ In addition, the user-defined FB frame setting can be implemented in a simpler way: the parameter that you want to change when using the user-defined FB, and the internal processing of the user-defined FB is determined in the FB. The value of the ground uses the user-defined FB frame H number μ dialog box to set the W dialog box is not the default value, the number is used when describing the internal processing of the meaning FB. The type of the value set in the middle. Therefore, the type of the 翏文汉 block can be further advanced to enable the specific processing to be packaged by the user to create a functional FBD program. 疋哉FB Sex [Simple diagram Say FIG] 319 119 51 200 836 100/1-based auxiliary display device, and program of embodiments of the present invention is the production of a program block diagram of the hardware configuration of the device implementation.

第2圖係顯示本發明之眘A ^ / 知乃之只靶例1之功能構造的方塊圖。 弟3圖係以圖示顧元爾!v每 丄 口不硝不用以霄現本發明之實施例1之製 作程式輔助裝置以及裎式眚 θ 及柱式貝仃I置的程式製作裝置的方塊 圖0 …第4圖係顯示在程式中使用本發明之實施例!之用戶 疋義=時設定參數的操作順序的流程圖。 ls皮第5 ®麵林發明之實施例1之參數設定用的操作 順序的說明圖。 第6圖係顯示本發明夕每 丨 ^ 月之貝施例1之參數設定用的操作 後狀悲的說明圖。 二7圖係_不本發明之實施例2 用的 順序的說明圖。 後狀示本發明之實施例2之參數設定 设狀悲的既明圖。 第9圖係顯示本發明每办 , ^ 3之貝靶例3之功能構造的方塊圖。 〜:士圖係'頌不在程式中使用本發明之實施例3之用戶 疋我吓時設定參數的操作㈣的❹1、 二11圖係顯示本發明之實施例 用的操作 順序的說明圖。 妖 後狀第」=系顯示本發明之實施例3之參數設定用雜 後狀悲的§兄明圖。 第13圖係顯示本發 每 +心3之貝%例4之功能構造的方塊 319119 52 200836100 圖。 第14圖係以圖示顯示用以實現本發明之實施例4之製 作程式輔助裝置以及程式實行裝置的程式製作裝置的方塊 圖。 苐15圖係喊示本發明之貫施例4之參數設定用的操作 順序的說明圖。 第16圖係顯示用以指定可由本發明之實施例4之甩戶 •定義FB直接使用的狀態的說明圖。 第1 7圖係頌示本發明之實施例4之參數設定用的操作 後狀態的說明圖。 第18圖係顯示本發明之實施例5之功能構造的方塊 圖。 第19圖係以圖示顯示用以實現本發明之實施例5之製 作程式辅助裝置以及程式實行裝置的程式製作裝置的方 圖。 •、第20圖係顯示在程式中使用本發明之實施例5之用戶 疋義FB時没定參數的操作順序的流程圖。 第21圖係顯示本發明之實施例5之參數設定用的操 順序的說明圖。 第22圖係顯示本發明之實施例5之參數設定用的操作 順序的說明圖。 第23圖係顯示本發明之實施例5之參數設定用的操作 後狀態的說明圖。 第24圖係顯示本發明之實施例6之用戶FB5的對話 319119 53 200836100 框製作操作的說明圖。 第25圖係顯示本發明之實施例6之利用用戶FB時之 狀悲的說明圖。 第26圖係顯示本發明之實施例7之功能構造的方塊 圖。 第27圖係顯示與本發明之實施例7所保持之參數相關 的詳細資訊的說明圖。 ❿ 第28圖係以圖示顯示用以實現本發明之實施例7之製 作程式輔助裝置以及程式實行裝置的程式製作裝置的要部 的方塊圖。 第29圖係顯示本發明之實施例7之參數設定用的操作 順序的要部的流程圖。 第30圖係顯示本發明之實施例7之參數設定用的操作 後的狀態的說明圖。 第31圖係顯示與本發明之實施例7所保持之參數相關 ⑩的詳細資訊的其他例的說明圖。 第32圖係顯示在本發明之實施例7之詳細資訊的情形 下的對話框顯示狀態的說明圖。 第33圖係顯示本發明之實施例8之功能構造的方塊 圖。 第34圖係顯示與本發明之實施例8所保持之參數相關 的詳細資訊的說明圖。 第35圖係顯示本發明之實施例8之參數設定用的操作 順序的說明圖。 54 319119 200836100 弟3 6圖係喊不本發明之貫施例8之茶數設定用的操作 順序的要部的流程圖。 第3 7圖係顯示本發明之實施例8之參數設定用的操作 後狀態的說明圖。 第3 8圖係顯示與本發明之實施例9所保持之參數相關 的詳細資訊的說明圖。 第39圖係顯示本發明之實施例9之參數設定甩的操作 順序的說明圖。 弟4 0圖係頒示本發明之實施例9之參數設定用的操作 後狀態的說明圖。 第41圖係顯示以往使用之一般型之簡易FB的方塊圖。 第42圖係顯示以往進行一般複雜處理的ρΒ的方塊圖。 第43圖係顯式以往由一般之對話框指定之吓的方塊 卑44圖係以流程方式顯示先前裝置的方塊圖。 置的==示以往以參數輪入端子 罝的Ρ β、、扁輯%作的說明圖。 弟46圖係顯示以往以對話框指據 的FB編輯操作的說明圖。 彳為根據之衣置 【主要元件符號說明】 樹狀選單 用戶定義FB領域 用戶定義FB編輯領域 1 製作程式裝置 4 3 FB領域 FBD私式編輯領域 7 用戶疋義FB對話框編輯領域 55 319119 200836100 8 用戶定義FB對話框編輯用GUI零件領域 參數相關對話框 10 11 12 19 99 用戶定義FBr參數設定對話框 用戶定義FB5參數設定對話框 用戶定義FBe參數設定對話框 參數屬性設定對話框 307、S6 FB參數設定手段指定手段 (用戶定義F B I翁势宗车迅括中 100 個人電腦 101 微處理器 102 資料儲存記憶體 103 通訊埠 104 顯示部 105 輸入部 106 s己億部 200 控制器 300 製作程式輔助裝置 301 303 304 305 306 308 309 311 312 400 S4、S12至S14用戶定義FB參數設定手段 302、S4用戶定義FB參數設定值保持手段 °π°用戶定義FB製作手段 FB參數設定手段 用戶定義FB處理實行碼生成手段 S4A用戶定義FB參數設定手段選擇手段 S7、S8用戶定義FB參數設定手段製作手段 苓數取得手段 31〇參數相關設定手 S11參數資訊取得手段 S11A參數資訊使用設定指定手段 程式實行裝置 319119 56Fig. 2 is a block diagram showing the functional configuration of only the target 1 of the present invention. Brother 3 is shown in the picture Gu Yuaner! v 丄 丄 丄 不用 制作 制作 制作 制作 制作 制作 制作 制作 制作 制作 制作 制作 制作 制作 制作 制作 制作 制作 制作 眚 眚 眚 眚 眚 眚 眚 眚 眚 眚 眚 眚 眚 眚 眚 眚 眚 眚 及 及 眚 及 及 及 及Use embodiments of the invention! User 疋== Flowchart for setting the operation sequence of parameters. An explanatory diagram of the operation sequence for parameter setting in the first embodiment of the invention of the ls skin 5th face. Fig. 6 is an explanatory view showing the operation after the operation of the parameter setting of Example 1 of the present invention. Fig. 7 is an explanatory diagram of the sequence used in the second embodiment of the present invention. The parameter setting of the second embodiment of the present invention is shown in the following. Fig. 9 is a block diagram showing the functional configuration of the target example 3 of the present invention. The user of the third embodiment of the present invention is not in the program. The operation of setting parameters (I) when I am scared is shown in Fig. 1, and Fig. 11 is an explanatory diagram showing the operation sequence used in the embodiment of the present invention. The sequel to the sequel is shown as a § brother's figure showing the parameter setting of the third embodiment of the present invention. Fig. 13 is a block diagram showing the functional configuration of the example 4 of each of the cores of the present invention 319119 52 200836100. Fig. 14 is a block diagram showing a program creating device for realizing the program supporting device and the program executing device of the fourth embodiment of the present invention. Fig. 15 is an explanatory diagram showing the operation sequence for setting the parameters of the fourth embodiment of the present invention. Fig. 16 is an explanatory diagram showing a state for specifying that the FB can be directly used by the tenant of the embodiment 4 of the present invention. Fig. 17 is an explanatory view showing an operational state after parameter setting in the fourth embodiment of the present invention. Figure 18 is a block diagram showing the functional configuration of Embodiment 5 of the present invention. Fig. 19 is a view showing a diagram of a program creating device for realizing the program supporting device and the program executing device of the fifth embodiment of the present invention. Fig. 20 is a flow chart showing the operational sequence of the parameter when the user 疋 FB of the embodiment 5 of the present invention is used in the program. Fig. 21 is an explanatory view showing an operation procedure for parameter setting in the fifth embodiment of the present invention. Fig. 22 is an explanatory view showing an operation procedure for parameter setting in the fifth embodiment of the present invention. Fig. 23 is an explanatory view showing an operational state after parameter setting in the fifth embodiment of the present invention. Fig. 24 is a view showing a dialog of the user FB5 of the embodiment 6 of the present invention 319119 53 200836100. Fig. 25 is an explanatory view showing the sorrow of the user FB in the sixth embodiment of the present invention. Figure 26 is a block diagram showing the functional configuration of Embodiment 7 of the present invention. Fig. 27 is an explanatory view showing detailed information on parameters held in the seventh embodiment of the present invention. Fig. 28 is a block diagram showing the main part of a program creating device for realizing the program supporting device and the program executing device of the seventh embodiment of the present invention. Figure 29 is a flow chart showing the main part of the operation sequence for parameter setting in the seventh embodiment of the present invention. Fig. 30 is an explanatory view showing a state after the operation for parameter setting in the seventh embodiment of the present invention. Fig. 31 is an explanatory view showing another example of detailed information on the parameters related to the parameters held in the seventh embodiment of the present invention. Fig. 32 is an explanatory view showing a display state of a dialog box in the case of detailed information of Embodiment 7 of the present invention. Figure 33 is a block diagram showing the functional configuration of Embodiment 8 of the present invention. Fig. 34 is an explanatory view showing detailed information on parameters held in the eighth embodiment of the present invention. Fig. 35 is an explanatory view showing an operation sequence for parameter setting in the eighth embodiment of the present invention. 54 319119 200836100 Brother 3 6 is a flowchart of the main part of the operation sequence for setting the number of teas in the eighth embodiment of the present invention. Fig. 3 is an explanatory view showing an operational state after parameter setting in the eighth embodiment of the present invention. Fig. 3 is an explanatory diagram showing detailed information on parameters held in the ninth embodiment of the present invention. Fig. 39 is an explanatory view showing the operation sequence of the parameter setting 实施 of the ninth embodiment of the present invention. Fig. 40 is an explanatory diagram showing an operational state after parameter setting in the ninth embodiment of the present invention. Fig. 41 is a block diagram showing a simple FB of a general type used in the past. Fig. 42 is a block diagram showing ρΒ which has been subjected to general complicated processing in the past. Figure 43 shows the block that was previously scared by the general dialog box. The humble 44 diagram shows the block diagram of the previous device in a flow mode. The set == shows the illustration of the Ρβ and the flat % of the parameter wheel 罝. The brother 46 shows an explanatory diagram of the FB editing operation that was previously referred to by the dialog box.彳 根据 根据 【 主要 主要 主要 主要 主要 主要 树 树 树 树 树 树 树 树 树 用户 用户 用户 用户 用户 用户 用户 用户 用户 用户 用户 用户 用户 用户 用户 用户 用户 用户 FB FB FB FB FB FB FB FB FB FB FB FB FB FB FB FB FB FB FB FB FB User-defined FB dialog box editing GUI part field parameter related dialog box 10 11 12 19 99 User-defined FBr parameter setting dialog box User-defined FB5 parameter setting dialog box User-defined FFB parameter setting dialog box Parameter attribute setting dialog box 307, S6 FB parameters Setting means specifying means (user-defined FBI Weng Zongxuanzhong 100 personal computer 101 microprocessor 102 data storage memory 103 communication port 104 display unit 105 input unit 106 s billion unit 200 controller 300 production program auxiliary device 301 303 304 305 306 308 309 311 312 400 S4, S12 to S14 User-defined FB parameter setting means 302, S4 User-defined FB parameter setting value holding means °π° User-defined FB creation means FB parameter setting means User-defined FB processing implementation code generation Means S4A user-defined FB parameter setting means selection means S7, S8 user-defined Ling number of production methods FB parameter setting means for setting parameters related to the acquisition means 31〇 hand S11 parameter information acquisition means S11A parameter setting information used to specify the program executing means means 31911956

Claims (1)

200836100 十、申請專利範圍: 1. 一種製作程式之輔助裝置,係具有:用戶定義FB製作 手段,用以組合包含預先定義之用戶定義FB之程式命 令,定義新的功能或功能方塊;以及用戶定義FB處理 實行碼產生手段,在為了於程式實行裝置實行利用用戶 定義FB而記述之程式的編碼化中,進行用戶定義FB 部份之編碼化;該製作程式之輔助裝置係具備有: 用戶定義F B參數設定手段’係設定作為與用戶定 • 義FB之處理内容相關之參數的用戶定義FB參數;以及 用戶定義FB參數設定值保持手段,係保持前述用 戶定義FB參數設定手段所設定之用戶定義FB參數設定 值;並且 前述用戶定義FB處理實行碼產生手段係依據前述 用戶定義FB參數設定值保持手段所保持之參數將用戶 定義FB編碼化。 2.如申請專利範圍第1項之製作程式之辅助裝置,其中, 前述用戶定義FB參數設定手段係顯示於該用戶定義FB 之内部處理之記述所使用之FB的FB參數設定手段,且 前述用戶定義FB參數設定值保持手段係保持由FB參數 設定手段所設定之麥數設定值。 3.如申請專利範圍第2項之製作程式之辅助裝置,其中, 前述用戶定義FB參數設定手段具備有用戶定義FB參數 設定手段選擇手段, 在存在有複數個使用於該用戶定義FB之内部處理 57 319119 200836100 之記述的FB的FB參數設定手段時,前述用戶定義FB 參數設定手段選擇手段係由複數個FB參數設定手段 中,選擇做為前述用戶定義FB參數設定手段使用之FB 參數設定手段。 4. 如申請專利範圍第3項之製作程式之輔助裝置,其中, 前述用戶定義FB製作手段具備有用戶定義FB參數設定 手段指定手段,且當於該用戶定義FB之内部處理之記 述所使用的FB的FB參數設定手段存在有複數個時,由 ❿ 複數個FB參數設定手段中指定做為前述用戶定義FB 參數設定手段使用之FB參數設定手段,而且 前述用戶定義FB參數設定手段選擇手段僅顯示複 數個FB參數設定手段中由前述用戶定義FB參數設定手 段指定手段所指定之FB參數設定手段。 5. 如申請專利範圍第1項之製作程式之輔助裝置,其中, 前述用戶定義FB製作手段係具備:用以製作前述用戶 φ 定義FB參數設定手段之用戶定義FB參數設定手段製作 手段,而且 前述用戶定義FB參數設定手段製作手段具有: 參數取得手段,係用以取得關連於該用戶定義FB 之處理内容的參數;以及 參數關連設定手段,係使由前述用戶定義FB參數 設定手段製作手段所製作之前述用戶定義FB參數設定 手段的各參數設定要素關連於由前述參數取得手段所 取得之參數。 58 319119 200836100 6.如申凊專利範圍第5項之製作程趙 前__+拙“制戶 其中’ 記述所使用的m 士 疋哉FB之内部處理之 7如中之保持參數⑽取得該參數。 =專利_第i項之製作程式之輔置,宜中, 定手于奴係具備.用戶定義FB參數設 定手^係用以製作前述用戶定義财數設 鱼該^ FB參數設定手段製作手段具有取得 知得手^⑽之處理内容㈣連之參數的參數資訊 與該用戶定義FB之處理内容相關連的參數且 όυΓ=值相關的參數值資訊、以及用以設定該參數的 =述參數資訊取得手段係以前述參數值資訊以及 =、ιπ資訊的形式取得與該用戶定AFB之處理 相關連的參數, 二前述用戶定義FB參數設定手段係根據前述參數資 汛取得手段所取得之前述GUI資訊來顯示設定對話、 並且判斷根據前述參數資訊取得手段所取得之前述 參數值資訊而設定之參數值是否正確。 申1專利範圍第7項之製作程式之辅助裝置,其中, ^用於该用戶定義FB之内部處理之記述的FB中,保持 ^數,FB關於該參數係具有:與該參數的值相關的參 之值貧訊;以及用以設定該參數之GUI資訊。 319119 59 200836100 9·如申請專利範圍第7項之製式恶 刖述麥數值資訊至少具有下列其中一項· 、甲 該參數之資料型態; 該參數之上限值; 該參數之下限值;以及 該參數中之可選擇值的_覽。 助裝置,其中,200836100 X. Patent application scope: 1. An auxiliary device for programming, which has: user-defined FB production means for combining program commands containing predefined user-defined FBs, defining new functions or function blocks; and user-defined The FB processing execution code generation means performs coding of the user-defined FB part in the coding of the program described by the user-defined FB for the program execution device; the auxiliary device of the production program is provided with: a user-defined FB The parameter setting means 'sets a user-defined FB parameter as a parameter related to the processing content of the user-defined FB; and a user-defined FB parameter setting value holding means for maintaining the user-defined FB set by the user-defined FB parameter setting means The parameter setting value; and the user-defined FB processing execution code generating means encodes the user-defined FB according to the parameter held by the user-defined FB parameter setting value holding means. 2. The auxiliary device for creating a program according to the first aspect of the patent application, wherein the user-defined FB parameter setting means is an FB parameter setting means for displaying an FB used for description of internal processing of the user-defined FB, and the user The FB parameter setting value holding means is defined to maintain the maiden setting value set by the FB parameter setting means. 3. The auxiliary device of the production program of claim 2, wherein the user-defined FB parameter setting means is provided with a user-defined FB parameter setting means selection means, and there are a plurality of internal processings for the user-defined FB 57 319119 In the FB parameter setting means of the FB described in 200836100, the user-defined FB parameter setting means selection means selects the FB parameter setting means used as the user-defined FB parameter setting means from the plurality of FB parameter setting means. 4. The auxiliary device of the production program of claim 3, wherein the user-defined FB creation means is provided with a user-defined FB parameter setting means specifying means, and is used in the description of the internal processing of the user-defined FB When there are a plurality of FB parameter setting means of the FB, the FB parameter setting means used as the user-defined FB parameter setting means is specified by the plurality of FB parameter setting means, and the user-defined FB parameter setting means selection means is displayed only. The FB parameter setting means specified by the user-defined FB parameter setting means specifying means among the plurality of FB parameter setting means. 5. The auxiliary device for the production program of the first application of the patent scope, wherein the user-defined FB creation means includes: a user-defined FB parameter setting means for creating the user φ definition FB parameter setting means, and the foregoing The user-defined FB parameter setting means manufacturing means includes: a parameter obtaining means for obtaining a parameter related to the processing content of the user-defined FB; and a parameter related setting means for making the means by the user-defined FB parameter setting means Each parameter setting element of the user-defined FB parameter setting means is associated with a parameter obtained by the parameter obtaining means. 58 319119 200836100 6. If the production process of the fifth paragraph of the scope of the patent application is before Zhao __ + 拙 "manufacturing of the household", the internal processing of the m 疋哉 FB used in the description of the parameters (10) = Patent _ Item i of the production program, Yizhong, set in the slave system. User-defined FB parameter setting hand ^ system used to make the above-mentioned user-defined wealth set the fish ^ FB parameter setting means production means The parameter information having the parameter information of the parameter of the processing content (4) of the known hand (10) and the processing content of the user-defined FB and the parameter value information related to the value of the όυΓ= value, and the information about the parameter used to set the parameter The means obtains parameters related to the processing of the user-defined AFB in the form of the parameter value information and the =, ιπ information, and the user-defined FB parameter setting means is based on the GUI information obtained by the parameter acquisition means. The setting dialog is displayed, and it is determined whether the parameter value set according to the parameter value information acquired by the parameter information obtaining means is correct. An auxiliary device for a production program of 7 items, wherein ^ is used for the FB of the description of the internal processing of the user-defined FB, and the FB has a parameter value related to the value of the parameter. And the GUI information used to set the parameter. 319119 59 200836100 9·If the standard version of the patent application scope item 7 has at least one of the following types, the data type of the parameter; The upper limit value; the lower limit value of the parameter; and the _ view of the selectable value in the parameter. 10·如申請專利範圍第7項之製作程式之辅 前述GUI資訊至少具有: 該參數之名稱;以及 屬性 在該用戶定義FB之對話框上顯示時侧 11. =請專職圍第7項之製作程式之辅助裝置,复 =述用戶定義FB參數設定手段製作手段復具有:= 貧汛使用設定指定手段, ^ ^ 前轉數資訊使肢^衫手段㈣: / 數::取得手段所取得之各參數,表示是否利用前 二:我FB茶數設定手段來設定於該用戶定義叩之二 處理之記述所使用的FB所保持數旗 ; 12. :申請專利範圍第11項之製作^ ^,别述讀資訊使用設定指定手段復具有 ^ 麥數資訊取得手段所取得之各 士月" 於。亥用戶疋我FB之内部處理之記述的FB_ 定手段所設定的值,作為前述用戶定義ρβ參數^定^ 段所设定之參數的預設值而使用的旗標。 319119 60 200836100 ' 13. —種程式實行裝置,係用以實行申請專利範圍第1項至 第12項中之任一項之製作程式輔助裝置所製作並編碼 化的程式的程式實行裝置,其係實行由前述用戶定義 F B處理貫行碼生成手段所產生的編碼。10. The above-mentioned GUI information supplemented by the production program of claim 7 has at least: the name of the parameter; and the attribute is displayed on the dialog box of the user-defined FB. 11. Please create a full-time fourth item. The auxiliary device of the program, the description of the user-defined FB parameter setting means has the following means: = Inferior use setting means, ^ ^ Forward number information to make the limbs (4): / Number:: The means obtained by the means The parameter indicates whether or not the first two: the FB tea number setting means is used to set the number of flags held by the FB used in the description of the user-defined ;2; 12. : The production of the Scope 11 of the patent application ^ ^, The reading information is set by the specified means to have the "six months" obtained by the means of obtaining the information. The value set by the FB_determination means described in the internal processing of the FB is used as the flag used as the preset value of the parameter set by the user-defined ρβ parameter. 319119 60 200836100 ' 13. A program execution device is a program execution device for executing a program created and encoded by a production program auxiliary device of any one of the first to twelfth patent applications. The encoding generated by the aforementioned user-defined FB processing of the progressive code generating means is performed. 61 31911961 319119
TW096113292A 2007-02-21 2007-04-16 Program creation supporting device and program executing device TWI339811B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007040550A JP4302146B2 (en) 2007-02-21 2007-02-21 Program creation support device

Publications (2)

Publication Number Publication Date
TW200836100A true TW200836100A (en) 2008-09-01
TWI339811B TWI339811B (en) 2011-04-01

Family

ID=39781668

Family Applications (1)

Application Number Title Priority Date Filing Date
TW096113292A TWI339811B (en) 2007-02-21 2007-04-16 Program creation supporting device and program executing device

Country Status (4)

Country Link
JP (1) JP4302146B2 (en)
KR (1) KR100918350B1 (en)
CN (1) CN101251751B (en)
TW (1) TWI339811B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8843885B2 (en) * 2009-12-28 2014-09-23 Mitsubishi Electric Corporation Program creation support device
US9342064B2 (en) * 2011-01-31 2016-05-17 Mitsubishi Electric Corporation Motion SFC program component creation device
US20130104101A1 (en) * 2011-09-16 2013-04-25 Mitsubishi Electric Corporation Sequence program creating apparatus
JP6121706B2 (en) * 2012-12-13 2017-04-26 アズビル株式会社 Programming method and apparatus
JP6017294B2 (en) * 2012-12-13 2016-10-26 アズビル株式会社 Programming method and apparatus
DE112013006769T5 (en) 2013-03-29 2015-11-26 Mitsubishi Electric Corp. Flow program component generation program and flow program component generation device
US10935950B2 (en) * 2018-03-28 2021-03-02 Mitsubishi Electric Corporation Programming supporting apparatus, programming supporting method, and recording medium
JP7024679B2 (en) * 2018-10-05 2022-02-24 オムロン株式会社 Development support programs, development support devices, and development support methods
US11921619B2 (en) 2018-11-28 2024-03-05 Trust Technology Co., Ltd. Programming devices and programs for creating and editing programs used for image processing
WO2022269787A1 (en) * 2021-06-23 2022-12-29 三菱電機株式会社 Program creation assistance device, program creation assistance method, program creation assistance program, and programmable logic controller

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10301763A (en) * 1997-04-25 1998-11-13 Mitsubishi Electric Corp Program preparation supporting device for digital controller
JP2002196804A (en) 2000-12-25 2002-07-12 Yaskawa Electric Corp Method for managing controller program and device for editing the program
JP2003223204A (en) 2002-01-29 2003-08-08 Mitsubishi Electric Corp Programming method of programmable controller, system thereof and recording medium thereof
US7392165B2 (en) * 2002-10-21 2008-06-24 Fisher-Rosemount Systems, Inc. Simulation system for multi-node process control systems
JP4424198B2 (en) 2004-12-27 2010-03-03 三菱電機株式会社 Function block diagram programming device
US8046739B2 (en) * 2006-08-04 2011-10-25 National Instruments Corporation System and method for enabling a graphical program to propagate attributes of inputs and outputs of blocks

Also Published As

Publication number Publication date
TWI339811B (en) 2011-04-01
JP4302146B2 (en) 2009-07-22
KR100918350B1 (en) 2009-09-22
CN101251751B (en) 2011-06-15
KR20080077887A (en) 2008-08-26
JP2008204237A (en) 2008-09-04
CN101251751A (en) 2008-08-27

Similar Documents

Publication Publication Date Title
TW200836100A (en) Program creation supporting device and program executing device
WO2017133447A1 (en) Intelligent device control method and apparatus, and computer storage medium
JP2015052968A (en) Method of controlling information terminal
EP3371683A1 (en) A design system and method
CN103019683A (en) Method for dynamically configuring page view
US20080010586A1 (en) Enhanced handling of repeated information in a web form
CN107203462A (en) A kind of data creation method and device
CN105892816A (en) Method and device for calculating equipment desktop resetting
CN107003879A (en) The method and system of destruction operation is cooperateed with while in computer application software
CN110109893A (en) The method and apparatus of data modeling and operation
Smith* et al. Multiplet splittings and other properties from density functional theory: an assessment in iron–porphyrin systems
CN101957774B (en) Service operation modeling method and device
CN103294477B (en) The method that exploration project management is moved using Office documents
CN103699649B (en) Handle interface element and the system and its implementation of data mapping
JP7024187B2 (en) Learning device and attribute estimation device
WO2014170142A1 (en) Method, apparatus, and computer program product for server side data mashups specification
US20130132819A1 (en) Storage of html form data in an html file
TWI273436B (en) 3-dimensional user authority management system of a web-structure system
Ziani Configuration in erp saas multi-tenancy
JP2017188150A (en) Information terminal device control method
Wei-Ping et al. Design and implementation of an integrated CAD/CAPP system based on PDM
TWI564731B (en) Property management method and property management system and machine using the same
Lebrun et al. Combination between multi-agent system and tangigets for DUI design on several tabletops
TWM502220U (en) Intelligent home integration server
You et al. Development of an OMT Table Viewer/Editor Using the Matlab/Simulink for HLA-Based Distributed Simulation

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees