Instruction Manual
326 Publication 1753-UM001C-EN-P - March 2010
Appendix B System Signal Variables
Counter Module Variables for GuardPLC 1800 Controllers
The GuardPLC 1800 controllers support these counter parameters.
I/O Data Read/Write Description
Module.SRS Read Slot number (System.Rack.Slot)
Module.Type Read Module type
0x0003 high speed counter module for GuardPLC 1800 controllers
Module.Error.Code Read Error mask for the module
0x0000 I/O processing may be running with errors
0x0001 No I/O processing (CPU not in RUN)
0x0002 No I/O processing during start-up tests
0x0004 Manufacturing interface running
0x0010 No I/O processing due to incorrect configuration
0x0020 No I/O processing due to exceeded fault rate
0x0040 No I/O processing because configured module is not plugged in
Cnt.Error Code Read Error mask of counter module
0x0001 Error in module
0x0002 Error comparing the time base
0x0004 Address error reading the time base
0x0008 Parameters for the time base are faulty
0x0010 Address error reading the counter content
0x0020 Configuration of counter damaged
0x0040 Address error reading the Gray Code
0x0080 FTZ test of the test pattern failed
0x0100 FTZ test, error checking the coefficients
Cnt[0x].Error Code
(1)
Read Error mask of counter channels 1 and 2
0x01 Error in counter module
0x02 Error comparing contents of counters
0x04 Error comparing the timestamps of the counters
0x08 Error setting the parameters (reset)
Cnt[0x].Value
(1)
Read Content of counters: 24-bit for pulse counter, 3-bit for Gray Code
Cnt[0x].Timestamp
(1)
Read Time stamp for Cnt[0x].Value 24-bit, time resolution 1μs
Cnt[0x].Value Overflow
(1)
Read Counter overflow indication
True 24-bit overflow since last measurement
(only if Cnt[0x].Auto Advance Sense = False)
False No overflow since last cycle