Time recording system for employees
Couldn't load pickup availability
Description
You're looking for an SCL function block for securely recording arrival and departure bookings for up to ten employees using RFID ID. Edge detection, ID validation, status LEDs, and text messages are included, as is comprehensive error handling. Runs directly in the Siemens TIA Portal.
Note: All modules are designed exclusively as a learning and optimization basis and are not approved for live operation. System modules, in particular, must be finally tested and commissioned by qualified personnel before productive use.
How it works
- Emergency stop test: LEDs off, alarm flag set, error message output
- Edge detection for come and go buttons plus RFID ID recognition
- With a valid and not yet registered ID + coming edge → save booking, activate LED, output confirmation text
- On go edge and logged in ID → log off, save timestamp, change LED
- Failed attempt (e.g. “Unknown ID”, “Already logged in”, “Not logged in”) → precise error message and alarm flag
Technical details
• Array comparison of recognized IDs with predefined IDs and separate login array
• Time stamp arrays for each employee for arrival and departure
• Edge detectors ensure one-time triggering per keystroke
• LEDs (TRUE/FALSE) and text status (string) as outputs
• Error and alarm flags depending on ID verification, double entry or logout without login
• Emergency stop branch with highest priority
Possible applications
• Time recording in small offices, workshops or production rooms
• Training projects on RFID readers, edge detection and array processing
• Expansion or integration into larger human resources management systems
compatibility
• Siemens S7-1200 and S7-1500
• TIA Portal V13 or higher; recommended V16+ with PLCSIM for HMI tests
Scope of delivery
• .scl file with input/output declarations, internal ID arrays, edge detectors and timestamp variables
• Comments explain configuration of the number of employees, button inputs, LEDs and text messages
• Instant download link after purchase
Support
I can adjust the number of employees, additional RFID types, or HMI touch panels for you, and provide support with DB integration. Contact me anytime via email or shop support.