![YOKOGAWA F3YP14-0N User Manual Download Page 74](http://html1.mh-extra.com/html/yokogawa/f3yp14-0n/f3yp14-0n_user-manual_910940074.webp)
7-19
IM 34M6H55-02E
1st Edition : Apr 1, 2002-00
7.1.7 Set Current Position
The Set Current Position command changes the current position of an axis in the End of
Positioning status.
z
z
z
z
Conditions for Command Execution:
- The axis is not in an error state.
- The axis is in the End-of-Positioning status.
- No other command is being executed.
z
z
z
z
Note:
- If any of the conditions is not satisfied, the command is ignored and the Command
Execution ACK relay is not set. If the command is issued when the axis is in an
error state or not in the End-of-Positioning status, an alarm code is written to the
alarm status. The alarm code is automatically cleared when the Execute Command
output relay is reset. For details on alarm codes, see Section 8.3, “Alarm Codes.”
- The new position must fall between the positive-direction limit and the negative-
direction limit. An error occurs if a request is made to change the current position
beyond the limits of the range.
z
z
z
z
Procedure:
1
.
Set the Target Position parameter in the positioning module to the new target
position value and set the command code to 4 using a WRITE instruction or any
appropriate instruction.
2
.
Set the Execute Command output relay.
3
.
Reset the Execute Command output relay after confirming that the Execute
Command ACK input relay is set. If there is an entry parameter error, the Error
Notification input relay will be set but the Execute Command ACK input relay will not
be set.
4
.
Check that the Execute Command ACK input relay is reset.
z
z
z
z
Sample Program:
This is an example to set the current position. All required parameters are preset in the
data registers.
Major devices used
D00541 Command
code
D00542
Area for non-required parameters
D00543/D00544
Target position (new current position)
D00589
Alarm code storage device
Y00433
Execute Command output relay
X00401
Execute Command ACK input relay
X00417
Error Notification input relay
X00425
End of Positioning input relay
I00099
Command execution prohibit condition (to be set elsewhere)
I00141
Request to write current position
I00142
Request to write current position (rising edge)
I00143
Waiting for Execute Command ACK
I00144 Command
executing
Summary of Contents for F3YP14-0N
Page 13: ...Blank Page ...
Page 15: ...Blank Page ...
Page 23: ...Blank Page ...
Page 53: ...Blank Page ...
Page 60: ...7 5 IM 34M6H55 02E 1st Edition Apr 1 2002 00 Figure 7 2 Set Parameter Program ...
Page 65: ...7 10 IM 34M6H55 02E 1st Edition Apr 1 2002 00 Figure 7 6 Jog Stepping Program ...
Page 69: ...7 14 IM 34M6H55 02E 1st Edition Apr 1 2002 00 Figure 7 9 Origin Search Program ...
Page 77: ...7 22 IM 34M6H55 02E 1st Edition Apr 1 2002 00 Figure 7 15 Positioning Operation Program ...
Page 111: ...Blank Page ...
Page 127: ...Blank Page ...