422
Control with Communication Port
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
Description Details
Scan Count 500 04D2 “1234” is stored.
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
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.