100
Procedures Section 3-2
2. Set the source address from which to pass the address data to the input
variable. Also set the destination address to which the address data will be
passed from the output variable.
Note Set the data in all the input parameters. If even a single input parameter
remains blank, the left bus bar for the instance will be displayed in red to indi-
cate an error. If this happens, the program cannot be transferred to the CPU
Unit.
Inputting Values in Parameters
The following table lists the methods for inputting values in parameters.
Instance name
Function block definition
Press the P Key with the cursor on the left
of the instance. The New Parameter
Dialog Box will be displayed.
Input the address from which to pass data
to the input variable.
The value of 001 is passed to input
variable aaa.
Input variable data
type
Content Size Input method Setting range
BOOL Bit data 1 bit P_Off, P_On 0 (FALSE), 1 (TRUE)
INT Integer 16 bits Positive value: & or + followed
by integer
Negative value:
− followed by
integer
−32768 to +32767
DINT Double integer 32 bits
−2147483648 to +2147483647
LINT Long (4-word) inte-
ger
64 bits
−9223372036854775808 to
+9223372036854775807
UINT Unsigned integer 16 bits Positive value: & or + followed
by integer
&0 to 65535
UDINT Unsigned double
integer
32 bits &0 to 4294967295
ULINT Unsigned long (4-
word) integer
64 bits &0 to 18446744073709551615