
Chapter 7 Function Block
7-22
7.4.8 Teaching Array (XPM_ATEA)
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
STEP : Set the step no. to do teaching
0 ~ 400
RAM/ROM : Selection of RAM/ROM teaching
0 : RAM teaching, 1 : ROM teaching
POS/SPD : Selection of position/speed teaching
0 : Position, 1 : Speed
TEA_CNT : Set the no. of data to do teaching
1 ~ 16
TEA_VAL : Set the teaching value
Output
DONE : Maintain 1 after first operation
STAT : Output the error no in operation
(1) Give “Teaching Array” command to the axis designated as the axis of positioning module with BASE (Base no.
of Positioning module) and SLOT (Slot no. of Positioning module).
(2) Speed teaching is for user to use random speed value in a operation data of specified step and position
teaching is for user to use random position value in a operation data of specified operation step.
(3) This command is for modifying maximum 16 goal positions/speed value at once with teaching array function
block.
(4) 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
(5) Even
“
Write variable data
”
command can be executed even when the axis subject to teaching is being
operated but, only the current step
’
s data is reflected after the current step operation is completed if the step
that is currently running is within the step area while other steps
’
data are immediately changed.
(6) You may set step no.(0~400) of operation data on STEP. If you set wrongly, “Error11” arises.
(7) You may set the no. of data to do teaching on TEA_CNT and do teaching max. 16. If you set wrongly, “Error11”
arises.
(8) Parameter value modified by teaching command and setting RAM/ROM as “0” is valid within power connection.
If you want to keep the parameter without power connection, execute teaching command with setting “1” on
RAM/ROM or save the modified parameter value on MRAM with XPM_WRT (Parameter/Operation Data Saving
command) after teaching.
Summary of Contents for XBF-PN04B
Page 1: ...Programmable Logic Controller Positioning Module EtherCAT XGB Series XBF PN04B XBF PN08B ...
Page 626: ...Chapter 9 Functions BPS37 setup RS232 and PC connection BPS37 option board LED 9 193 ...
Page 796: ...Appendix3 Dimension A3 1 Appendix 3 Dimension Appendix 3 1 Dimension of XBF PN04B PN08B ...