CONTROL DEVICE FOR EXECUTING CONTROL PROGRAM INCLUDING FLOATING POINT OPERATION COMMAND FOR CONTROLLING MACHINE AND METHOD OF CONVERTING FLOATING POINT PARAMETER IN CONTROL PROGRAM
    1.
    发明申请
    CONTROL DEVICE FOR EXECUTING CONTROL PROGRAM INCLUDING FLOATING POINT OPERATION COMMAND FOR CONTROLLING MACHINE AND METHOD OF CONVERTING FLOATING POINT PARAMETER IN CONTROL PROGRAM 有权
    用于执行控制程序的控制装置,包括用于控制机器的浮动点操作命令和在控制程序中转换浮点参数的方法

    公开(公告)号:US20150100611A1

    公开(公告)日:2015-04-09

    申请号:US14508175

    申请日:2014-10-07

    申请人: FANUC Corporation

    IPC分类号: G06F5/00 G05B15/02

    摘要: A control device includes: a first conversion unit that converts floating point data generated by an operation of a floating point operation command into a numeric string in first format; and a second conversion unit that converts the numeric string in first format into a numeric string in second format. A character string data generation unit generates a character string data including the numeric strings in first format and in second format and outputs the character string data to an external device or an external storage medium.

    摘要翻译: 控制装置包括:第一转换单元,其将通过浮点操作命令的操作产生的浮点数据转换为第一格式的数字串; 以及第二转换单元,其将第一格式的数字串转换为第二格式的数字串。 字符串数据生成单元生成包含第一格式和第二格式的数字串的字符串数据,并将字符串数据输出到外部设备或外部存储介质。

    Programmable controller having a stored program with both machine
language instructions and source code data
    3.
    发明授权
    Programmable controller having a stored program with both machine language instructions and source code data 失效
    具有存储程序的可编程控制器具有机器语言指令和源代码数据

    公开(公告)号:US5287548A

    公开(公告)日:1994-02-15

    申请号:US161484

    申请日:1988-02-29

    摘要: A programmable controller governs the operation of a piece of equipment by executing machine language instructions compiled from a ladder diagram type control program. The control program as stored in the controller includes not only compiled machine language instructions, but also a tokenized version of the source code from which certain machine language instructions were compiled. The source code is provided only for those portions of the machine language program which cannot be easily decompiled to produce the corresponding source code. This program storage facilitates subsequent editing of the stored program via a terminal connected to the programmable controller. During the editing process, the original ladder diagram can be reconstructed from a combination of the machine language instructions and the tokenized version of the source code. In doing so, the machine language instructions, which have a one-to-one correspondence with the source code instructions, are decompiled using conventional techniques. However, the tokenized version of the source code is used to recreate the portions of the ladder diagram for which each machine language instruction does not have a unique one-to-one correspondence with a source code instruction. This program storage technique enables the control program to be easily edited using the version stored in the programmable controller without requiring access to the original source code from which the program was compiled.

    摘要翻译: 可编程控制器通过执行从梯形图类型控制程序编译的机器语言指令来控制一件设备的操作。 存储在控制器中的控制程序不仅包括编译的机器语言指令,而且包括编译某些机器语言指令的源代码的标记版本。 源代码仅提供给机器语言程序的那些不能轻易地被反编译以产生相应的源代码的部分。 该程序存储便于经由连接到可编程控制器的终端对存储的程序的后续编辑。 在编辑过程中,可以从机器语言指令和源代码的标记版本的组合中重建原始梯形图。 在这样做时,使用常规技术对与源代码指令具有一一对应关系的机器语言指令进行反编译。 然而,源代码的令牌化版本用于重新创建梯形图的部分,其中每个机器语言指令与源代码指令不具有唯一的一一对应关系。 该程序存储技术使得能够使用存储在可编程控制器中的版本容易地编辑控制程序,而不需要访问编译程序的原始源代码。