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
- 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
| | Input format (DI7 to DI0) | |
---|
| | Command information (DI4 to 0) |
---|
| Measure continuously during input of commands. | | | ***** The controller does not detect this signal, so a setting of either 0 or 1 makes no difference. | |
| Switch measurement scenes. | | | Input "Scene No." in binary format. | Switch to scene 2. Input example: 10100010 |
| Switch measurement scene groups. | | | 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 |
Operation mode (FZ3-9/H9 only) = [Multi-line random-trigger mode]
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 | | 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
- When parallel continuous measurement is engaged and continuous STEP signal is input, switching of scene group should be avoided. When this is performed, set "Unchecked" in "Save scene group on switch scene" in either of the settings items below.
Output Format
Each time measurement is performed, the measurement result is output.
| |
---|
| Overall judgement results are output. |
DO 0 to 15 signal [Note 1] | Parallel judgement 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 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.
- 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 |
[Note 1]: If the operation mode (FZ3-9
/H9
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.