Patent · US11531551B2 · B2 · US
PLC device that transmits an instruction to a control device
- (11) Publication number
- US11531551B2
- (21) Application number
- 16/898,936
- (22) Filing date
- 2020-06-11
- (30) Priority date
- 2019-07-08
- (43) Publication date
- 2022-12-20
- (45) Date of grant
- 2022-12-20
- (51) IPC
- G05B 19/05; G06F 9/38
- (52) CPC
- (73) Assignee
- Fanuc Corp
- (72) Inventors
- Nao ONOSE
- (54) Title
- PLC device that transmits an instruction to a control device
- (57) Abstract
To preferentially execute an instruction with higher priority in a case of the CNC being unable to respond due to being an unresponsive timing, load on the bus or the like. A PLC device includes: a special instruction control unit that sets a priority degree indicating a degree of priority for executing predetermined processing to a special instruction for performing the predetermined processing in a control device that controls an industrial machine, and transmits the special instruction in which the priority degree is set to the control device; an instruction storage determining unit that determines whether or not to queue the special instruction according to an operation state of the control device; and an instruction storage unit that sequentially stores the special instruction received, on the basis of a determination result of the instruction storage determining unit.
- Full text
- View on Google Patents
Claims (3)
- A PLC device comprising: a ladder control unit that interprets a ladder program and controls an input/output signal in accordance with the interpretation; a special instruction control unit that sets, on the basis of an instruction from the ladder control unit, a priority degree indicating a degree of priority for executing predetermined processing to a special instruction for performing the predetermined processing in a control device that controls an industrial machine, the priority degree being set as an argument in the special instruction, and transmits the special instruction in which the priority degree is set to the control device, the control device being a computerized numerical control (CNC) device different from the PLC device; an instruction storage determining unit that determines whether or not to queue the special instruction according to an operation state of the control device, the operation state indicating that communication with the control device is not possible due to the control device being unable to respond; and an instruction storage unit that sequentially stores the special instruction transmitted by the special instruction control unit, on the basis of a determination result of the instruction storage determining unit.
- The PLC device according to claim 1, wherein communication with the control device is performed via an interface, and the interface includes: the instruction storage determining unit; the instruction storage unit; and an alternative execution unit that, in a case in which the control device becomes able to respond, causes the control device to execute a special instruction with higher priority of the priority degree in order from among the special instructions stored in the instruction storage unit.
- The PLC device according to claim 1, wherein the priority degree is unique for each of the special instructions.
Description
This application is based on and claims the benefit of priority from Japanese Patent Application No. 2019-126764, filed on 8 Jul. 2019, the content of which is incorporated herein by reference.
The present invention relates to a PLC device.
With machine tools, machining of complicated shapes, etc. may be carried out on the basis of numerical control of the moving distance, the moving speed, etc. of a tool by CNC (Computerized Numerical Control) and PLC (Programmable Logic Controller). In this case, it may be desired for the PLC to write data such as the state of each axis of X, Y, and Z in the machine tool in the sequence control.
In this regard, a special instruction such as WINDW instruction is known in the PLC to write various data through windows between CNC and PLC. For example, see Non-Patent Document 1.
Non-Patent Document 1: “Reading CNC Information with WINDR and WINDW” (https://www.pmcladder.info/pmc/19))
FIG. 1 is a diagram illustrating an example of a net number in which the two of WINDW(A) and WINDW(B) in a ladder program are coded. It should be noted that WINDW(A) and WINDW(B) each show an instruction for writing different data from each other such as a tool offset amount and a workpiece origin offset amount.
In FIG. 1, for example, in the net number in which the low priority WINDW(A) is coded, the contact of the address R0000.0 which is a 1-bit value is the A contact. When the contact of the address R0000.0 is “1”, the rung of the net number is executed. “ACT” indicates that the contact, of the address R0000.0 is the activation condition of the function instruction.
Citations (7)
- US20120126850A1
- US20170075334A1
- US20170060759A1
- US20190079499A1
- US20190095246A1
- US20190163487A1
- US20190243684A1
Record as JSON
{
"publication_number": "US11531551B2",
"country": "US",
"kind": "B2",
"title": "PLC device that transmits an instruction to a control device",
"abstract": "To preferentially execute an instruction with higher priority in a case of the CNC being unable to respond due to being an unresponsive timing, load on the bus or the like. A PLC device includes: a special instruction control unit that sets a priority degree indicating a degree of priority for executing predetermined processing to a special instruction for performing the predetermined processing in a control device that controls an industrial machine, and transmits the special instruction in which the priority degree is set to the control device; an instruction storage determining unit that determines whether or not to queue the special instruction according to an operation state of the control device; and an instruction storage unit that sequentially stores the special instruction received, on the basis of a determination result of the instruction storage determining unit.",
"claims": [
"1. A PLC device comprising: a ladder control unit that interprets a ladder program and controls an input/output signal in accordance with the interpretation; a special instruction control unit that sets, on the basis of an instruction from the ladder control unit, a priority degree indicating a degree of priority for executing predetermined processing to a special instruction for performing the predetermined processing in a control device that controls an industrial machine, the priority degree being set as an argument in the special instruction, and transmits the special instruction in which the priority degree is set to the control device, the control device being a computerized numerical control (CNC) device different from the PLC device; an instruction storage determining unit that determines whether or not to queue the special instruction according to an operation state of the control device, the operation state indicating that communication with the control device is not possible due to the control device being unable to respond; and an instruction storage unit that sequentially stores the special instruction transmitted by the special instruction control unit, on the basis of a determination result of the instruction storage determining unit.",
"2. The PLC device according to claim 1, wherein communication with the control device is performed via an interface, and the interface includes: the instruction storage determining unit; the instruction storage unit; and an alternative execution unit that, in a case in which the control device becomes able to respond, causes the control device to execute a special instruction with higher priority of the priority degree in order from among the special instructions stored in the instruction storage unit.",
"3. The PLC device according to claim 1, wherein the priority degree is unique for each of the special instructions."
],
"description_excerpt": "This application is based on and claims the benefit of priority from Japanese Patent Application No. 2019-126764, filed on 8 Jul. 2019, the content of which is incorporated herein by reference.\n\nThe present invention relates to a PLC device.\n\nWith machine tools, machining of complicated shapes, etc. may be carried out on the basis of numerical control of the moving distance, the moving speed, etc. of a tool by CNC (Computerized Numerical Control) and PLC (Programmable Logic Controller). In this case, it may be desired for the PLC to write data such as the state of each axis of X, Y, and Z in the machine tool in the sequence control.\n\nIn this regard, a special instruction such as WINDW instruction is known in the PLC to write various data through windows between CNC and PLC. For example, see Non-Patent Document 1.\n\nNon-Patent Document 1: “Reading CNC Information with WINDR and WINDW” (https://www.pmcladder.info/pmc/19))\n\nFIG. 1 is a diagram illustrating an example of a net number in which the two of WINDW(A) and WINDW(B) in a ladder program are coded. It should be noted that WINDW(A) and WINDW(B) each show an instruction for writing different data from each other such as a tool offset amount and a workpiece origin offset amount.\n\nIn FIG. 1, for example, in the net number in which the low priority WINDW(A) is coded, the contact of the address R0000.0 which is a 1-bit value is the A contact. When the contact of the address R0000.0 is “1”, the rung of the net number is executed. “ACT” indicates that the contact, of the address R0000.0 is the activation condition of the function instruction.",
"cpc": [
"G05B 19/4147",
"G05B 19/05",
"G05B 2219/13116",
"G05B 2219/31225",
"G06F 9/3855",
"G06F 9/3856"
],
"ipc": [
"G05B 19/05",
"G06F 9/38"
],
"assignees": [
"Fanuc Corp"
],
"inventors": [
"Nao ONOSE"
],
"filing_date": "2020-06-11",
"publication_date": "2022-12-20",
"grant_date": "2022-12-20",
"priority_date": "2019-07-08",
"application_number": "US-202016898936-A",
"family_id": "74005697",
"cited_by_count": 2,
"citations": [
"US20120126850A1",
"US20170075334A1",
"US20170060759A1",
"US20190079499A1",
"US20190095246A1",
"US20190163487A1",
"US20190243684A1"
]
}
Record 900 of 8,000 in Patents full text (MLC-0201). Request the full dataset.