All BASIC commands
Section 4-2
122
/i
Example
In a press feed, a roller is required to rotate at a speed that is equal to
one quarter of the measured rate from an encoder installed on the
incoming conveyor. The roller is wired to the master axis 0. The refer-
ence encoder is connected to axis 1.
BASE(0)
SERVO=ON
CONNECT(0.25,1)
Example
A machine has an automatic feed on axis 1 that must move at a set ratio
to axis 0. This ratio is selected using inputs 0-2 to select a particular
“gear”. This ratio can be updated every 100 ms. Combinations of inputs
select the intermediate gear ratios. For example, 1 ON and 2 ON gives
a ratio of 6:1.
BASE(1)
FORWARD AXIS(0)
WHILE IN(3)=ON
WA(100)
gear = IN(0,2)
CONNECT(gear,0)
WEND
RAPIDSTOP cancel the FORWARD and the CONNECT
Содержание SYSMAC CJ Series
Страница 2: ......
Страница 70: ...Specifications Section 2 4 58...
Страница 84: ...FINS commands Section 3 4 72...
Страница 148: ...All BASIC commands Section 4 2 136 AXIS 1 AXIS 0...
Страница 277: ...Section 265 SECTION 5 Examples This chapter gives 2 categories of examples and tips How to s Practical examples...
Страница 370: ...Section 358...