1 minute read
dnet_flt_pm
dnet_flt_pm
SYNTAX:
PARAMETERS:
Name Description Range Type Allowed
value The declared integer value to use for a IF DeviceNet parameter.
text_label Label of a text string to describe the parameter, T string length is 16 characters maximium..
default Default value for the assigned parameter. IEE754 double FC floating-point
DESCRIPTION:
This instruction must reside in a program between a begin_cfg and end_cfg instruction at the top of a MacroProgram.
Assigns a parameter to the DeviceNet programmable Parameter Object of the controller. The parameter assigned is the instance of the Float Object associated with the float value argument of the instruction. During instruction execution the MacroProgram variable shall be given the default value of the instruction.
Instances of the Parameter Object are arranged in the order of which they are assigned in a program. No more than 16 assignments may be made in a program, in that their can only be 16 instances of the Parameter Object. That includes assignments from instructions dnet_flag_pm and dnet_intg_pm.
IMPORTANT: The dnet_range instruction should be executed prior to this instruction, so that the parameter may be written to over the DeviceNet port if desired. Otherwise the parameter shall have a READ ONLY attribute.
RETURNS:
None.