Topic: P236

System Tags

Description

The following System Tags are included in the Productivity Suite Programming Software. The Table provided below contains all the Tags organized by their Purpose. The following are the

Tags included in the Table:

You may use this Table for reference or to view Tables organized by Type, see any of the following Tables, which are included in this Chapter.


Tag Purpose

CPU Tag Name

Type

System ID

Description

Update Interval

Run/StopTags

CPU in Run

Bit

SBR-001001

On during Run or Debug mode.

Event Based

Switch in Run

SBR-001010

On when CPU Switch is Up (RUN).

Switch in Stop

SBR-001011

On when CPU Switch is Down (STOP).

Various

Boolean Tags

Portable Memory Device Ready

Bit

SBR-000001

Portable storage is installed and ready to use. On is Ready, Off is Not Ready.

Event Based

Always Off Bit

SBR-001002

Always Off Bit.

Portable Memory Device Eject

SBRW-001006

Users set to 1 (ON) to eject and the system reset to 0 as eject is completed.

 

Note: The portable memory device must be removed and reinserted to reactivate the writing device.

 

Note: Should be used before removing a device to ensure all data is written to the drive prior to removal.

Event Based

Note: System will reset to a low state when eject is completed.

Forces Enabled

SBR-001007

On when any forces are enabled in the CPU.

Event Based

I/O Error

SBR-001014

On if any module status bits are set (such as blown fuse).

Watchdog Timeout

SBR-001016

On if actual scan time has exceeded the Maximum Scan Interval setting in Hardware Configuration.

Battery Tags

Battery Low Bit

Bit

SBR-001005

On if the battery is low: 2.3 Vdc or less ("CPU Battery Alarm" in H/W Configuration).

Event Based

Battery Disabled

SBR-001006

On when "CPU Battery Alarm" is Disabled in Hardware Configuration. Status only indicates whether or not the low battery alarm will appear in the Non-Critical error history and has no effect on “Battery Low Bit” status.

Battery Voltage

Word

SWR-001518

Voltage in units of 0.1 volts.

1sec.

CPU and Project Tags

CPU Model Name

String

SSTR-000101

CPU Model (ex: "P3-550").

Event Based

Firmware Version

Word

SWR-001509

CPU Firmware Version Number in Hex (ex: 0x0102 is version 01.02 or 1.2).

CPU Program File Name

String

SSTR-000102

CPU Program File Name.

Firmware Version (CPU)

SSTR-000104

CPU firmware version, will be viewed as 001.000.009.023

Program Memory Size

Word

SWR-001512

Current percentage of CPU memory used by the project.

Ethernet Speed [External]

SWR-001526

"Ethernet" port speed (Ethernet 10 or 100).

Ethernet Speed [Internal]

SWR-001527

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

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)

 

Tag Purpose

CPU Tag Name

Type

System ID

Description

Update Interval

Scan Tags

First Scan Bit

Bit

SBR-001003

On during first scan in Run or Debug mode.

Every Scan

Every Other Scan

SBR-001004

Toggles at the start of each scan.

Last Logic Scan Time [x100=μsec]

Word

SWR-001504

Most recent logic scan time.

Last Scan Interval [x100=μsec]

SWR-001501

Most recent overall scan time.

Avg Logic Scan Time [x100=μsec]

SWR-001506

Average logic scan time over the last one second.

1sec.

Avg Scan Interval [x100=μsec]

SWR-001503

Average scan time over the last one second.

Peak Logic Scan Time [x100=μsec]

SWR-001505

Longest logic scan time since going to Run.

Peak Scan Interval [x100=μsec]

SWR-001502

Longest scan time since going to Run.

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).

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

I/O Configuration Tags

I/O Configuration Error

Bit

SBR-001015

I/O does not match last configuration given to CPU.

Event Based

Current I/O Config Error Group

Word

SWR-001515

I/O group in which "I/O Configuration Error" occurred (GxxxBxxxSxxx).

Current I/O Config Error Base

SWR-001516

I/O base in which "I/O Configuration Error" occurred (GxxxBxxxSxxx).

Current I/O Config Error Slot

SWR-001517

I/O slot in which "I/O Configuration Error" occurred (GxxxBxxxSxxx).

Identify Module Group Number

SWRW-001757

Group number of module to be identified (See "Requested Module Name" tag).

Identify Module Base Number

SWRW-001758

Base number of module to be identified (See "Requested Module Name" tag).

Identify Module Slot Number

SWRW-001759

Slot number of module to be identified (See "Requested Module Name" tag).

Identify Module Request bit

Bit

SBRW-001005

Set On to refresh "Requested Module Name" tag per the 3 "Identify" GBS tags.

1sec.

Requested Module Name

String

SSTR-000103

Name of specified module (see "Identify Module Request bit") Updated when the Request bit is Reset by the CPU.

Event Based

Array Error Tags

Array out of range error

Bit

SBR-001017

On if an array index used with an array tag is out of range for the array size.

Event Based

Array range error task location

Word

SWR-001513

Task Number in which "Array out of range error" occurred.

Array range error rung location

SWR-001514

Rung Number in which "Array out of range error" occurred

 

Tag Purpose

CPU Tag Name

Type

System ID

Description

Update Interval

Time Tags

2 Second Bit

Bit

SBR-001009

On for 1 second and Off for 1 second.

1sec.

1 Minute Bit

SBR-001008

On for 30 seconds, Off for 30 seconds.

Clock Year

Word

SWR-001525

Real Time Clock Calendar Year.

Clock Month

SWR-001524

Real Time Clock Calendar Month.

Clock Day

SWR-001523

Real Time Clock Calendar Day.

Clock Day of Week

SWR-001522

Current Real Time Clock Day of the week (1=Mon ...7=Sun)

Clock Hours

SSWR-001521

Real Time Clock Hours.

Clock Minutes

SWR-001520

Real Time Clock Minutes.

Clock Seconds

>SWR-001519

Real Time Clock Seconds.

Clock Year Set

SWRW-001756

Real Time Clock Year (set all 3 date values then set "Initiate_New_Date" on).

Event Based

Clock Month Set

SWRW-001755

Real Time Clock Month (set all 3 date values then set "Initiate_New_Date" on).

Clock Day Set

SWRW-001754

Real Time Clock Day (set all 3 date values then set "Initiate_New_Date" on).

Clock Hours Set

SWRW-001753

Real Time Clock Hours (set all 3 time values then set "Initiate_New_Time" on).

Clock Minutes Set

SWRW-001752

Real Time Clock Minutes (set all 3 time values then set "Initiate_New_Time" on).

Clock Seconds Set

SWRW-001751

Real Time Clock Seconds (set all 3 time values then set "Initiate_New_Time" on).

Initiate_New_Date

Bit

SBRW-001002

Set On to change clock date (see "Clock Year Set" tag).

1sec.

Initiate_New_Time

SBRW-001001

Set On to change clock time (see "Clock Hours Set" tag).

Log Tags

CPU Event Log String

 01 - 20  

String

SSTR-000041 -

SSTR-000060

CPU Event Log in String format with extended information.

Event Based

Current Critical Error Word

SWR-001510

Current Critical Error Number.

Critical Error Bit  

Bit

SBR-001012

On when a Critical Error is active.

Number of Critical Errors

Word

SWRW-000251

Total count of Critical Errors.

Critical Error Log 01 - 20

SWR-000001

Logs of the last 20 Critical Error Numbers.

Critical Error Log String

01 - 20

String

SSTR-000001 -

SSTR-000020

Logs of the last 20 Critical Error Numbers as Strings with extended information.

Refresh Critical Error Log  

Bit

SBRW-001003

Refresh the Critical Error Log.

1sec.

Current Non-critical Error

Word

SWR-001511

Current Non-Critical Error Number.

Event Based

Non-critical error Bit

Bit

SBR-001013

On when a Non-Critical Error is active.

Number of Non-critical Errors

Word

SWRW-000252

Total count of Non-Critical Errors.

Noncritical Error Log

01 - 20

SWR-000021

Logs of the last 20 Non-Critical Error Numbers.

Noncritical Error Log String

01 - 20  

String

SSTR-000021 -

SSTR-000040

Logs of the last 20 Non-Critical Error Numbers as Strings with extended information.

Refresh Non-Critical Error Log

Bit

BRW-001004

Refresh the Non-Critical Error Log.

1sec.