SRC Standard Constants and Variables
Previous Topic  Next Topic 


Standard SRC Source Variables


The Standard Status Relay Controller has 8 discrete inputs and 6 discrete outputs.  Seven of the inputs can be accessed within the DataXchange Expression Builder using the following expression syntax.  The eighth input is used as a part counter.



Variable Name

Syntax

Connect Time

[SRC.connect_time]

Connected Time

[SRC.connected_time]

SRC Input X001

[SRC.X001]

SRC Input X002

[SRC.X002]

SRC Input X003

[SRC.X003]

SRC Input X004

[SRC.X004]

SRC Input X005

[SRC.X005]

SRC Input X006

[SRC.X006]

SRC Input X007

[SRC.X007]

SRC Input X008

[SRC.X008]

SRC Part Count

[SRC.part_count]



All of the variables also have a corresponding Previous variable which will hold the status from the last time a poll took place. 



Variable Name

Syntax

Connect Time (Previous)

[SRC.prev_connect_time]

Connected Time (Previous)

[SRC.prev_connected_time]

SRC Previous Input X001

[SRC.prev_X001]

SRC Previous Input X002

[SRC.prev_X002]

SRC Previous Input X003

[SRC.prev_X003]

SRC Previous Input X004

[SRC.prev_X004]

SRC Previous Input X005

[SRC.prev_X005]

SRC Previous Input X006

[SRC.prev_X006]

SRC Previous Input X007

[SRC.prev_X007]

SRC Previous Input X008

[SRC.prev_X008]

SRC Part Count

[SRC.prev_part_count]



SRC Constants


The SRC Constants are used to identify the state of the input or output.



Constant Name

Syntax

ALTERNATING

[SRC.ALTERNATING]

HIGH

[SRC.HIGH]

LOW

[SRC.LOW]



SRC Target Variables


The SRC has capability to use the outputs with a continuous or a pulsed signal.  The continuous signal will set the any one of the outputs to either the High or Low state.  The pulsed output will set any one of the outputs to a High state for the defined duration in milliseconds, then the output will go to the Low state.



Variable Name

Syntax

SRC Output Y001 Continuous

[SRC.CY001] {state}

SRC Output Y002 Continuous

[SRC.CY002] {state}

SRC Output Y003 Continuous

[SRC.CY003] {state}

SRC Output Y004 Continuous

[SRC.CY004] {state}

SRC Output Y005 Continuous

[SRC.CY005] {state}

SRC Output Y006 Continuous

[SRC.CY006] {state}


The syntax in curly brackets is information that must be replaced.  In this case, {state} needs to be replaced with either H or L.

Here's an example of what the user will replace the built in syntax with:


SRC.CY002{H}



Variable Name

Syntax

SRC Output Y001 Pulse

[SRC.PY001] {ms}

SRC Output Y002 Pulse

[SRC.PY002] {ms}

SRC Output Y003 Pulse

[SRC.PY003] {ms}

SRC Output Y004 Pulse

[SRC.PY004] {ms}

SRC Output Y005 Pulse

[SRC.PY005] {ms}

SRC Output Y006 Pulse

[SRC.PY006] {ms}


The syntax in curly brackets is information that must be replaced.  In this case, {ms} needs to be replaced with the length of the pulse in milliseconds.

Here's an example of what the user will replace the built in syntax with:


SRC.PY002{5000}