13.4 Programmed Operation
13.4.3 Block Command Details
13-24
13.4.3
Block Command Details
Attribute Change Command
Use the Attribute Change command to change the value of an attribute. You can change the
values of only the attributes that are listed in the following table. No other attributes can be
changed.
The table that is provided below gives the data format for the Attribute Change command.
* If the link number is 0, the block is the final block in the sequence.
Wait Equals Command
The Wait Equals command stops the execution of a sequence of blocks until the value of a
specified attribute equals a set value. When the specified attribute equals the set value, the
block will end and the next linked block will be executed.
The following table gives the attributes that can be compared.
* If the link number is 0, the block is the final block in the sequence.
Class Instance Attribute Description of Attribute
0x25 1 8 Acceleration rate
0x25 1 9 Deceleration rate
0x26 1 6 Counter
Attribute Name Data Type Description of Attribute
1 Block Command Code USINT Code = 0x01
2Link NumberUSINT
Number of the next command block to
execute*
3Target ClassUSINT Class of attribute to change
4 Target Instance USINT Instance ID of attribute to change
5 Attribute Number USINT ID of attribute to change
6 Attribute Value DINT New value of attribute to change
Class Instance Attribute Description of Attribute
0x25 1 13 Current position (reference units)
0x25 1 15 Reference position (reference units)
Attribute Name Data Type Description of Attribute
1 Block Command Code USINT Code = 0x02
2Link NumberUSINT
Number of the next command block to
execute*
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 timeout value DINT
If the values do not match within the set
time, a timeout will occur.
Setting range: 0 to 0x7FFFFFFF
Unit: ms
Set the timeout value to 0 to wait indefi-
nitely.
7Compare valueDINT Value to compare to value of attribute