I/O Format (Parallel Interface)

Input Format

When the Main screen is displayed, the following commands can be input.
  • STEP signal
    Measurement is performed once when STEP signal turns on.
  • DSA signal
    When "Output Control" is set to "Handshaking", this is a signal to provide notification that the external device is ready to receive data.
    Setting Communication Specifications (Parallel Interface)
  • DI signal
    Commands can be input in the following format. Set 0 (OFF) or 1 (ON) for each DI signal.
    Confirm commands and information, and turn DI7 (execute) ON with an interval of at least 1 ms.
When 1 line is used
Illustration of DI signal input format
Item
Description
Input format (DI7 to DI0)
Input example
Execute (DI7)
Command (DI6, DI5)
Command information (DI4 to 0)
Continuous measurement
Measure continuously during input of commands.
1
00
*****
The controller does not detect this signal, so a setting of either 0 or 1 makes no difference.
Input example: 10000000
Scene switch
Switch measurement scenes.
1
01
Input "Scene No." in binary format.
Switch to scene 2.
Input example: 10100010
Scene group switch
Switch measurement scene groups.
1
11
Input "Scene Group No." in binary format.
Switch to scene group 2.
Input example: 11100010
Clearing Measurement Values
Clear measurement values.
The OR signal and DO signal are not cleared.
1
10
00000
Input example: 11000000
Clear Error
Clear error output.
The ERROR indicator is also cleared.
1
10
00001
Input example: 11000001
Clear Parallel OR+DO
Clear the OR signal and DO signal.
1
10
00010
Input example: 11000010
0: OFF 1: ON
Operation mode (FZ3-9IconIcon/H9IconIcon only) = [Multi-line random-trigger mode]
Illustration of DI signal input format
Item
Description
Input format (DI7 to DI0)
Input example
Execute (DI7)
Command (DI6, DI5)
Line No. (DI4)
Command information (DI3 to 0)
Continuous measurement
Measure continuously during input of commands.
1
00
0 or 1
Specify the line number to send commands to.
*****
The controller does not see this signal, so a setting of either 0 or 1 makes no difference.
Continuously measure line 1
Input example: 10010000
Scene switch
Switch measurement scenes.
1
01
Input "Scene No." in binary format.
Switch line 0 to Scene 2
Input example: 10100010
Scene group switch
Switch measurement scene groups.
1
11
Input "Scene Group No." in binary format.
Switch line 1 to Scene Group 2
Input example: 11110010
Clearing Measurement Values
Clear measurement values.
The OR signal and DO signal are not cleared.
1
10
0000
Clear the measurement values of line 1
Input example:11010000
Clear Error
Clear error output.
The ERROR indicator is also cleared.
1
10
0001
Clear the error of line 0
Input example: 11010001
Clear Parallel OR+DO
Clear the OR signal and DO signal.
1
10
0010
Clear the OR signal and DO signal of line 1
Input example: 11010010
0: OFF 1: ON
Reference
  • When the input command is not received correctly, the ERROR signal turns on.
Important

Output Format

Each time measurement is performed, the measurement result is output.
Output can be selected to turn on either when the judgement result is OK or when it is NG. The factory default setting is "ON at NG".
Setting Communication Specifications (Parallel Interface)
Signal
Output contents
OR signal
Overall judgement results are output.
DO 0 to 15 signal[Note 1]
Parallel judgement output
The judgement results of judgement 0 to 15 set in the processing item [Parallel Judgement Output] are output to DO 0 to 15.
"Processing Item List Manual", "Parallel Judgement Output"
Parallel Data Output
The measurement values set in data 0 to 7 in the processing item [Parallel Data Output] are output in 16-bit format."Processing Item List Manual", "Parallel Data Output"
  • Only integers are output. Decimals are rounded up.
  • The range of values that can be output is as follows:
    Binary format: -32768 to +32768
    BCD format: -999 to +999
    When measurement values are outside of these ranges, the following apply.
    Binary format:
    When -32768 is > measurement value, -32767 is output.
    When measurement value is > +32768, +32768 is output.
    BCD format:
    When -999 is > measurement value, -999 is output.
    When measurement value is > +999, +999 is output.
  • For the output format, select from a 2's complement binary format or BCD format.
    For 2's complement, seeTerminology Explanations
  • Output sequence
    Measurement results are output in sequence starting with the smallest processing unit number.
Example) When [Parallel Judgement Output] is processing unit 5 and [Parallel Data Output] is processing unit 8
Timing chart sample
[Note 1]: If the operation mode (FZ3-9IconIcon/H9IconIcon only) is [Multi-line random-trigger mode], line 0 uses DO0 to DO7, while line 1 uses DO8 to DO15.
Reference
  • After measurement, the data output by the OR signal or DO signal is held until the next measurement is performed. Note that the output status will be maintained even after measurement is complete.
    However, when [One-shot OR signal] is on in Setting Communication Specifications (Parallel Interface), the OR signal will turn off after the set output time has elapsed.
  • The output signal factory default setting is OFF, but the signal may be ON for approximately 0.5 second when power is turned on. Be careful of signal loading occurring at external devices.