background image

Force Setting/Force-Resetting 

Section  5-2

 

114 

5-2-2 Force-Setting/Force-Resetting 

Steps

 

 

Steps can be activated or deactivated forcibly by force-setting/force-resetting, as long 
as the PLC is not in the RUN mode. 

 

Force-setting activates a step, and force-resetting deactivates a step. 

 

The activity status will be maintained until the forced status is cleared, or until another 
force-set/force-reset operation is performed. It will not be changed by external inputs or 
by program execution results. 

 

When a step has been force-set, the Actions associated with that step will become 
active. When a step has been force-reset, the Actions associated with that step will 
become inactive.

 

 

Note:

 The behavior of Action Qualifiers is the same as if the step had become active under 

normal conditions.

 

 

Force-Setting/Force-Resetting a Step

 

1  On the SFC editor, select and right-click the step to force-set/force-reset. 

 

2 Select 

Force Transition

 - 

On

 or 

Force Transition

 - 

Off

 from the pop-up menu. 

The selected step will be force-set/force-reset. 

 

 

 

 

The step will be marked to indicate that it has been force-set/force-reset, as shown 
below. 

 

 

 

 

Clearing the Forced Status of a Step

 

1  In the SFC editor, select and right-click the Step for which the force-set/force-reset 

is to be cleared. 

 

2 Select 

Force Step

 – 

Cancel 

from the pop-up menu. The force-set/force-reset 

status is cleared for the selected step. 

 

 

Clearing All Forced Statuses

 

1 Select 

Force

 - 

Cancel All Forces

 from the PLC menu. The force-set/force-reset 

status is cleared for all I/O memory areas, including steps. 

 

Summary of Contents for SYSMAC CX-Programmer 8.1

Page 1: ...Operation Manual SFC Programming SYSMAC WS02 CXPC1 V8 CX Programmer Ver 8 1 Cat No W469 E1 04...

Page 2: ...ii CX Programmer Ver 8 1 WS02 CXPC1 V8 Operation Manual SFC Programming Revised February 2009...

Page 3: ...2 Basic SFC Execution Cycle 43 2 3 Elements of SFC 44 SECTION 3 Offline Operations 63 3 1 Creating an SFC Program 64 3 2 Editing the SFC Chart 67 3 3 Searching and Replacing within an SFC Chart 88 3...

Page 4: ...dix A 117 Specifications for Step Control Instructions 117 Appendix B 123 SFC Task Control Instruction Specifications 123 Appendix C 128 SFC Program Size and Execution Time 128 Index 131 Revision Hist...

Page 5: ...at No W447 Intended Audience This manual is intended for the following personnel who must also have knowledge of electrical systems an electrical engineer or the equivalent Personnel in charge of inst...

Page 6: ...ove warranty period OMRON will replace the defective media without charge If OMRON is unable to replace the defective media or correct the Software the liability of OMRON and the User s remedy shall b...

Page 7: ...vii Application Considerations SUITABILITY FOR USE THE USER SHALL NOT USE THE SOFTWARE FOR A PURPOSE THAT IS NOT DESCRIBED IN THE ATTACHED USER MANUAL...

Page 8: ...other reasons EXTENT OF SERVICE The license fee of the Software does not include service costs such as dispatching technical staff ERRORS AND OMISSIONS The information in this manual has been careful...

Page 9: ...ith the CX Programmer version 8 1 For details on other CX Programmer functions refer to the CX Programmer Ver 8 1 Operation Manual Cat No W446 SYSMAC WS02 CXPC1 V8 CX Programmer Ver 8 1 Operation Manu...

Page 10: ...ng use this manual together with the Operation Manual or Hardware User s Manual CS1 W339 CJ1 W393 or CJ2 W472 and Programming Manual or Software User s Manual CS1 CJ1 W394 or CJ2 W473 SYSMAC CS Series...

Page 11: ...H CPU H CS1W SCB21 V1 41 V1 CS1W SCU21 41 CJ2H CPU6 EIP CJ2H CPU6 CJ1G CPU CJ1G H CPU H CJ1G CPU P CJ1M CPU CJ1W SCU21 V1 41 V1 Communications Commands Reference Manual W342 Describes the communicati...

Page 12: ...utions can result in injury to people or damage to property DANGER Indicates an imminently hazardous situation which if not avoided will result in death or serious injury Additionally there may be sev...

Page 13: ...Transferring data from the CX Programmer to the CPU Unit s CIO Area with the PLC Memory Window function Transferring data from a Memory Card or EM file memory to the CPU Unit s CIO Area with the Memo...

Page 14: ...power to the RS 232C port There may be both Windows settings for saving energy as well as setting for specific computer utilities and the BIOS Following the instructions in documentation for your com...

Page 15: ...r while installing or uninstalling the CX Programmer The data in a computer may be corrupted Description of Programmable Controllers The abbreviation PLC means Programmable Controller PC is used howev...

Page 16: ......

Page 17: ...ings Unique to the SFC Programming Functions 23 1 4 SFC Programming Example 27 1 4 1 Simple Example of an SFC Program 27 1 4 2 Procedures for Using CX Programmer 30 1 5 Precautions When Creating SFC P...

Page 18: ...Contents Step1 Step2 Step3 Processing Contents Step Transition Condition Step Transition Condition Step Transition Condition SFC offers the following advantages Since step flow and program control cor...

Page 19: ...nventional ladder and structured text ST programming languages With desirable features such as the user interface carried over from the earlier series and with the added SFC programming function the C...

Page 20: ...ction Transition Programs The SFC chart editor can display the SFC view and program view in a horizontally or vertically split window allowing an SFC chart and action block or transition program to be...

Page 21: ...bugging and the step progression status can be checked The SFC chart editor will display the action programs in the program view even while the action blocks are hidden Array Variables Array variables...

Page 22: ...ils Programming language for tasks SFC ladder or ST In any combination SFC program unit Tasks 1 task 1 SFC chart CJ2 384 tasks max 128 cyclic tasks 256 extra tasks Other models 288 tasks max 32 cyclic...

Page 23: ...g ladder programs by using the SA step activation instruction and the SE step deactivation instruction Ladder program outside of SFC programs Action ladder program within an SFC program Action ladder...

Page 24: ...ation Manual Cat No W446 1 3 1 SFC Editor SFC elements can be inserted and connected in the CX Programmer s SFC editor to create sequential step programs The project workspace and SFC editor can be di...

Page 25: ...allocation is required to execute the SFC program Symbol Tables Variables are automatically registered in the symbol table corresponding to the SFC elements created in the SFC chart The variables reg...

Page 26: ...the Subcharts folder under the SFC program A subchart program allows an SFC program with large scale step progression control to be developed in parts improving the reusability and visibility of the p...

Page 27: ...he SFC editor 1 3 2 Menus Edit Menu This menu is displayed when the SFC editor is displayed in the main editing window and has the cursor focus Menu items are enabled and disabled depending on which S...

Page 28: ...ion is not selected it inserts an independent step Subchart Step When a bottom transition is selected this item adds a subchart step and connects it to the transition When a transition is not selected...

Page 29: ...Above Inserts a transition on the topside of a convergence Connector Draws a connection from an SFC element that does not have a connection in the SFC chart Program Menu This menu is enabled only when...

Page 30: ...Second Timer Sets the step timer unit to 1 second Boolean Action Adds a Boolean variable or actual address to the selected step New Ladder Action Creates a new ladder program and adds it to the select...

Page 31: ...to the clipboard Paste Pastes the contents of the clipboard Delete Deletes the selected step Tidy Descendant SFC Elements Arranges elements of the SFC chart positioned after the selected step Online...

Page 32: ...a connection from the topside of the selected isolated transition and connects it to the downside of a step Connections Delete Connection To Transition Deletes the connection on the downside of the s...

Page 33: ...ction on the downside of the selected divergence Use Default Transition Precedence The order of execution can be set by deselecting removing the check marks items By default the execution order is fro...

Page 34: ...neous sequence divergence Insert Transition Above Adds a transition to the topside of the selected simultaneous sequence divergence Insert Step and Transition Above Adds a step and a transition and co...

Page 35: ...rgence Deletes the connection on the downside of the selected simultaneous sequence convergence Cut Cuts the selected simultaneous sequence convergence to the clipboard Copy Copies the selected simult...

Page 36: ...t transition Add Divergence Inserts an independent divergence Add Convergence Inserts an independent convergence Add Simultaneous Sequence Divergence Inserts an independent simultaneous sequence diver...

Page 37: ...SFC program Insert ST Program Creates a new ST program SFC Toolbar Icon Pop up Menu Function Add Step Adds an SFC step Add Subchart Step Adds an SFC subchart step Add Entry Step Adds an SFC subchart...

Page 38: ...L When an SFC element is selected this shortcut displays the Add Connection dialog SFC Editing Join C Adds a join to a bottom SFC element When a transition is selected this shortcut adds a convergence...

Page 39: ...ed Text and Symbols The setting is enabled when the project is saved and reopened Structured Text Allows different sections of the same ST program to be viewed in a split window Symbols Displays the S...

Page 40: ...the background color for the SFC editor the display color for the SFC elements and the font settings for text Setting the Display Color 1 Using the Item combo box select the item to be set 2 Click Cu...

Page 41: ...properties for the display text 3 Click Apply OK The following items can be set Font name Style Size Character set SFC Tab Page Sets the display settings for the SFC editor SFC Editor Settings The fo...

Page 42: ...an automatically assigned number Step Prefix Display name Transition Prefix Display name Action Body Prefix Display name Transition Body Prefix Display name Subchart Prefix Display name Element Width...

Page 43: ...s the vehicle sensor is turned ON and the active status is transferred to the next step Transition condition Trans1 Vehicle sensor ON carln 3 When the vehicle sensor is turned ON the ticket dispenser...

Page 44: ...urned ON and the active status is transferred to the next step At this point the reverse rotation of the gate motor is turned OFF Transition condition Trans4 Gate close limit sensor ON gatecloseLimit...

Page 45: ...ario and variables The action program is created using ladder logic Action Program A_tiketOut Starting Stopping the Ticket Dispenser P_On ticketout Action Program A_gateOpen Starting Stopping the Norm...

Page 46: ...ect Properties from the pop up menu On the General tab of the displayed Program Properties dialog select a task from the Task Type list For details refer to 3 1 3 Assigning an SFC Program to a Task 3...

Page 47: ...m s Reset Output at Final Scan setting at its default setting of ON reset Make the same setting for all of the following action programs too 3 Input the name for Step 1 Right click Step 1 and select E...

Page 48: ...put CloseGate into Step 4 12 Add an action program to the action in Step 4 Right click Step 4 and select Add Action Existing Action Double click the right hand side of the action block and select A_ga...

Page 49: ...setting the outputs are reset If you want to retain the output status deselect the ladder program s Reset Output at Final Scan Option remove the check mark Note 1 When timer instructions are being use...

Page 50: ...of the action programs next to the step but rather in the order the action programs are arranged in the workspace Note If more than one bit or Boolean variable is registered in an action they are exe...

Page 51: ...tions from the menu click the SFC Tab select the Use Extended SFC Settings Option and select the Apply Final Scan Logic Option in the General Tab of the SFC program s properties Option selected Final...

Page 52: ...inactive in timer counter instruction processing like the processing in the chart shown above add the action flag by ANDing the flag as a NO execution condition to a JUMP JMP0 instruction and enclose...

Page 53: ...asks can be used Extra tasks are interrupt tasks that are executed each cycle as cyclic tasks See note 1 The CX Programmer can be used to create SFC programs ladder diagrams or ST programs in either c...

Page 54: ...C3072 C4095 1024 CNT SFC Bit N A N A N A SFC Word N A N A N A Note DM or EM can be used for the FB Non Retain memory area Uncheck the Share SFC with FB Memory checkbox since neither DM nor EM can be...

Page 55: ...Precautions When Creating SFC Programs Section 1 5 39 1 5 7 Subchart Online Editing Function Restrictions Subcharts cannot be edited during online editing...

Page 56: ...Precautions When Creating SFC Programs Section 1 5 40...

Page 57: ...lements of SFC 44 2 3 1 Steps 44 2 3 2 Transitions 50 2 3 3 Action Blocks 52 2 3 4 Divergences 59 2 3 5 Convergences 59 2 3 6 Simultaneous Sequence Divergences 60 2 3 7 Simultaneous Sequence Convergen...

Page 58: ...is executed and if condition A is met process 2 is executed as an example Step 1 Assign Process 1 to Action 1 Assign Process 2 to Action 2 Assign Condition A the transition condition between steps to...

Page 59: ...according to the action execution judgment Then action programs are executed For information on the execution order of action programs refer to 1 5 2 Action Program Precautions When the same action p...

Page 60: ...s until it becomes active The step status transfers when the transition condition is met but the transfer actually depends the status of the step before the transition as well as the transition condit...

Page 61: ...en the power supply is turned back ON To perform initialization when continuing operation or to select the steps with the step control instructions to continue step operation include status control pr...

Page 62: ...rn step The processing of a subchart always begins at the subchart entry terminal and ends at the subchart return terminal When the return step becomes active it will remain active until the active st...

Page 63: ...task step name X For within another task program name step name X In each of the instructions the step timer is specified as follows For a step within the same task step name T For a step within anoth...

Page 64: ...am in the SFC program the activated step s action will be executed in the current or in the next cycle depending on the order of the SFC program execution task numbers If the SFC program containing th...

Page 65: ...CV series PLCs In the CV series PLCs subchart steps can be used in instruction operands Operation When Multiple Subchart Steps Calling the Same Subchart Are Active When a given subchart step is active...

Page 66: ...tep Control Instruction Input the instruction as a regular ladder instruction and specify the target step flag 2 3 2 Transitions A transition represents the condition in which the active status transf...

Page 67: ...b Condition met if a differs from b OR OR a OR b Condition met if a or b is ON Equality a b Condition met if a and b are the same Formats for INT DINT LINT UINT UDINT ULINT CHANNEL REAL LREAL WORD DWO...

Page 68: ...Instructions That Can Not Be Used in Action Programs and Transition Programs Do not use timer instructions in a transition program A timer that has timed out cannot be reset in a transition program An...

Page 69: ...is not specified The output status is held if a holding action qualifier is specified With ladder programs the outputs are reset by default The default setting can be changed to hold the output s stat...

Page 70: ...hen the step becomes active and continues to be executed even after the step becomes inactive To cancel the execution use the R AQ SD Set Delay The action is executed after the user specified time has...

Page 71: ...ollowing Bit Boolean variable or actual address Action program name When an action is defined as a Boolean variable bit the bit is turned ON when the action is executed and turned OFF when the action...

Page 72: ...t to N the ladder program may not be able to correctly detect the step rising to the active status For this reason if a process is to be executed only once upon the activation of the step the P1 actio...

Page 73: ...en resetting outputs Action Flag A Action_name A This flag is ON when the step is active and goes OFF when execution of the final scan is completed after the step is deactivated Use the Action Flag A...

Page 74: ...Qualifier Time Adding a Boolean Variable Directly input the name of a Boolean variable as the action name Or double click the right hand side of an action block click the on the right and select a re...

Page 75: ...ost step Transition at a divergence can only take place for one step If the priority of the steps has been changed however active status will be transferred according to the priority order Procedures...

Page 76: ...f a step before a transition is in the active status and its transition conditions are met the active status will be transferred to all the steps after the divergence at the same time provided they ar...

Page 77: ...vergence Right click a step and select Add Simultaneous Sequence Convergence Right click an existing simultaneous sequence convergence and select Connections Add Connection or right click and select C...

Page 78: ...prepare a connection and then connect it to step which will become the destination of the jump Skip Skip is a divergence which has a transition element but no step element Step 3 Step 2 Step 4 Step 5...

Page 79: ...n 77 3 2 7 Creating a Divergence Convergence 77 3 2 8 Creating a Simultaneous Sequence Divergence Convergence 79 3 2 9 Adding a Subchart 81 3 2 10 Connecting to the Initial Step with a Jump or Loop 84...

Page 80: ...o create an SFC program for a project 1 In the project workspace right click the Programs item and select Insert Program SFC from the pop up menu 2 An SFC program is inserted into the project workspac...

Page 81: ...allocating a program to a task may be postponed until program creation is completed Be sure to allocate the program however before transferring it to the PLC as a user program Use the following proced...

Page 82: ...the Program Properties dialog 4 When the program is allocated to a task the check mark will be removed from its SFC program item icon in the program directory Furthermore the task to which the progra...

Page 83: ...amming Functions Transition The transition conditions conditions for transferring from the active step to the next step are set to the right hand side of a transition in one of the following ways Bit...

Page 84: ...itable state 2 Input a Boolean variable e g a an ST expression e g a b or a transition program name Creating a Transition Program and Defining it as a Transition A transition program can be created in...

Page 85: ...ansition A transition program can be set as a transition condition by assigning its name to a transition Transition program names can be changed so that they are more self explanatory 1 Right click th...

Page 86: ...menu Note Multiple action blocks can be inserted into a single step by repeating this procedure If a step contains multiple action blocks they will be executed in sequence from top to bottom An action...

Page 87: ...t the ladder action program The ladder editing procedure is the same as for CX Programmer Refer to the CX Programmer Operation Manual Cat No W446 Adding an ST Program Action Block and Editing the ST P...

Page 88: ...er or Structured Text from the pop up menu An action program ladder or ST will be registered under the Actions folder 2 Double click the action item ladder or ST or right click and select Open from th...

Page 89: ...tly 1 Double click the AQ of an action block and select an AQ from the combo list For specifications on AQ operations refer to 2 2 3 Action Blocks Setting the Timer Unit for a Step Timer The step time...

Page 90: ...second timer or 0 6553 5 for a millisecond timer Note The unit for the AQ timer value is determined by the step timer setting Right click the step and select Step Timer Use Second Timer or Use Millis...

Page 91: ...hidden While the action blocks are displayed right click the required step and de select Show Action Blocks from the pop up menu To display action blocks for an individual step when hidden right clic...

Page 92: ...ed after a transition 1 Right click a transition and select Add Step from the pop up menu Adding a Step and a Transition A step and a transition can be simultaneously added after a transition 1 Right...

Page 93: ...tep and Transition Above from the pop up menu Inserting a Transition and a Step Before a Step A transition and a step can be inserted before a transition 1 Right click a transition and select Insert T...

Page 94: ...gent Transition Branch from the pop up menu A transition is added to the divergence When using a divergence add SFC elements so that each branch ends with a transition enabling a convergence Creating...

Page 95: ...s Add Connection to Convergence from the pop up menu and drag the lead line to the target transition to connect transitions to a convergence 2 Right click the line next to a conditional branch and sel...

Page 96: ...simultaneous sequence divergence and select Add Simultaneous Divergent Step Branch from the pop up menu A step is added to the simultaneous sequence divergence Creating a Simultaneous Sequence Conver...

Page 97: ...d steps or subchart steps will be joined to the simultaneous sequence convergence Note You can also right click the simultaneous sequence convergence select Connections Add Connection to Convergence f...

Page 98: ...st as with an SFC chart The first SFC element must be the entry step and the last must be the return step Creating a New Subchart Program and Adding an Existing Subchart Step A subchart program can be...

Page 99: ...workspace or right click and select Open from the pop up menu 5 Right click a transition and select Add Subchart Step Existing Subchart from the pop up menu 6 Double click the subchart step and select...

Page 100: ...ump from the pop up menu and drag the connection to the jump destination step to establish a connection The Add Connection dialog will be displayed 7 On the Add Connection dialog select the destinatio...

Page 101: ...mouse pointer will change to a connection cursor Click to establish the connection Connecting the Output of an Isolated Transition as the Input for a Step A connection can be made from an isolated tr...

Page 102: ...ck a divergence or on a simultaneous sequence divergence and select Connections Add Connection From Divergence from the pop up menu 2 For a divergence put the mouse pointer over the input side of the...

Page 103: ...select Tidy Descendant SFC Elements from the pop up menu Other SFC elements below the selected SFC element will be tidied 3 2 13 Changing the Step Type Changing a Normal Step to the Initial Step Right...

Page 104: ...displayed 2 Input the search text into the Find what combo box Check the Match whole word only checkbox and or mark the Match case search option as necessary 3 Click Find Next An SFC element containi...

Page 105: ...Cross Reference Report window will be displayed 2 Using the Report type combo box and Memory Area combo box set the requirements for the report 3 Click Generate 3 3 4 Address Reference Tool The Addre...

Page 106: ...from the pop up menu The check results for the program will be displayed on the Compile tab of the output window 3 4 2 Checking All Programs All programs including ladder programs and ST programs for...

Page 107: ...action programs within SFC programs and ladder programs within transition programs the index must be a numeric value Variables cannot be used as the index For ST programs the index can be defined by b...

Page 108: ...e of the array and click OK 4 Click OK on the displayed New Symbol dialog The array variable is inserted into the Symbols folder 3 5 2 Printing The display in SFC View and programs and subcharts in an...

Page 109: ...94 4 1 2 Working Offline 94 4 2 Transferring Programs from Computer to PLC 95 4 3 Transferring Programs from PLC to Computer 96 4 4 Comparing Programs 97 4 5 Monitoring 98 4 5 1 Monitoring Start 98 4...

Page 110: ...switch to the online mode 1 Select Work Online from the PLC menu A confirmation message is displayed 2 Click YES You will be switched to the online state and the online SFC editor is displayed The SFC...

Page 111: ...lly transferred Note If an SFC program or an ST program is allocated to a task for transfer to PLC using SFC Programming Function the program cannot be read by CX Programmer Ver 7 0 or earlier For det...

Page 112: ...e PLC menu The Transfer Option From PLC dialog is displayed 1 2 Select the items you wish to transfer 3 Click OK The transfer is started 1 Select Partial Transfer Task Transfer from PLC from the PLC m...

Page 113: ...omparison results are displayed 4 To display detailed program comparison results move the cursor to the desired location and click the Mnemonic View Button or double click the desired location See not...

Page 114: ...lows 4 5 2 Monitoring SFC Editor 1 Switch to the online mode as previously described The monitor screen of the SFC editor is displayed as shown below 1 2 3 2 To stop monitoring select Monitor Monitori...

Page 115: ...e step can be automatically displayed on the screen 1 Switch to the online mode as previously described 2 Select Options SFC from the Tools menu 3 Check the Automatically Show Active Step in Monitorin...

Page 116: ...cannot be monitored Monitoring Ladder Program Execution 1 In the project workspace double click the action or transition to be monitored to display the editor window while working online 1 2 Clicking...

Page 117: ...Monitoring Section 4 5 101 For details refer to 3 2 3 Adding an Action to a Step or to the Initial Step...

Page 118: ...Monitoring Section 4 5 102...

Page 119: ...of Actions andTransitions Editing 108 5 1 3 Adding Actions Transitions 111 5 2 Force Setting Force Resetting 113 5 2 1 Force Setting Force Resetting Transitions 113 5 2 2 Force Setting Force Resetting...

Page 120: ...rams can be debugged or edited even on devices for which around the clock operation is required 5 1 1 Online Editing of SFC Charts SFC chart can be edited online as long as the PLC is not in RUN mode...

Page 121: ...r to Limitations of Online Editing on page 108 for precautions that apply during online editing Transferring the Changes 1 After editing is complete select Program Online Edit Send Changes The Send Ch...

Page 122: ...been transferred The yellow mark will disappear after the SFC source code has been transferred Selecting a Transfer Mode In general unless online editing is done frequently and continuously Standard...

Page 123: ...LC to which data was previously transferred in Quick Mode The status bar of the CX Programmer will flash a yellow message saying that the source code is different 3 Select Project Online Editing Trans...

Page 124: ...ize for a single online edit session is 0 5K After completing online editing do not turn the PLC power OFF until the CPU unit completes a backup to the internal flash memory i e until the BKUP LED on...

Page 125: ...rogram becomes editable Note Only one SFC element at a time may be added to the project workspace during an online edit session 4 Begin editing the program The editing operations are the same as for o...

Page 126: ...dder or ST program automatically reverts to the non editable state To perform further editing repeat the online editing procedure from the beginning Cancel 1 To discard the changes made to an edited l...

Page 127: ...or transition online using procedure 5 1 1 Online SFC Chart Editing 1 In the project workspace select the folder for the SFC element to be added Select Actions for an action and Transitions for a tran...

Page 128: ...ine SFC chart editing When SFC elements are added the changes must be sent to the PLC before online SFC chart editing For details refer to 5 1 1 Online SFC Chart Editing Note Only one SFC element at a...

Page 129: ...e selected transition will be force set force reset The transition will be marked to indicate that it has been force set force reset as shown below Clearing the Forced Status of a Transition 1 In the...

Page 130: ...nactive Note The behavior of Action Qualifiers is the same as if the step had become active under normal conditions Force Setting Force Resetting a Step 1 On the SFC editor select and right click the...

Page 131: ...ging a Step Timer Present Value 1 From the SFC editor select and right click the step for which the step timer present value is to be changed 2 Select Set Step Timer Value from the pop up menu The Set...

Page 132: ...wnloaded to the Simulator Download successful will be displayed when the data has been downloaded 5 Click the OK Button The online connection will be broken 6 Select Operating Mode Monitor from the PL...

Page 133: ...tive to end execution of the actions Status is changed as follows by the Step Control Instructions Active Inactive SA Actions executed N Action1 Step z N Action1 Step Actions not executed SE Note The...

Page 134: ...ctive to inactive status Symbol SE D D Step Flag Description The step designated by D is made inactive Step z N Action1 N Action1 Step SE Active Inactive Actions executed Actions not executed Variatio...

Page 135: ...ollowing example step 4 will become active when W0 0 turns ON SA Step4 X N Action1 Step1 Step2 z Step4 Step5 Step3 Made active W0 0 In the following example step 3 a subchart step will become active w...

Page 136: ...as Area Function block definitions Block program areas Step program areas Subroutines Interrupt task programs Usage OK OK OK OK OK Operand Specifications Area S D CIO Area e g I O bits CIO 0000 to CIO...

Page 137: ...eas Area Function block definitions Block program areas Step program areas Subroutines Interrupt task programs Usage OK OK OK OK OK Operand Specifications Area S D CIO Area e g I O bits CIO 0000 to CI...

Page 138: ...dix A 122 Operation Example In the following example the present value of the Step Timer for step 2 is changed to 100 when W0 0 turns ON TSW 100 Step2 T W0 0 N Action1 Step1 Step2 z Step4 Step5 Step3...

Page 139: ...s that will be reset are used in other tasks When execution is started again with the SFCON instruction it will start from the step that was active before the task was paused The Step Time for the pau...

Page 140: ...s is held When execution of the SFC task is restarted it is executed from the initial step Symbol SFCOFF N N SFC task number Operands Cyclic Task For CJ2 N 0 to 128 Correspond to cyclic tasks 0 to 128...

Page 141: ...truction for an SFC task that has been ended see note Even if the SFCPR instruction is executed for an SFC task that has been ended the outputs will be reset and the task will not be started If this h...

Page 142: ...xecution of an SFC task The status of all outputs is held When execution of a paused task is restarted execution will start from the step that was active when the task was paused Symbol SFCPRN N N SFC...

Page 143: ...C CS CJ Series Programmable Controllers Programming Manual Cat No W394 for information on extra tasks When using an extra task specify the SFC task number as shown above for the operand data For the p...

Page 144: ...Box Neither the action program size nor the transition program size is not included The following table shows the standard program size of each element Program Size Unit Step Task 60 to 90 Step 10 to...

Page 145: ...9 Step2 Step3 Step4 Step5 Step6 Step7 Trans1 bFlag1 bFlag3 bFlag2 bFlag4 Trans3 Trans2 Trans4 Transition1 Trans5 bFlag6 Trans7 Step1 P0 Action1 D 1s bAction1 L 1s bAction2 N Action2 S Action3 N Action...

Page 146: ...7 0 2 to 1 3 0 2 to 1 6 Executed 0 6 to 9 0 7 to 13 0 7 to 13 1 6 to 14 1 7 to 20 Action Ladder ST program Not executed 0 2 to 0 8 0 2 to 0 8 0 3 to 1 0 5 to 2 0 6 to 2 5 Executed 0 2 0 2 0 3 0 4 0 6...

Page 147: ...72 creating convergences 78 creating divergences 77 creating projects 64 creating SFC programs 64 creating simultaneous sequence convergences 80 creating simultaneous sequence divergences 79 creating...

Page 148: ...96 program view 11 project directory 9 project workspace 9 Q quick mode 106 R read step timer value instructions 47 restrictions 33 return steps 45 S set step timer value instructions 47 setting actio...

Page 149: ...subchart 45 subchart programs 10 subchart steps 45 symbol tables 9 T task allocation 65 tasks 37 tidying 87 toolbar 21 transfer 95 96 transfer conditions 44 transfer modes 106 transition programs 10 5...

Page 150: ...Index 134...

Page 151: ...s refer to the previous version Revision code Date Revised content 01 June 2007 Original production 02 August 2007 Pages 104 to 106 108 Or and subchart or or and subcharts removed Page 113 Information...

Page 152: ...Revision History 136...

Page 153: ......

Page 154: ......

Reviews: