Chapter 6 Communication functions
192
For example, read the section 0 No. 05 parameter of station number 01H servo drive.
STX ‘:’
ADR
‘0’
‘1’
CMD
‘0’
‘3’
Initial data
position
‘0’
‘0’
‘0’
‘5’
Data
number
‘0’
‘0’
‘0’
‘2’
LRC Check
‘F’
‘5’
End1 ‘0DH’(CR)
End0 ‘0AH’(LF)
LRC calculate process is as follows:
01H+03H+00H+05H+00H+02H=0BH
,
Taking two's complement of OBH is F5H. so LRC is ‘F’, ‘5’.
PTU mode:
PTU mode adopts CRC (Cyclical Redundancy Check) frame check. The following steps
are explaining CRC frame check calculation:
Step 1: Initialize one 16 bits register with content of FFFFH which is called CRC
register.
Step 2: Work the first byte of command information and the low byte of 16-bits CRC
register, and store the result back to CRC register.
Step 3: Check the lowest bit (LSB) of CRC register. If this bit is 0, then move right for
one bit; if this bit is one, the CRC register value moves right for one bit and
then work the XOR (exclusive or operation) with A001H.
Step 4: Go back to step 3 until the step 3 has been executed for eight times, then go to
step 5.
Step 5: Repeats step 2 to step 4 for the next byte of command information, until all the
types have completed the above processing. And the content of CRC register
is CRC frame check.
Explanation: after working out the CRC frame check, in the command information, it needs
to fill the CRC low bit firstly and then fill the CRC high bit. Please refer to the following
Содержание EP3 AC Series
Страница 1: ...Wuhan Maxsine Electric Co Ltd...
Страница 12: ...Chapter 1 Product inspection and installment 2 1 2 Product nameplate...
Страница 16: ...Chapter 1 Product inspection and installment 6...
Страница 39: ...2 5 Standard wiring diagram 29 2 5 Standard wiring diagram 2 5 1 Wiring diagram for position control...
Страница 40: ...Chapter 2 Wiring 30 2 5 2 Wiring diagram for speed or torque control...
Страница 56: ...Chapter 3 Front panel operation 46 6 Turn off and on the power supply then an operation can be performed again...
Страница 57: ...3 7 Resume the parameter default values 47 Remarks...
Страница 124: ...Chapter 4 Running 114 Remarks...
Страница 221: ...198 Chapter 8 Specifications 8 1 Types of servo driver...
Страница 231: ...8 5 Types of servo motor 8 5 Types of servo motor...
Страница 245: ...Edition antecedents Edition number Published time Modify content First edition Janunary 2013 Applies to software version...