
Chapter 7 Function Block
7-23
7.4.9 Read Variable Data (XPM_VRD)
Form of Function Block
Description
Input
REQ : Request for execution of function block
BASE : Set the base no. with module
SLOT : Set the slot no. with module
AXIS : Axis to command
XBF-PN04B:1~4, XBF-PN08B:1~8
S_ADDR : Module internal memory head address
of Read Data
0 ~ 72793
OFFSET : Offset between Read Data blocks
0 ~ 72793
SIZE : Block size of Read data
1 ~ 128
CNT : No. of Read Data block
1 ~ 128
Output
DONE : Maintain 1 after first operation
STAT : Output the error no. in operation
VAR : PLC device where Read Data is saved
(1) Gives “Read parameter, operation data, CAM data directly” command to positioning module.
(2) You read data you want by designating module internal memory address of parameter, operation data,
CAM data directly.
(3) It reads the positioning module internal memory from the position set by “S_ADDR” by WORD unit and
save them in the device set by “VAR”. The number of data to read is the number set by “Size”. In case
“CNT” is larger than 2, it reads multiple data blocks and save them in the device set by “VAR” in order. At
this time, head address of next block is “Offset” apart from head address of current block.
(4) Max. data size (SIZE x CNT) you can read with one command is 128 WORD.
(5) “Read Variable Data” command can be executed in operation.
(6) You can set axis to command in “AXIS” and the following value is available. If you set other values, error
code “6” appears.
XBF-PN04B:1~4, XBF-PN08B:1~8
(7) In case Read Data size (SIZE x CNT) is 0 or higher than 128 WORD, error code “11” appears in STAT.
(8) Don’t use XPM_VRD command at the same time. That is, you must execute a command after the other
command’s operation completes. Please note that the command don’t execute at the same time in case
the command axis is same or not.
Содержание XBF-PN04B
Страница 1: ...Programmable Logic Controller Positioning Module EtherCAT XGB Series XBF PN04B XBF PN08B ...
Страница 626: ...Chapter 9 Functions BPS37 setup RS232 and PC connection BPS37 option board LED 9 193 ...
Страница 628: ...Chapter 9 Functions c Execute BPS37 set up program and enter the setting values as follows 9 195 ...
Страница 796: ...Appendix3 Dimension A3 1 Appendix 3 Dimension Appendix 3 1 Dimension of XBF PN04B PN08B ...