4 set counter status, 5 monitor limit value, Set counter status – Pilz PSSu E S INC 24V se User Manual
Page 19: Monitor limit value

Function description
Operating Manual PSSu E S INC 24V se(T)
1001380EN03
19
4.1.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.
b
PIO
PII
c
d e
a
Legend:
}
PIO: Bit 2 of the function call in the process image of outputs or I/O data Out
putData.SetCounter
}
PII: Bit 2 of the status byte in the process image of inputs or I/O data In
putData.SetCounterDone
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 In
putData.SetCounterDone; In
putData.Underflow and In
putData.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 In
putData.SetCounterDone
4.1.5.5
Monitor limit value
The module's output O0 is switched when a limit value is reached. The status of the output
("0" or "1") is defined with a polarity bit.
The function must first be activated via an enable bit.