
Po
sit
io
n
Chap.6 Commands
6-22
6.4.9 Reading variable data (XPM_VRD)
Function Block Type
Details
XPM_VRD
DONE
REQ
BASE
SLOT
STAT
BOOL
BOOL
USINT
USINT
USINT
AXIS
USINT
S_ADDR
UDINT
OFFSET
UDINT
SIZE
UINT
CNT
UNIT
VAR
UINT[128]
Input
REQ : Request for executing function blocks
BASE : Setting up the numbers of the bases
where modules are equipped
SLOT : Setting up the numbers of slots where
modules are equipped
AXIS : Specifying the axis to give commands
1 ~ 4: 1axis ~ 4axis
S_ADDR : Start address of the module internal
memory of the data to read
0 ~ 49586
OFFSET : Offset of between data blocks to read
0 ~ 49586
SIZE : Size of data blocks to read
1 ~ 128
CNT : The number of data blocks to read
1 ~ 128
Output
DONE : Keeping 1 after the initial operation
STAT : Outputting error No. that occurred during
executing function blocks
VAR : PLC device where the read data is stored.
(1) The command gives instructions to the positioning module to read directly parameters, operating data, CAM data.
(2) It is possible to read the desired data by specifying parameters and operating data, CAM data’s module internal
memory address directly.
(3) Among parameters, operating data, CAM data of the embedded positioning, the command is to read as much data
as the “SIZE” in WORDs from the position set as “S_ADDR” in positioning module internal memory to the specified
device of “VAR”. In case “CNT” is more than 2, it reads the blocks one by one, which are as distant as “OFFSET” from
the “S_ADDR” position as many times as “CNT”-1 and saves them to the specified device of “VAR”.
(4) The maximum data size(SIZE x CNT) that can be read with a command is 128 WORD.
(5) The command for “Reading Variable Data” can run even during operation.
(6) In AXIS, you can set up the axis to command and select one among 1~4. If the values other than set ones are
selected, “error 6” will occur.
(7) In case the size(SIZE x CNT) of the data to read is 0 or exceeds 128 WORD, error “11” will occur in STAT.
(8) Although reading variable data is executed for different axes, it can run only once in one scan. If you run reading
variable data more than twice in one scan, error code(811) will occur and the remaining operations except the first
reading variable data will not work.
Summary of Contents for XBE-DC08A
Page 124: ...Main Chapter 1 Configuration and Operation Mode of Programs 1 27 1 Memory block diagram ...
Page 504: ...Position Chap 6 Commands 6 61 6 11 Function blocks related to Servo Drive ...
Page 644: ...Positioning Chapter 8 Functions 8 91 ...
Page 727: ...Positioning Chapter 9 Positioning Error Information Solutions 9 13 ...
Page 1207: ...Appendix 2 Dimension App2 2 2 Analog Type XEC DN32UA ...
Page 1209: ...Appendix 2 Dimension App2 4 XBE DC08A XBE DC16A XBE TN08A XBE TN16A XBE DR16A XBE RY08A ...
Page 1210: ...Appendix 2 Dimension App2 5 4 Extension Cnet I F Module XBL C41A XBL C21A ...