Patent ID: 7877728

Claim:
A sequence program editing apparatus to edit a sequence program used to control an automatic machine, comprising: program storage means for storing a replacement target sequence program having signal addresses; registration and storage means for registering and storing before-after replacement information which specifies a plurality of before-replacement signal addresses to be replaced and specifies after-replacement signal addresses respectively corresponding to the specified plurality of before-replacement signal addresses; address search means for searching the replacement target sequence program having signal addresses, for a signal address; checking means for checking whether the signal address searched for by the address search means is any one of the before-replacement signal addresses in the before-after replacement information which has been stored and registered in the registration and storage means; and signal address replacement means for executing replacement of each of the before-replacement signal addresses checked for by the checking means with a corresponding after-replacement signal address, in accordance with the before-after replacement information; wherein the sequence program editing apparatus performs a processing series in which the address search means searches signal addresses, the checking means checks, and the signal address replacement means repeatedly executes replacement of signal addresses in order from the start of the sequence program to the end of the sequence program to replace addresses, thereby avoiding replacing the same position of the sequence program again.