![YOKOGAWA F3YP14-0N User Manual Download Page 92](http://html1.mh-extra.com/html/yokogawa/f3yp14-0n/f3yp14-0n_user-manual_910940092.webp)
7-37
IM 34M6H55-02E
1st Edition : Apr 1, 2002-00
7.2.1 Reading Module Statuses
This section explains how to read the status of the positioning module.
z
z
z
z
Note:
- The status of the positioning module can be read at any time. Use the ENTER
instruction to read the status.
- 2-word data status, such as the current position or current speed status, must be
read as two separate integer variables. Take care when reading long-word data.
See Chapter 5, “Status”.
z
z
z
z
Sample Program:
This sample program uses the ENTER instruction to read all the statuses.
It then converts 2-word data into long-word data and converts the speed data to
[pulses/s].
100 ENTER SL,81 NOFORMAT;I081
110 ENTER SL,82 NOFORMAT;I082
120 ENTER SL,83 NOFORMAT;I083
130 ENTER SL,84 NOFORMAT;I084
140 ENTER SL,85 NOFORMAT;I085
150 ENTER SL,86 NOFORMAT;I086
160 ENTER SL,87 NOFORMAT;I087
170 ENTER SL,88 NOFORMAT;I088
180 ENTER SL,89 NOFORMAT;I089
190 ENTER SL,90 NOFORMAT;I090
200 ENTER SL,91 NOFORMAT;I091
210 ENTER SL,92 NOFORMAT;I092
220 ENTER SL,93 NOFORMAT;I093
230 L081=VAL("$"+HEX$(I082)+HEX$(I081))
240 L083=VAL("$"+HEX$(I084)+HEX$(I083))
250 L085=VAL("$"+HEX$(I086)+HEX$(I085))
260 L092=VAL("$"+HEX$(I093)+HEX$(I092))
270 D085PPS=L085/65.536
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 ...