SigScalePLCopen motion icon

FunctionClosed A function calculates a result according to the current value of its inputs. A function has no internal data and is not linked to declared instances. - 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

FFLD Language

IL Language

Op1: LDClosed "Ladder diagram" Ladder logic is a method of drawing electrical logic schematics. It is now a very popular graphical language for programming Programmable Logic Controllers (PLCs). It was originally invented to describe logic made from relays. The name is based on the observation that programs in this language resemble ladders, with two vertical "rails" and a series of horizontal "rungs" between them       IN
SigScale ID
ST       Q

See also

SigPlay   SigID   Signal resources