ASSIGN
Return to Introduction  Previous page  Next page

 

assign

 

Assign creates a variable in memory and uncoditionally assigns to it the value present at component input pin.

The associated variable name is specified in the REFERENCE parameter. LadderWORK ARM software handles integer unsigned 16/32 bits variables.As written in IEC / CEI 1131-3 specification, we suggest, for this kind of variable, the use of the standard %MW prefix which means a memory word variable. When a variable is created using ASSIGN it is public to the entire net.

It is possible to read the value assigned by an ASSIGN object using the READVAR device.

ASSIGN transfer without changes the value present on its input pin to the output pin.

 

Property settings

 

Parameter

Description



REFERENCE

This parameter specify the name of the variable

       

Net plugs

 

Plug

Description



IN

Value that will be assigned to the variable

 

 

OUT

This pin gives the same value of the input pin

 

See also : READVAR