Patent ID: 9317397
Filing Date: 2016-04-19
CPC Classification: G05B,G06F

Claim Text:
1. A PLC simulation system including a PLC simulator that cyclically repeats processing based on a first cycle, and an external simulator that cyclically repeats processing based on a second cycle, the PLC simulator comprising: a storage unit for holding data for executing a program, the storage unit being configured to be accessed by the PLC simulator and the external simulator; and a processor communicatively connected to the storage unit, the processor comprising a first execution unit for executing a program accompanying processing for inputting and outputting data to and from the storage unit, the external simulator comprising: a second execution unit for executing a program accompanying processing for inputting and outputting data to and from the storage unit, wherein the second execution unit includes a detection unit for detecting that program execution in the other is complete, and the first execution unit or the second execution unit, after executing the program, suppresses execution of a program accompanying access to the storage unit, until the detection is performed, wherein the PLC simulator comprises a socket interface for communicating with the external simulator, and receives a command from the external simulator for causing the PLC simulator to execute predetermined processing, wherein the first execution unit executes processing in accordance with the command received using the socket interface, wherein the command includes a notification command for notifying the external simulator of a status of program execution by the first execution unit, and wherein the detection unit performs the detection using the notification command.