13.4 Programmed Operation
13.4.3 Block Command Details
13
DeviceNet Communications
13-25
Conditional Link Greater Than Command
If the value of the specified attribute is greater than or equal to the value of the Compare Data
attribute, execution will branch to the block that is specified in the Compare Link Number attri-
bute. If the value of the specified attribute is smaller than the value of the Compare Data attri-
bute, execution will branch to the block that is specified in the Link Number attribute.
The following table gives the attributes that can be compared.
The following table gives the data format of the Conditional Link Greater Than command.
* If the link number is 0, the block is the final block in the sequence.
Conditional Link Less Than Command
If the value of the specified attribute is smaller than or equal to the value of the Compare Data
attribute, execution will branch to the block that is specified in the Compare Link Number attri-
bute. If the value of the specified attribute is larger than the value of the Compare Data attri-
bute, execution will branch to the block that is specified in the Link Number attribute.
The following table gives the attributes that can be compared.
The following table gives the data format of the Conditional Link Less Than command.
* If the link number is 0, the block is the final block in the sequence.
Class Instance Attribute Description of Attribute
0x25 1 13 Current position (reference units)
0x25 1 15 Reference position (reference units)
0x26 16Counter
Attribute Name Data Type Description of Attribute
1
Block Command
Code
USINT Code = 0x03
2Link NumberUSINT
Number of the next command block to exe-
cute if the value of the attribute is smaller
than the value of the Compare Data attri-
bute*
3Target ClassUSINT Class of attribute to compare
4 Target Instance USINT Instance ID of attribute to compare
5 Attribute Number USINT ID of attribute to compare
6
Compare Link Num-
ber
USINT
Number of the next command block to exe-
cute if the value of the attribute is larger than
the value of the Compare Data attribute
7Compare DataDINT Value to compare
Class Instance Attribute Description of Attribute
0x25 1 13 Current position (reference units)
0x25 1 15 Reference position (reference units)
0x26 16Counter
Attribute Name Data Type Description of Attribute
1 Block Command Code USINT Code = 0x04
2Link NumberUSINT
Number of the next command block to
execute if the value of the attribute is
larger than the value of the Compare
Data attribute*
3 Target Class USINT Class of attribute to compare
4 Target Instance USINT Instance ID of attribute to compare
5 Attribute Number USINT ID of attribute to compare
6 Compare Link Number USINT
Number of the next command block to
execute if the value of the attribute is
smaller than the value of the Compare
Data attribute
7Compare DataDINT Value to compare