
Chapter 7 Function Block
7-24
7.4.10 Write Variable Data (XPM_VWR)
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
1 ~ 8: axis 1 ~ axis 8
VAR : PLC device where Write Data is saved
T_ADDR : Module internal memory head
address where data is written
0 ~ 72793
OFFSET : Offset between Write data blocks
0 ~ 72793
SIZE : Size of block to write
1 ~ 128
CNT : No. of Write data block
1 ~ 128
Output
DONE : Maintain 1 after first operation
STAT : Output the error no. in operation
(1) Gives “Write parameter, operation data, CAM data directly” command to positioning module.
(2) You can write data you want by designating module internal memory address of parameter, operation data,
CAM data directly.
(3) It writes the WORD data in “VAR” to module internal memory. The data are saved from internal memory
position set by “T_ADDR” and the number of data is the number set by “Size”. In case the number of
block “CNT” is larger than 2, multiple blocks are made. 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 write with one command is 128 WORD.
(5) “Write Variable Data” command can’t 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.
1 ~ 8: axis 1 ~ axis 8
(7) In case Read Data size (SIZE x CNT) is 0 or higher than 128 WORD, error code “11” appears in STAT
(8) In case no. of block (CNT) is higher than 2, and block offset is smaller than block size, error code “11”
appears in STAT because module internal memory block to write is overlapped each other.
(9) Don’t use XPM_VWR 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 ...