422
C
o
nt
rol
w
it
h C
om
m
uni
c
a
tion P
or
t
C
h
ap
te
r 9
Example of Output
Output Condition - Output Data:
•
Scan count: 1234 times
•
Total Judgement: OK
•
Judgement: JDC000=OK, JDC001=unset, JDC002=NG, JDC003 or later=Unset
•
Numerical Calculation: CAC000=215.3, CAC001=unset, CAC002=-2184.6, CAC003 or later=Unset
Output Result: Output Data = 16 bit, the top of Output Registers = 500
Data
Register
No.
Value
(Hex.)
Description
Details
Scan Count
500
04D2
“1234” is stored.
Scan
Count
Bit 15 Bit
0
Total
Judgement
501
0001
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 OK
Judgement
502
E01E
1 1 1 0 0 0 0 0 0 0 0 1 1 1 1 0
JDC000 -
002
Numerical
calculation
503
00D7
“215” is stored.
CAC000
504
F777
“-2185” is stored.
CAC002
Concept:
•
The number of scans is stored in the start register.
When specifying "32-bit" for "Bit Width", the number of scans is stored.
•
Four Judgment data are stored per word.
Data is output up to Judgement specified with the largest number. For unset judgement data within
the range, "E" is output such as JDC000.
Also, when the number of output data is "3" which is not multiples of 4 like this example, "E" is
stored in each part which cannot make a word.
•
Four Judgement data are stored per word.
For unset judgement data, "E" is output when the data before and after are set such as JDC001.
Also, as the number of output data is "3" which cannot make a word, "E" is stored in each of the upper
four bits.
•
Only the data of Numeric Calculation that are set to output are output.
(In the case where the data of CAC000 or CAC002 is out of the range between -32768 and +32767, “0”
is stored in the registers No.503 and 504.)
•
Numerical calculation results are rounded to whole numbers and output.
•
Negative numbers are output in the complement number of 2.
•
When specifying "32-bit" for “Output data”;
-
Four Judgement data are stored per word as the same as when you select "16-bit".
-
Each data of Scan Count and Numerical Calculation uses two words (32-bit). In the case, the data is
output from of lower 16-bit to upper 16-bit, and data of lower word (16-bit) is stored in the register of
smaller number.
Summary of Contents for PV-500
Page 1: ......
Page 10: ......
Page 11: ...9 Names and Descriptions Chapter 1 INDEX Chapter 1 Names and Descriptions ...
Page 21: ...19 Installation and Wiring Chapter 2 INDEX Chapter 2 Installation and Wiring ...
Page 37: ...35 Basic Operation Chapter 3 INDEX Chapter 3 Basic Operation ...
Page 55: ...53 Setting Inspection Conditions Chapter 4 INDEX Chapter 4 Setting Inspection Conditions ...
Page 345: ...343 Chapter 7 Changing Configuration INDEX Chapter 7 Changing Configuration TOOL ...
Page 375: ...373 Operation and Data Output through I O Terminals Chapter 8 INDEX ...
Page 390: ......
Page 391: ...389 Control with Communication Port Chapter 9 INDEX Chapter 9 Control with Communication Port ...
Page 430: ......
Page 431: ...429 PVWIN Chapter 10 INDEX Chapter 10 PVWIN ...
Page 493: ......
Page 494: ......