GSK218M CNC System Connection and PLC Manual
49
position and the goal position is to be calculated, specify INC=1 and
POS=0.
Execution instruction (ACT):
ACT= 0
:
the ROT instruction is not executed. W does not change.
ACT
=
1
:
executed. Normally, set ACT=0. If the operation results are
required,set ACT=1.
Parameter:
S1
:
specify the rotor indexing number.
S2
:
specify the address storing the current position.
S3
:
specify the address storing the goal position(or instruction value), for example the
address storing the CNC output T code.
S4
:
calculate the nuber of steps for the rotor to rotate, the number of steps up to the
position one position before, or the position before the goal. When the
calculating result is to be used, always check that ACT=1.
Output:
W: The direction of rotation for control of rotation via the shorter path is output to W. When
W=0, the direction is forward (FOR) when 1, reverse (REV). The definition of FOR and
REV is shown in the following figure. If the number given to the rotor is ascending, the
rotation is FOR; if descending, REV. The address of W can be determinded arbitrarily.
When, however, the result of W is to be used, always check that ACT=1.
Example:
Rotor rotation direction:
Backward
Forward
Current position
Position A
Position B
Position C
Position D
Summary of Contents for 218M
Page 3: ...GSK 218M CNC System Connection and PLC Manual...
Page 15: ...GSK218M CNC System Connection and PLC Manual 12 Volume one Programming...
Page 70: ...GSK218M CNC System Connection and PLC Manual 67 Volume Two Function...
Page 140: ...GSK218M CNC System Connection and PLC Manual 137 Volume Three Operation...
Page 160: ...GSK218M CNC System Connection and PLC Manual 157 Volume Four Connection...