CHAPTER 13 RS-485 COMMUNICATIONS
Modbus RTU Communications 13-25
13
Immediate value data
The immediate value status of immediate data is configured as follows:
Configuration Format (default value)
Immediate value
status 1 byte Refer to [Table 13-5].
Immediate value
M code 1 byte 0-FFh (FFh)
Data 4 bytes
Not used 2 bytes 00h fixed
[Table 13-5] Immediate
value
status
Bit Item Description Default value
5 M code output timing 0: Output during
start up
1: Output after positioning
completion
0
4 M code selection 0: Disable 1: Enable 0
0 Command method 0: ABS 1: INC 1
Others Not used 0 fixed 0
Positioning data(batch)
Positioning data are 20 bytes long for each set, organized as follows:
Configuration Format, setting range (default value)
Positioning status 1 byte Refer to [Table 13-6].
M code 1 byte 0-FFh (FFh)
(H) Stop timer 2 bytes
(L)
1h = 0.01 ms (*)
0.00-655.35 (0.00)
(HH)
(HL)
(LH)
Stop position 4 bytes
(LL)
1h = 1 unit
0 - ±2000000000 (0)
(HH)
(HL)
(LH)
Rotation speed 4 bytes
(LL)
1h = 0.01 r/min
0.01 - Max. rotation speed (0.01)
(HH)
(HL)
(LH)
Acceleration time 4 bytes
(LL)
(HH)
(HL)
(LH)
Data
20
bytes
Deceleration time 4 bytes
(LL)
1h = 0.1 ms
0.0 - 99999.9 (0.0)
(*) By setting PA2_42 (stop timer decimal point position), 0 and 1 indicate 0.01 ms
and 0.001 ms, respectively.
[Table 13-6] Positioning status
Bit Item Description Default value
5 M code output timing 0: Output during
startup
1: Output after
positioning completion
0
4 M code
Selection
0: Disable 1: Enable 0
2,1 Step mode 0,0: No specification
0,1: Data continuation (CO)
1,0: Cycle end (CEND)
1,1: Setup impossible
0,0
0 Command method 0: ABS 1: INC 1
Others Not used fixed to 0 0