ASSIGN32
Return to Introduction  Previous page  Next page

 

assign32

 

Assign creates a 32 bits 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 %MD prefix which means a memory double word variable. When a variable is created using ASSIGN32 it is public to the entire net.

It is possible to read the value assigned by an ASSIGN32 object using the RDVAR32 device.

ASSIGN32 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 : RDVAR32