All BASIC commands
Section 4-2
246
4-2-218 SERVO_PERIOD
/i
/i
/i
!Caution
When the parameter has been set, a power down or software reset (using
EX
) must be
performed for the complete system. Not doing so may result in undefined behaviour.
4-2-219 SET_BIT
/i
Type
System parameter
Syntax
SERVO_PERIOD
Description
The
SERVO_PERIOD
parameter sets the servo cycle period of the
CJ1W-MCH72. The timing of the execution of the program tasks and
the refreshing of the control data and I/O of the Unit are all depending
on this setting. The parameter is defined in microseconds. The CJ1W-
MCH72 can be set in either 0.5, 1.0, 2.0 or 4.0 ms servo cycle. See the
table below. The controller must be reset before the new servo period
will be applied.
Value
Description
500
0.5 ms
1000
1.0 ms
2000
2.0 ms
4000
4.0 ms
Arguments
N/A
Example
No example.
See also
EX.
Type
System command
Syntax
SET_BIT(bit_number, vr_number)
Description
The
SET_BIT
command sets the specified bit in the specified VR varia-
ble to one. Other bits in the variable will keep their values.
Arguments
•
bit_number
The number of the bit to be set. Range: [0,23].
•
vr_number
The number of the VR variable for which the bit is set. Range:
[0,1023].
Example
No example.
See also
CLEAR_BIT
,
READ_BIT
,
VR
.
Содержание 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...