Analog unit instructions
1100
Part IV Tool Instructions
Input current (mA) A/D conversion value
2.5 2000
3.0 2400
3.5 2800
4.0 3200
4.5 3600
5.0 4000
Processing if the range is exceeded
0V or less (including
negative value)
0
5V or more 4000
Input variable Data
type
Function
iIOWordOffset INT The offset of the first WX/WY address of the RTD unit according
to its position.
FP0R, FP0, FP-Sigma: (use
ExpansionUnitToIOWordOffset_FP0 (see page 1128)) or
unit 1 => address 2, unit 2 => address 4, unit 3 => address 6
FP-X: (use Expa
nsionUnotToIOWordOffset_FPX_FP0 (see page
1129)) or
FP0 adapter address of
unit 1
address of
unit 2
address of
unit 3
1st unit 30 32 34
2nd unit 40 42 44
3rd unit 50 52 54
4th unit 60 62 64
5th unit 70 72 72
6th unit 80 82 84
7th unit 90 92 94
8th unit 100 102 104
Output variable
iInChannel0–iInChannel7 INT input values on the corresponding output channel 0–7:
0V–5V, 0mA–20mA -> 0–4000
-10V–10V, -100mV–100mV -> -2000–2000
Data types
Example
In this example the function has been programmed in ladder diagram (LD) and structured text (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.