Download Print this page

Siemens SIMATIC FM 351 Getting Started page 18

Function modules
Hide thumbs Also See for SIMATIC FM 351:

Advertisement

Linking to the user program
Test
Use the "Monitor and modify variables" function to monitor the selected channel.
1. In the symbol editor, assign DB1 a symbol named "ABS."
2. Select the "Blocks" container of your project. Choose the "Insert > S7 Block > Variable
Table" menu command to insert the VAT 1 variable table, and then confirm with "OK".
3. Open variable table VAT 1, then make the following entries in the "Symbol", "Display
format" and "Modify value" columns:
Address
DB1.DBX 22.3
ABS OT_ERR
DB1.DBX 14.3
ABS.OT_ERR_A
DB1.DBX 15.0
ABS.START
DB1.DBX 15.1
ABS.STOP
DB1.DBX 15.2
ABS.DIR_M
DB1.DBX 15.3
ABS.DIR_P
DB1.DBX 15.7
ABS.DRV_EN
DB1.DBX 34.2
ABS.EI_OFF
DB1.DBB 16
ABS.MODE_IN
DB1.DBB 17
ABS.MODE_TYPE
DB1.DBD 26
ABS.ACT_POS
4. Choose "Table > Save" to save the variable table VAT 1.
5. Choose "PLC > Connect To > Configured CPU" to switch to online.
6. Choose "Variable > Monitor" to switch to monitoring.
7. Set the CPU to RUN-P.
8. Choose "Variable > Activate Modify Values" to activate the modify values.
9. This starts the drive. At the "Status value" column, you can now monitor the actual
position value ACT_POS.
18
Symbol
Display format
BIN
BIN
BIN
BIN
BIN
BIN
BIN
BIN
DEC
DEC
DEC
CAUTION
In the next two test steps you will start the drive.
Options of stopping the drive again:
• Reset the direction modify value to zero and activate it
• Reset the drive enable modify value to zero and activate it
• Set the CPU to STOP
Status
Modify value
value
0
0
0
0
0
1
1
1
1
1
Getting Started, 07/2007, A5E01092707-01
Meaning
Operating error
Acknowledge operating error
Start positioning
Stop current motion
Direction minus
Direction plus
Enable drive
Do not evaluate enable input
Requested mode: 1 = jogging
Start velocity in jogging mode
Current axis position
FM 351 First Steps in Commissioning

Advertisement

loading