Omron FH series User Manual page 443

Hide thumbs Also See for FH series:
Table of Contents

Advertisement

DIPORTCOND or DPC
Gets the ON/OFF states of all parallel DI terminals at once.
For how to use the command to acquire status, refer to the following example.
Example)
To acquire the parallel DI terminal status of Line 0.
1. Send the parallel DI terminal status command to the port number assigned to Line 0.
2. A response of the parallel DI terminal status will be received.
<Command format>
or
<Response format>
When processing is performed normally
When processing is not performed normally
<Parameters explanation>
Responds with the DI0-DI7 states (0-255).
• 1st bit: DI0
Terminal state
• 2nd bit: DI1
:
• 8th bit: DI7
IMPORTANT
This command gets the terminal status of each line by specifying its port number.
When getting the terminal status of an unusable line, the response code will be OK and the response data will always be 0.
Verify the received data by changing the actual parallel terminal status.
(Example)
When DI0 and DI4 are ON
<Command>
<Response>
Vision System FH/FZ5 Series User's Manual
for Communications Settings (Z342)
3
441
Command Control

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fz5 series

Table of Contents