EasyManua.ls Logo

LSIS XBM-DN32S

LSIS XBM-DN32S
315 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 5 Positioning Instructions
5 - 49
5.3 Positioning Function Blocks (for XEC)
5.3.1 General for Function Block
In the XEC PLC, the input/output variables and their functions which are applied commonly for all the
function blocks used for internal positioning are as follows..
Classification Variable
Name
Data Type Description
Input
Variables
REQ BOOL
•Request for function block execution
- If the condition in connection with this area is
satisfied during the software running and 0→1
(edge or level), the function block is executed.
BASE USINT
•Base Number
- This area is for setting up the number of the base
where the positioning module is mounted. (In the
internal positioning of XGB, fix this to 0.)
SLOT USINT
•Slot Number
- This area is for setting up the number of the slot
where the positioning module is mounted. (In the
internal positioning of XGB, fix this to 0.)
AXIS USINT
•Number of the axis in use
- X-axis: 0, Y-axis: 1
Output
Variables
DONE BOOL
•Indicates completion of the function block execution
- If the function block is executed without error,
“1” is outputted and maintained until the next
execution. If erroneous, “0” is outputted.
STAT UINT
•Error State Indication
- This area indicates the number of the error
occurred in the start-up of the function block.
(The errors occurred during operation are
indicated in the K area which outputs error
codes.)
Other I/O variables excluding the common variables presented in the above table are described
below.
(1) Common Error Codes for Function Block
The types and description of the common error codes which may occur in the starting up of the function
blocks related with internal positioning are as follows.
Error
Code
Error Type Countermeasures
0 Function block normally executed -
1 Base No. exceeded setting range Set the base No. to “0” for internal positioning.
3 Slot No. exceeded setting range Set the slot No. to “0” for internal positioning.
6 Axis range No. exceeded setting range
Adjust the axis No. within the allowable range of the
function block
(0: X-axis, 1: Y-axis)
10
A new function block was executed
while the previous instruction
has not
been completed
Modify the program so that a new function block can be
executed after completion of the previous instruction.
11
Set-
up auxiliary input value exceeded
allowable range
Adjust the value within the allowable range.
For other error code, see “Appendix 1. Error Code List.”

Table of Contents

Related product manuals