Siemens SIMATIC ST-1500 Function Manual page 161

Table of Contents

Advertisement

Using the SSI_Absolute_Encoder technology object
4.5 Programming the SSI_Absolute_Encoder
Acknowledgment of events
You acknowledge signaled events using the positive edge of the input parameter EventAck .
EventAck must stay set until the technology object has reset the status bits of the following
events of the count channel:
● CompResult0
● CompResult1
● ZeroStatus
● PosOverflow
● NegOverflow
Status of the digital inputs
You obtain the status of the digital inputs via the static tags StatusDI0 and StatusDI1.
Using digital outputs with user program
In the following cases you can set the digital outputs via the instruction:
Case
The setting "Use by user program" is config-
ured for "Set output".
The setting "After set command from CPU until
comp. value" is configured for "Set output".
Set the respective static variable Manu-
alCtrlDQm (temporary overwrite).
Reaction to error
If an error has occurred during the call of the instruction or in the technology module, the
output parameter Error is set. More detailed error information can be read at the output
parameter ErrorID (Page 164).
Eliminate the cause of the error and acknowledge the error message by setting the input
parameter ErrorAck. When no more errors are pending, the technology object resets the
output parameter Error . No new error is signaled until you acknowledge the previous error.
160
Description
The respective digital output DQM follows the value
of SetDQm.
The respective digital output DQm is set with a neg-
ative edge of SetDQm. DQm is reset when the posi-
tion value corresponds to the comparison value or at
a negative edge of SetDQm.
The respective digital output DQM follows the value
of SetDQm.
Counting, measurement and position detection
Function Manual, 12/2017, A5E32009889-AG

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic et 200mpSimatic et 200sp

Table of Contents