![SMC Networks LECPMJ Series Operation Manual Download Page 40](http://html1.mh-extra.com/html/smc-networks/lecpmj-series/lecpmj-series_operation-manual_1299638040.webp)
- 39 -
9.5 Data editing function
A
function to read and write the step data and number of occupied stations in the controller’s built-in
microcomputer as well as read the state data to/from CC-Link. Please refer to the instruction manual for
the teaching box, or to the controller setting software for details of the function for editing the step data and
other items.
Please refer to
“9.5 Data editing function"
for setting Sub Function (Iinstruction code), Address (reading /
writing start address), and DATA (change data) when data is rewritten.
Please refer to
“14.3 The operating procedure of Data editing function"
for details of the operating
procedure.
Data editing function
● Sub Function (instruction code)
The instruction code, the function, and the setting data which can be used in this controller are shown
below.
Instruction
code
(Sub Function)
Function
Address
DATA (Sending)
DATA (Receiving)
DATA (H)
DATA (L)
DATA (H)
DATA (L)
(01)h
Data
returning for
1word
Reading
start number
Data
(1 word)
(02)h
Data
returning for
2word
Reading
start number
Data
(2 word
Upper side)
Data
(2 word
lower side)
(11)h
Data writing
for 1word
Writing start
number
Data
(1 word)
Data
(1 word)
(12)h
Data writing
for 2word
Writing start
number
Data
(2 word
Upper side)
Data
(2 word
lower side)
Data
(2 word
Upper side)
Data
(2 word
lower side)
● Address (reading / writing start address)
This specifies the controller memory address map of the LECPMJ’s built-in microcomputer, which can edit
data.
The controller memory address shown in the following is a hexadecimal notation.
・
CC-Link occupied number of Stations setting address
Controller memory
address
Name
Word Setting data range
Unit
(001d)h
occupied number of Stations setting
1
1,2,4
-
This parameter becomes effective by reset.
・
State data address
Controller memory
address
Name
Word
Unit
(9000)h
Current position
2
0.01mm
(9002)h
Current speed
1
1mm/s
(9003)h
Current Force
1
1%
(9004)h
Target position
2
0.01mm
(9006)h
Movement step data No.
1
-
(9008)h
Alarm 2 (high-level byte) / Alarm 1 (low-level byte)
1
-
(9009)h
Alarm 4 (high-level byte) / Alarm 3 (low-level byte)
1
-