Siemens SIMATIC S7-300 Manual page 212

Fm 354 servo drive positioning module
Hide thumbs Also See for SIMATIC S7-300:
Table of Contents

Advertisement

Description of Functions
9.3.1
Change parameters/data (job no. 8)
Overview
You can use this function to change parameters and data in the data function
blocks of the FM 354, or to issue an order to read parameters or data from
data function blocks. The parameters/data can then be read out with function
call FC RD_COM job no. 114 (see Section 9.3.17).
Structure of data
The following table shows which parameters or data can be changed or read
record
by setting the indicated codes.
Addr. in
Data
Symbol
user DB
format
126
Byte
DB type type
127
Byte
data
number
128
Byte
number
of data
129
Byte
job type
130...149 depends
data
on type
array
1) For block format see Section 9.3.12 "Active NC block"
Example
The software limit switches (MD21, MD22) for the axis are to be set to the
values 100 mm and 50,000 mm. These values are to remain in effect only
until the unit is shut down.
DB type
data number
number of data = 2
job type
data array
For activation of the machine data, see Section 9.3.3
9-36
1 = MD
2 = SM
Info 1 MD No.
SM No.
(5...45)
(1...100)
Info 2 Number of
Number of
MDs, consec-
SMs, consec-
utive (1...5)
utive (1...5)
1 = Read job parameters
2 = Write parameters
4 = Write parameters and save
Parameters/data (see data blocks, Section 5.3)
= 1
= 21
= 2
Byte 5...8
= 100,000 (MD21)
Byte 9...12
= 50,000,000 (MD22)
Byte 13...24
= 0
Description
3 = TO
4 = NC (traversing
program)
TO No. (1...20)
Progr. No.
(1...199)
0 = Tool offset
Block No.
complete
(1...255)
1 = Tool length
only
2 = Wear value abs.
only
3 = Wear value add.
only
FM 354 Servo Drive Positioning Module
1)

Hide quick links:

Advertisement

Table of Contents

Troubleshooting

loading

Table of Contents