Topic: P239

System Word - Read Only Tags (SWR)

The following System Word - Read Only Tags are included in the Productivity Suite Programming Software.  The Table provided below contains all the System Word - Read Only Tags organized by their System ID.

You may also view All the System Tags organized by their Purpose by selecting any of the following buttons.


CPU Tag Name

Type

System ID

Description

Update Interval

Critical Error Log 01 - 20

Word

SWR-000001 to

SWR-000020

Logs of the last 20 Critical Error Numbers.

Event Based

Noncritical Error Log 01 - 20

SWR-000021 to

SWR-000040

Logs of the last 20 Non-Critical Error Numbers.

Last Scan Interval [x100=µsec]

SWR-001501

Last scan time.

Every Scan

Peak Scan Interval [x100=µsec]

SWR-001502

Longest scan time since going to Run.

1sec.

Avg Scan Interval [x100=µsec]

SWR-001503

Average scan time over the last one second.

Last Logic Scan Time [x100=µsec]

SWR-001504

Last logic scan time.

Every Scan

Peak Logic Scan Time [x100=µsec]

SWR-001505

Longest logic scan time since going to Run.

1sec.

Avg Logic Scan Time [x100=µsec]

SWR-001506

Average logic scan time over the last one second.

Total Scan Count1

SWR-001507

Total number of scans since power cycle or run transition (S32 Low Word).

Total Scan Count2

SWR-001508

Total number of scans since power cycle or run transition (S32 High Word).

Firmware Version

SWR-001509

Indicates version of Firmware. Viewed as hex. Firmware version 1.2.3.4 would appear as 0x0102.

Event Based

Current Critical Error

SWR-001510

Current Critical Error Number.

Current Non-critical Error

SWR-001511

Current Non-Critical Error Number.

Program Memory Size

SWR-001512

Shows current percentage of memory used in loaded project.

Array range error task location

SWR-001513

The task number which contains the array out of range error.

Array range error rung location

SWR-001514

The rung number of the task.

Current I/O Config Error Group

SWR-001515

Group configuration error (GxxxBxxxSxxx).

Current I/O Config Error Base

SWR-001516

Base configuration error (GxxxBxxxSxxx).

Current I/O Config Error Slot

SWR-001517

Slot configuration error (GxxxBxxxSxxx).

Battery Voltage

SWR-001518

Voltage in units of 0.1 volts.

1sec.

Clock Seconds

SWR-001519

Real Time Clock Seconds.

Clock Minutes

SWR-001520

Real Time Clock Minutes.

Clock Hours

SWR-001521

Real Time Clock Hours.

Clock Day of Week

SWR-001522

Real Time Clock Day of the week (7=Sun, 1=Mon, 2=Tues, etc…).

Clock Day

SWR-001523

Real Time Clock Calendar Day.

Clock Month

SWR-001524

Real Time Clock Calendar Month.

Clock Year

SWR-001525

Real Time Clock Calendar Year.

Ethernet Speed [External]

SWR-001526

Ethernet speed (10 or 100) "Ethernet".

Event Based

Ethernet Speed [Internal]

SWR-001527

Ethernet speed (10 or 100) "Remote I/O".

Firmware Version (Major)

SWR-001528

CPU firmware Major version number in hex. (ex: 0x0100 = major version 1.0)

Firmware Version (Minor)

SWR-001529

CPU firmware Minor version number in hex. (ex: 0x0917 = minor version 9.23)

First Scan Interval [x100=μsec]

SWR-001530

Holds the value of the First Scan Time.

Note: On the first scan the CPU conducts additional housekeeping and initialization checks. Therefore an additional 500 msec. is added to the Maximum Scan Interval time set by the user in the hardware configuration window.
Example: Maximum Scan Interval (default = 500 msec.) + 500 msec. (housekeeping) = 1000 msec. (maximum allowed first scan time)

End of first scan