摘要 |
PURPOSE:To synchronize the transmission/reception of data easily by forming a flag storing part to be accessed from respective operation parts and determining the execution of processing of the succeeding instruction or after on the basis of the status whether the flag storing part is set or not. CONSTITUTION:In a sequence control device, operation parts 3, 4 execute the operation of data inputted from an external apparatus 8 through an input part 6 in accordance with a program stored in storage parts 1, 2 and transfers the operated result to the external apparatus 8 through an output part 7. In this case, the flag storing part 9 to be directly accessed from respective operation parts 3, 4 is formed to store an instruction for jumping its operation to a specified address if the flag is set up or executing the succeeding instruction, and if not set up, setting up the flag and executing the succeeding instruction without jump and also storing an instruction for resetting the flag. Consequently, the synchronization of the transmission/reception of data between plural programs can be guaranteed. |