EasyManua.ls Logo

COTRUST CTH200 Series - Page 231

COTRUST CTH200 Series
350 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
CTH200 Series PLC User Manual
221
STATUS
OUT
Output status byte:
Bit0: parameter configuration error
sign
1—parameter configuration error
0—parameter configuration normal
Bit1: Run sign
1—Running
0—Do not run
Bit2: Completion sign
1—Instruction execution completed
0—Instruction execution do not
completed
Bit3: Busy sign
1—Valid, the axis occupied by other
instruction
0—Invalid, executing instruction or
execution done.
7
6
5
4
3
2
1
0
BYTE
0~255
Bit0:
1 Judge Only to
axis parameter
2 No error
reported for other
parameters, it will
set to the nearest
reasonable value
automatically.
3 Report
parameter failure
if TA=0 and the
maximum
acceleration is
not set; TD the
same
ACT
_SPEED
OUT
Current actual speed
Dword
0~200000
Software back to zero instruction
① Function name: MC_SET_POS_ZERO
② Function: Reset absolute coordinate
Note: Call the instruction when the machine moves to a certain position, which is equivalent to
setting the origin of the axis at that position. Each time you call the "read absolute coordinates"
command, you get a coordinate value relative to that point.
③ Parameter
Name
I/O
Description
Type
Value range
Note
SET
IN
Enable reset bit
Set absolute coordinate 0
at SET rising edge, set
SET bit 0, then set 1 for
each call
Bool
Range: 0~1
AXIS_NO
IN
Set axis number: 0/1/2/3
Byte
Range: 0~3

Table of Contents