SigScale

Function - Get a point from a "Signal" resource

Inputs

ID : DINT    ID of the signal resource, provided by SigID function
IN : TIME    Time (X) coordinate of the wished point within the signal resource

Outputs

Q : REAL     Value (Y) coordinate of the point in the signal

Remarks

The "ID" argument is the identifier of the "signal" resource. Use the SigID function to get this value.

This function converts a time value to a analog value such as defined in the signal resource. This function can be used instead of SigPlay function block if you want to trigger the signal using a specific timer.

ST Language

Q := SigScale (ID, IN);

FBD Language

LD Language

IL Language

Op1: LD       IN
     SigScale ID
     ST       Q

See also

SigPlay   SigID   Signal resources