The text of a manual · part 39 of 50
Festo Software Tools: Statement list and Ladder diagram for SF 3, FST 200 Manual, pages 381 to 390
Pages 381 to 390 of 496
The original document is the PDF (3.1 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
Filed in the catalog under the Festo FPC-202
Page 381
FST 200
8. Field bus, AS-i master
Fig. 8.7: As Specified/Actual comparison Every deviation determined in the As Specified/Actual comparison is displayed. Function key F4 accepts each deviation (Actual) individually as a new specification default value into the project planning list. If there is more than one deviating slave, you can browse through the list of deviating slaves with the F1 and F2 keys and thus leave desired deviations unmodified. F4 accepts the deviation again and the ESC key cancels the As Specified/Actual comparison.
9610a
8-17
Page 382
FST 200
8. Field bus, AS-i master
Load configuration (F5) Function key F5 loads the planned As Specified list into the RAM of the SF 3 control block. An As Specified/Actual comparison will then be carried out.
PLEASE NOTE The data for the AS-i network will only be loaded into the SF 3 control block EEPROM, when the controller data are read from RAM, and when the EEPROM is programmed at the conclusion of the complete commissioning routine. Print configuration (F6) Function key F6 sends the planned slaves to the printer or to a file for further processing in your project documentation. Address progr. (F7) This function key takes you to the "Assign / modify AS-i slave address" menu, which is described below. File commands (F8) F8 is used to save the data and/or quit the AS-i configuration menu. The configuration data required for the controller will be saved in the current project directory under filename 3AS-i.CFG.
8-18
9610a
Page 383
FST 200
8. Field bus, AS-i master
8.2.1 Addressing the AS-i-slaves The function key F7 "Address progr." takes you to the menu for addressing AS-i-slaves which have already been installed. In this menu you can: – Connect each AS-i-slave individually to the AS-i bus and address it from the PC (without using an AS-i addressing unit) during a new installation. – Retrospectively readdress from the PC AS-i-slaves that have already been addressed. – See the cross-reference to the planned list at a glance. The following screen appears when you call this function:
Fig. 8.8: AS-i bus configuration module - Assign/modify AS-i-slave
9610a
8-19
Page 384
FST 200
8. Field bus, AS-i master
As Specified ID/IO (F5) The function F5 "Nominal ID/IO" becomes active if a question mark appears in the slave list displayed. In this case, the ID or IO code of the AS-i slave deviates from that of the planned slave. This means that: • An installation error in the slave concerned, or • An incorrectly planned slave exist. You must always correct the deviations. This is done in one of the following ways: • By removing the incorrectly installed slave. • By replacing it with the planned slave model, or • By accepting the installed slave into the planned As Specified list. This is done by calling the AS-i configuration menu ("Project planning for AS-i slaves") and carrying out a new As Specified/Actual comparison. Then accept the deviating slave by pressing F4. (An example of this may be found in the SF 3 description, folder 6.4).
8-20
9610a
Page 385
FST 200
8. Field bus, AS-i master
Print page (F6) Function key F6 sends this menu to the printer or to a file for further processing in your project documentation.
Return (F8) Function key F8 takes you back to the main menu.
8.2.2 "SF 3 Online Mode" menu In addition to the familiar functions, in this menu you can: – Call a display of all the slaves installed on the AS-i bus. – Check AS-i inputs and set AS-i outputs. – Send slave parameters to suitable AS-i-slaves (through CFM as a macro or in Terminal Mode). The following screen appears when you call the Online Mode from the FST 200 main menu.
9610a
8-21
Page 386
FST 200
8. Field bus, AS-i master
Fig. 8.9: Online mode, example of ASI inputs
WARNING Only set outputs in Online Mode if you know the effect of the outputs. Make sure that there is no danger to people or the machine when the outputs are switched on and off. If the system is switched on, the outputs will react immediately to your screen entry. If there are a number of I/Os, use F1/F2 to browse until you find the AS-i I/O display. (see also section 7.3 "Online Mode"). The AS-i outputs are then set or reset just like the local outputs.
8-22
9610a
Page 387
FST 200-STL
Appendix A
Appendix A Statement list This appendix describes all the features relating to the statement list for the SF 3 control block and special features of this controller. These are: • Valid operations • Legal operands and their ranges • Multitasking • Syntax A.1
Command set for the FST 200 STL This lists all the operations and operands which you can enter in an STL program using the FST software. A.1.1 (List of operations) lists all the operations possible in a statement list program. You will also find a brief explanation of these operations. A.1.2 (List of operands) lists all the operands valid for the SF 3, FPC 202 C controller with their value ranges. You will also find information regarding the type of operand concerned (one-bit or multi-bit).
9610a
A-1
Page 388
FST 200-STL
Appendix A
A.1.1 List of operations STEP IF THEN OTHRW NOP CFM CMP JMP TO SET
RESET
LOAD SWAP SHL SHR ROL ROR PSE BID DEB
A-2
For sequencing programs; a symbolic step label is permitted. Introduces a conditional part Introduces the execution part if the condition under IF evaluates to true. Introduces an alternative execution part if the condition under IF does not evaluate to true. Null operation (space holder) Function module call (CFM0 ... CFM255) Program module call (CMP0 ... CMP15) Jump to a step label. Instruction follows in a THEN or OTHRW statement One-bit operands are set to logical 1, timers, counters or programs are started. Instruction follows in a THEN or OTHRW statement. This is a store instruction. One-bit operands are set to logical 0, timers, counters or programs are stopped. Instruction follows in a THEN or OTHRW statement. This is a store instruction. This causes one-bit and multi-bit function units and constants to be loaded into the accumulator. Instruction follows in the THEN or OTHRW statement. The most significant byte in the multi-bit accumulator is swapped with the least significant byte. All the bits in the multi-bit accumulator are shifted one place to the left. Bits shifted to the left are lost. All the bits in the multi-bit accumulator are shifted one place to the right. Bits shifted to the right are lost. All the bits in the multi-bit accumulator are rotated to the left; i.e. the last bit becomes the first, the penultimate bit becomes the last, etc. All the bits in the multi-bit accumulator are rotated to the right; i.e. the first bit becomes the last, the second bit becomes the first, etc. Causes a processor interrupt; is set as the program end. Converts the content of the multi-bit accumulator from binary code to decimal code. Converts the content of the multi-bit accumulator from decimal code to binary code.
9610a
Page 389
FST 200-STL
( + * / < <= = => > <> ) AND OR EXOR JMP TO SHIFT INC DEC WITH N CPL INV
9610a
Appendix A
Left bracket; begins a grouping of several instructions. Arithmetic instruction for addition; also used as a sign for constants. Arithmetic instruction for subtraction; also used as a sign for constants. Arithmetic instruction for multiplication Arithmetic instruction for division Arithmetic comparator (less than ...) Arithmetic comparator (less than or equal to ...) Arithmetic comparator (equal to ...) Arithmetic comparator (greater than or equal to ...) Arithmetic comparator (greater than ...) Arithmetic comparator (not equal to ...) Right bracket; ends a grouping of several instructions. Logical instruction for a bitwise AND operation Logical instruction for a bitwise OR operation Logical instruction for a bitwise exclusive OR operation When used with LOAD transfers operand 1 to operand 2. Swaps the one-bit operand specified after with the value in the one-bit accumulator. Increments the value of multi-bit operands by one. Decrements the value of multi-bit operands by one. Causes a parameter to be passed in module calls (CMP ... WITH ...). Negation; negates operands, i.e. they are interrogated for logical 0. Complements multi-bit operands using the two’s complement method. Complements multi-bit operands using the one’s complement method.
A-3
Page 390
FST 200-STL
Appendix A
A.1.2 List of operands This list includes all operands with their ranges. Take note of the operand type (one-bit or multi-bit). Flag: Operations:
interrogate, set, assign
F0.0 to F31.15
One-bit
Input F0 to F15 is expanded in the allocation listing by F0.0 to F0.15. Flag words: Operations:
load, compare, assign
FW0 to FW31
A-4
Multi-bit
9610a