
Po
sit
io
n
in
g
Chapter 8 Functions
8-160
8.7.4 Write/Read Variable Data
Parameter, operation data, CAM data can be read by “Read Variable Data” command and written by “Write Variable Data”
command directly.
(1) Read Variable Data
(a) You read data you want by designating module internal memory address of parameter, operation data, CAM data
directly.
(b) Reads data as many as “Block size” starting position set in “Read address” with WORD unit to CPU among parameter,
operation data, CAM data. In case “CNT” is higher than 2, reads blocks with interval of “Block offset” starting “Read
address” as many as “CNT”-1.
(c) Max. data size (block size x No. of block) you can read with one command is 128 WORD
(d) “Read Variable Data” command can be executed in operation.
(e) Auxiliary data setting of “Read Variable Data” command
Item
Setting value
Description
Read address
0 ~ 49586
Sets head address of Read Data
Block offset
0 ~ 49586
Sets offset between blocks of Read Data
Block size
1 ~ 128
Sets size of block
No. of block
1 ~ 128
Sets No. of Read Block
Block 1
Block 2
Block n
Block 1
Block 2
Block n
Data address
Block size
Block offset
No. of block
•
•
•
•
Axis 1 operation data
Common parameter
•
•
Axis 4 operation data
CAM data
0
49586
Operation parameter
128 word
(f) Restriction
In the following case, error occurs and can’t execute “Read Variable Data” command
■ Data setting error (Error code: 711)
▪ Read data size (Block size x No. of block) is 0 or higher than 128 WORD.
▪ Read data address [Read a {block offset x (No. of block -1)} + Block size is higher than last address value
(49586)
Note
If you execute “Read Variable Data” command in XGB PLC, Read data from positioning module is saved in common
area. To save in device for using in PLC program, use GETM command [Read address: 0, data size: Read data size
(DWORD)]
In XGB PLC, Read data is saved in register set in Function Block automatically.
Содержание XBE-DC08A
Страница 124: ...Main Chapter 1 Configuration and Operation Mode of Programs 1 27 1 Memory block diagram ...
Страница 155: ...Main Chapter 2 CPU Function 2 29 Notice For more details on the monitor refer to the XG5000 manual ...
Страница 504: ...Position Chap 6 Commands 6 61 6 11 Function blocks related to Servo Drive ...
Страница 512: ...Positioning Chapter 7 Program 7 8 manual operation 7 1 4 Parameter and Operation Data Setting 1 Parameter Setting ...
Страница 644: ...Positioning Chapter 8 Functions 8 91 ...
Страница 727: ...Positioning Chapter 9 Positioning Error Information Solutions 9 13 ...
Страница 861: ...Special Chapter 1 Embedded Analog 1 39 5 Select View Variables Comments Variables and comments are both displayed ...
Страница 1206: ...Appendix 2 Dimension App2 1 Appendix 2 Dimension Unit mm 1 CPU Type XEC DN32U 2 Positioning Type XEC DN32UP ...
Страница 1207: ...Appendix 2 Dimension App2 2 2 Analog Type XEC DN32UA ...
Страница 1209: ...Appendix 2 Dimension App2 4 XBE DC08A XBE DC16A XBE TN08A XBE TN16A XBE DR16A XBE RY08A ...
Страница 1210: ...Appendix 2 Dimension App2 5 4 Extension Cnet I F Module XBL C41A XBL C21A ...