EasyManuals Logo

Siemens SIMATIC S7-300 Module data User Manual

Siemens SIMATIC S7-300 Module data
594 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #394 background imageLoading...
Page #394 background image
Other signal modules
7.4 Position decoder module SM 338; POS-INPUT; (6ES7338-4BC01-0AB0)
S7-300 Automation System Module data
7-14 Manual, 08/2006, A5E00105505-04
Example of encoder value scaling
You are using a single-turn encoder with
2
9
steps = 512 steps per revolution (resolution/360°.)
Your configuration in
STEP 7
:
Absolute encoder: 13 bits
Scaling: 4 places
Steps per revolution: 512

;
;;;



5HOHYDQWELWV
7UDQVIHUUHGELWV
'DWDGRXEOHZRUG
5HOHYDQWELWV
'DWDGRXEOHZRUG
3ULRUWRQRUPDOL]LQJF\FOLFDOO\PHDVXUHGHQFRGHUYDOXH
$
IWHUQRUPDOL]LQJ(QFRGHUYDOXH
5HVXOWELWVWRGLJLWVPDUNHGZLWK[ZHUHRPLWWHG
7.4.2.3 Freeze function
The freeze function "freezes" the actual encoder values of SM 338. The freeze function is
coupled to the digital inputs DI 0 and DI 1 of SM 338.
The freeze function is triggered by a signal transition (positive edge) a DI 0 or DI 1. Bit 31 = 1
(output address) identifies a frozen encoder value. You can freeze one, two or three encoder
values using one digital input.
Enable the freeze function by setting the corresponding parameters in
STEP 7
.
To allows their event-triggered evaluation, the encoder values are retained until the freeze
function is terminated.
Terminating the freeze function
The freeze function must be terminated separately at each encoder input. You acknowledge
the function in the user program by setting bit 0, 1 or 2 of the relevant channel by setting the
STEP 7
operation T PAB "xyz."
The acknowledgement resets bit 31 of the corresponding encoder value, and initiates a
refresh of the encoder values. You can freeze the encoder values again after you cleared the
ACK bit at the output address of the module.
In isochronous mode, the acknowledgement is processed at the time T
o
. From this point on,
you can freeze the encoder values again by setting the digital inputs.

Table of Contents

Other manuals for Siemens SIMATIC S7-300 Module data

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SIMATIC S7-300 Module data and is the answer not in the manual?

Siemens SIMATIC S7-300 Module data Specifications

General IconGeneral
SeriesS7-300
ManufacturerSiemens
Protection ClassIP20
SystemSIMATIC S7-300
Digital InputsVaries by module
Digital OutputsVaries by module
Analog InputsVaries by module
Analog OutputsVaries by module
Central Processing UnitVaries by CPU model
Supply Voltage24V DC or 120/230V AC
CPU TypeVaries (e.g., CPU 312, CPU 315, etc.)
MemoryVaries by CPU model
Communication InterfacesMPI, PROFIBUS
Programming LanguagesLAD, FBD, STL, SCL, GRAPH
Operating Temperature0°C to 60°C
Storage Temperature-40°C to 70°C
Relative Humidity10% to 95% (non-condensing)

Related product manuals