FATEK Automation Corporation

3y ago
128 Views
2 Downloads
268.76 KB
10 Pages
Last View : 1m ago
Last Download : 3m ago
Upload by : Raelyn Goode
Transcription

FATEK Automation CorporationOperation Manual for LadderProgram Simulation ofWinproladderV1.02010/6/30

Contents1.2.3.Operation manual for ladder program simulation. 3FEATURES . 3LIMITATION OF PROGRAM SIMULATION . 3OPERATION OF PROGRAM SIMULATION . 43.13.23.33.4Open ladder program . 4Enter simulation mode . 4Start execution of program simulation . 4Pause of program simulation . 53.5Proceed to program simulation . 53.6Control scanning . 53.6.1 Single scan . 53.6.2 Multiple scan . 63.6.3 Continuous scan . 63.7Set address breakpoint of program execution . 63.8View Address Breakpoint List . 73.9Setup Data Breakpoint . 83.10 Stop Simulation . 93.11 End Simulation . 94. COMMUNICATE WITH SIMULATED PROGRAM . 94.1Communication function setup . 94.1.1 Serial port communication setup. 104.1.2 Internet communication setup . 10Page 2

Operation manual for ladder program simulation1.Features Can simulate the FATEK PLC ladder program execution without PLCconnection. With providing single/multiple/continuous scan mode, the execution resultat each scan end can be easily checked. With providing program address breakpoint and data breakpoint, it isconvenient to check any intermediate execution result and to identifyany data changed. Provides communication interface allows external program or device (Forexample, graphic panel or HMI) to modify or monitor the variable valueduring the simulation. With run time editing feature, during the simulation process the programcan be modified without stop the execution.2.Limitation of program simulationBesides the I/O operation, most of the instructions can be simulated. Whenthe ladder program contains the unsupported instruction, the operation ofunsupported instruction will be ignored and will be shown with yellowbackground color as follows.Page 3

3.Operation of program simulationThe following is an example of “ssi.pdw” project. With this project to explainthe related operations for program simulation.3.1 Open ladder programFollow the following main menu operation to open the “ ssi.pdw” project file.File Open project Open file select ssi.pdw.the screen will display as follows:After select the project,3.2 Enter simulation modeMain Menu:PLC SimulationIt will enter into the simulation mode after execution.3.3 Start execution of program simulationMain Menu:PLC RunAfter execution, the color of power line of ladder program will become to redcolor as the screen shown below:Page 4

During the execution, there is a blinking red dot at the left side of status bar.On the right of the red dot has SC:xx, xx means the number of time have beenscanned. During simulation, can use the status page to monitor or modify thevalue of register or discrete point.3.4 Pause of program simulationMain Menu: PLC Pause Simulation or the easiest way is to click the spacebarAt this point, the blinking red dot stop blinking and it will become pink color.3.5 Proceed to program simulationMain Menu:PLC Resume Simulation or the easiest way is to click thespace barAt this point, the dot becomes blinking again and the program continues theoperation.3.6 Control scanningThe above pause/Resume program simulation is operated by manual way ofcontrolling the program execution, which will pause the program execution atthe next scan end point right after you issue the command. But if you wouldlike to control the exact times of scan execution after pause, you can use setscan mode to control.3.6.1Single scanMain Menu:PLC Setup Simulation choose ”single scan”Page 5

After set this mode, you can use space bar orMain menu: PLC Resume Simulation to start a new scanning work.3.6.2Multiple scanMain menu: PLC Setup Simulation choose “multiple scan”After selected the mode, you can set number of scans to be performed in thenumber of scanning field.After that, press space bar orMain menu: PLC Resume Simulation to start up next scanning work.When the scan has reached the set number, it will pause the scanning.3.6.3Continuous scanMain menu: PLC Setup Simulation choose “continuous scan”This is the default scan mode after enter the simulation.3.7 Set address breakpoint of program executionIn addition to the above methods to make the program paused at the scanend point, can also using the following method to pause the program at thepoint before a specific network number.Please first select the network to be set break point and then execute themain menu: PLC Add/Remove address breakpointPage 6

or in the ladder program window, on the “Network Display” region click theright button of the mouse and popup the menu.Popup Menu: Add/Remove address breakpointThe network with breakpoint set will display a red dot, which is as shown inthe picture below:The above picture indicates N001 has been set to an address breakpoint.When every time right before execution of this network, it will pause theprogram execution. The user can press space bar for continuing the programexecution. The address breakpoint can be set up to 16 points at same time.3.8 View address breakpoint listWhen there are many address breakpoints have been set, can use this featureto quickly remove, pause or enable the setting of address breakpoints.Main menu: PLC view address breakpointsAfter execution, it will display the following window:This window will show all the existed address breakpoints. The checked markin the enabled field means corresponding address breakpoints are in effective.You may use right click to call the pop-up menu shown in below: Enabled: Activate the breakpoint.Page 7

Disabled: Inactivate the breakpoint. When disabled, the red dot of thecorresponding network will become a gray dot. Removed: clear the breakpoint. Removed all: remove all breakpoints.If you double click the breakpoint in the list, it will display the correspondingbreakpoint in the ladder program window.3.9 Setup data breakpointUse this feature will make the program pause when the value of a specificcontact or register changed or change into a certain values.Main menu: PLC Setup Data BreakpointAfter operation, it will display the window as shown in belowThe left screen will be shown when the “Enable” field is not checked whilethe right screen is checked.When check the “Enabled” checkbox, the setup fields will appear.Description is as follows: Ref. No.: Register (word or Dword) or contact reference number.Data: Conditions of match valueCondition: three optionsChange to – When value of Ref. No. ( monitor variable) is changed tothe “Data” value, the execution will be paused.Change not to –When value of Ref. No. (monitoring variable) is changedto a value not equal to “Data” value, the execution will be paused. Changed –Whenever the value of Ref. No. (monitoring variable) ischanged , the execution will be paused.This feature can easily be used to identify the source of any changes ofmonitored variables.Page 8

3.10 Stop simulationSimulate the PLC “stop” operation, when next time execution (RUN), it willsimulate the initial operation.Main menu: PLC Stop3.11 End simulationExit the simulation mode.Main menu: PLC End simulation4.Communicate with simulation programWhen perform the simulation, besides “Winproladder” software, otherdevices or software can also monitor or modify the status of variables, thoughserial port or TCP/IP network interface by using the Fatek communicationprotocol. The most common practice is to combine the HMI and laddersimulation to perform the integrated test.There should be noted that, this feature only provides Fatek PLC slavecommunication capability. The function block FCN 150, 151 are not supportedin simulation.4.1 Communication function setupYou may choose serial ports or TCP network. The setup method is as follow:Main menu: PLC Setup Simulation After that please select“communication Setup” tab.In this page, please check “Enabled” checkbox and then it will display thefollowing window.Page 9

4.1.1Serial port communication setupAfter select 232, press “Edit”. Fill in the simulated communicationparameters.In addition, the “Port Number” means the port number on PC.4.1.1Internet communication setupAfter select TCP, press “Edit”.parameters as desire.Fill in the simulated communicationPage 10

Main menu: PLC End simulation 4. Communicate with simulation program When perform the simulation, besides “Winproladder” software, other devices or software can also monitor or modify the status of variables, though serial port or TCP/IP network interface by using the Fatek communication protocol.

Related Documents:

Fatek OPC Server User’s Manual 1. Overview OPC Server is a standard software application and is widely used in field applications. The Fatek OPC Server is the classic OPC server for connecting to the FBs/B1z PLC series from FATEK. It is based on Fatek communication protocol, and includes serial

Combining HMI and PLC with Example 15 AUTOMATION CORPORATION 26FL., NO. 29, SEC. 2, Zhongzheng E. RD., DANSHUI DIST., NEW TAIPEI CITY 25170, TAIWAN, R.O.C TEL: 886 -2 2808 2192 FAX: 886 -2 2809 2618 E-mail: sales@fatek.com tech-hmi@fatek.com Website: www.fatek.com The ladder program example is shown in the following image.

Appendix 1 FATEK Communication Protocol This Protocol is each communication port of FATEK PLC to communicate with the peripherals under standard mode. Any peripherals that want to communicate with FATEK PLC model have to meet the rules, not only the hardware connection but also the software parameter setting.

which is controlled by the CPU of the PLC, using FATEK “Standard communication driver” to manage the communication transactions of the Port, i.e. “FATEK communication protocol”. Any access to the Port must comply with the format of “FATEK communication protocol” to get responses from the PLC.

The Fatek OPC Server is the classic OPC server for connecting to the FBs/B1z PLC series from FATEK. It is based on Fatek communication protocol, and includes serial (FatekSerialOPC) and ethernet (FatekNetOPC) servers for different communication interface of PLC. SCADA and customize applications with OPC client can directly access

which is controlled by the CPU of the PLC, using FATEK “Standard communication driver” to manage the communication transactions of the Port, i.e. “FATEK communication protocol”. Any access to the Port must comply with the format of “FATEK communication protocol” to get responses from the PLC.

programmable logic controller, is important for industrial engineer. Factory automation mainly covers; Machine level automation, Production line or work cell automation, Shop floor automation, and Plant level automation. The present manual focus on the 1st level of factory automation e.g. machine automation level. It provides an introduction .

AGMA and/or DIN standards IMPERIAL Series Load Rating Drum Capacity METRIC Series Power Supply Line Speed Clutch Load Rating Drum Capacity Power Supply Line Speed Clutch PERFORMANCE 4WS9M18 4WS16M20 4WS26M26 4WS1M6 4WS3M10 4WS6M12 10,000 lbs 16,000 lbs 26,200 lbs 1,500 lbs 3,700 lbs 6,400 lbs 5–10 hp 7.5–15 hp 10–25 hp.5–1.5 hp 1–3 hp .