Function description
Operating Manual PSSu E S INC 24V se(-T)
1001380-EN-04
19
Section Function
Procedure for PSSu in sys-
tem environment A
Procedure for PSSu in sys-
tem environment B
e
Ready for new
latch function
The module resets Bit 0 of
the status byte
The module resets Input-
Data.ZeroPulse
The zero pulse function has priority over the latch function and the "Period length measure-
ment" function. If this function is activated, both the other functions are ignored, even if they
have been activated.
The module always transmits the counter status when the first zero pulse occurs after the
function has started. The counter statuses on all subsequent zero pulses are ignored until
the function has been completed and reset.
4.2.5.4
Set counter status
The "Set counter status" function sets the counter to any value. The value is stated in the
user program. The module transfers the value and continues counting from this counter
status.
PIO
PII
Legend:
}
PIO: Bit 2 of the function call in the process image of outputs or I/O data Output-
Data.SetCounter
}
PII: Bit 2 of the status byte in the process image of inputs or I/O data InputData.Set-
CounterDone
Key to timing diagram:
Section Function
Procedure for PSSu in sys-
tem environment A
Procedure for PSSu in sys-
tem environment B
a
Enter counter
status
In the user program, write the
default counter status in the
process image of outputs
In the user program, assign
the default counter status to
OutputData.NewCounter-
Value
b
Transfer counter
status
In the user program, set Bit 2
of the function call
In the user program, set Out-
putData.SetCounter
c
Acknowledge
transfer
The module sets Bit 2 of the
status byte; the underflow
and overflow bits are reset
The module sets Input-
Data.SetCounterDone; Input-
Data.Underflow and Input-
Data.Overflow are reset
d
Finish transfer
In the user program, reset Bit
2 of the function call
In the user program, reset
OutputData.SetCounter
e
Ready for new
function
The module resets Bit 2 of
the status byte
The module resets Input-
Data.SetCounterDone