EasyManuals Logo

Panasonic FP0R Series User Manual

Panasonic FP0R Series
92 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
Page #52 background imageLoading...
Page #52 background image
Creating Programs
4-26
Sample program (FP0R-A42: For ranges of -10 V to +10 V and -5 V to +5 V)
The following program shows the case that conversion data of the first expansion analog I/O
unit (FP0R-A42) (CH0 to CH3) is read and stored in DT0 to DT3.
[ F0 MV , WX2 , DT0 ]
[ F65 WAN , WX3 , H3FFF , DT1 ]
X3E
X3D
[ F66 WOR , WX3 , HC000 , DT1 ]
X3D
[ F65 WAN , WX3 , H3FFF , DT3 ]
[ F0 MV , WX2 , DT2 ]
X3E
X3D
[ F66 WOR , WX3 , HC000 , DT3 ]
X3D
X3E
The channels of conversion data read by turning on/off the conversion data switching flag X3E
are distinguished.
X3D
The signs of read conversion data of CH1/CH3 are distinguished. When plus, OFF. When minus,
ON.
The conversion data of CH0 is transferred to DT0.
When the data of CH1 is positive, the most significant two bits are masked by "00" with F65 WAN (AND)
instruction, and the data is stored in DT1.
When the data of CH1 is negative, the most significant two bits are masked by "11" with F66 WOR (OR)
instruction, and the data is stored in DT1.
The conversion data of CH2 is transferred to DT2.
When the data of CH3 is positive, the most significant two bits are masked by "00" with F65 WAN (AND)
instruction, and the data is stored in DT3.
When the data of CH3 is negative, the most significant two bits are masked by "11" with F66 WOR (OR)
instruction, and the data is stored in DT3.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Panasonic FP0R Series and is the answer not in the manual?

Panasonic FP0R Series Specifications

General IconGeneral
ModelFP0R Series
ExpansionUp to 3 expansion units
TypeProgrammable Controller
Processing Speed0.08 µs/step
Communication PortsRS232C, RS485
Power Supply24 V DC
Operating Temperature0°C to 55°C
I/O PointsUp to 128 points
CPU Type32-bit RISC
Program MemoryFlash ROM
Dimensions90mm x 60mm x 25mm (varies by model)

Related product manuals