Festo Контроллер позиционирования CPX-CMAX User Manual
Page 111

4. Commissioning
4−33
Festo P.BE−CPX−CMA X−SYS−EN en 0908NH
2. Step: Specify setpoint values
Allocation of the control bytes (step 2)
Bit
B7
B6
B5
B4
B3
B2
B1
B0
CCON
OPM2
OPM1
LOCK
ć
RESET
BRAKE
STOP
ENABLE
Byte 1
0
1
0
0
0
1/0
1
1
CPOS
ć
CLEAR
TEACH
JOGN
JOGP
HOM
START
HOLD
Byte 2
0
0
0
0
0
0
0
0
CDIR
ć
FAST
XLIM
VLIM
CONT
COM2
COM1
ABS
Byte 3
0
1
0
0
0
0
0
0
Secondary
setpoint
Byte 4: Setpoint value of the speed: in percentage of the specified value Speed in direct
mode" (PNU540): 70%
Z 46h Z 0100 0110b
Primary
setpoint
Byte 5 ... 8: Setpoint value of the position in the configured system of units (metric/linear):
70 mm
Z 7000 Z 00001B58h Z 0000 0000 0000 0000 0001 1011 0101 1000b
No change in the status bytes:
Allocation of the status bytes (step 2)
Bit
B7
B6
B5
B4
B3
B2
B1
B0
SCON
OPM2
OPM1
FCT_MMI
24VL
FAULT
WARN
OPEN
ENABLED
Byte 1
0
1
0
1
0
0
1
1
SPOS
REF
STILL
DEV
MOV
TEACH
MC
ACK
HOLD
Byte 2
1
x
x
x
x
x
0
0
SDIR
ć
FAST
XLIM
VLIM
CONT
COM2
COM1
ABS
Byte 3
x
x
x
x
x
x
x
x
Secondary
actual
value
Byte 4: Acknowledgement of the actual value of the speed in percentage of the set value
Speed in direct mode" (PNU540).
Primary
actual
value
Byte 5 ... 8: Acknowledgement of the actual value of the position or force in the
configured system of units.
After setting the setpoint values, wait at least 1 bus cycle
(recommendation: 1 PLC cycle) so that the setpoint values
have definitely been transmitted to the CMAX before starting.