Panasonic FP Series Programming Manual page 1131

Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

Analog unit instructions
ExpansionUnitNumberToIO
WordOffset_FPX_FP0
This instruction calculates the word offset using an FP0 analog unit connected to an FP-X or
Description
FP-X0.
REFERENCE
For technical information, please refer to the manual FP0 RTD Unit ACGM0159 on your FPWIN Pro
installation CD.
see see page 1320
PLC types
Data types
Input variable
iFPX_ExpansionUnitNumber
iFP0_ExpansionUnitNumber
Output variable
iIOWordOffset
In this example the function has been programmed in ladder diagram (LD) and structured text
Example
(ST).The same POU header is used for all programming languages.
POU header
All input and output variables used for programming this function have been declared in the POU
header.
Body
This instruction evaluates the IO word offset for an FP0 analog unit connected to an FP-X CPU.
The input iFPX_ExpansionUnitNumber is the FP-X unit position number (1–8) to which the FP0
expansion adapter is connected. The input iFP0_ExpansionUnitNumber is the FP0 analog unit
position number (1–3) connected next to the FP0 expansion adapter.
1130
Calculates the IO offset of analog units for FP-X
Data type
Function
FP-X expansion unit number 1–8
INT
FP0 expansion unit number 1–3
INT
Offset of the I/O word (WX/WY)

Advertisement

Table of Contents
loading

Table of Contents