Omron FH series User Manual page 382

Hide thumbs Also See for FH series:
Table of Contents

Advertisement

Get Parallel Terminal Status
Gets the state of the specified parallel I/O terminal: Active or Inactive.
For how to set, refer to the following:
Example)
When you want to acquire the terminal status of STEP0 in Line 0.
1. Select 0 in the Terminal type. STEP is set.
2. Select 0 in the Terminal number, STEP0 of Line0.
3. Sends the specified settings of the above step 1 and 2 to the specified port number of Line0.
4. The specified Terminal status will be responsed.
Command (PLC to Sensor Controller)
First word in
Command
Command Area
code
+2
8010
+3
0020
+4
-
+5
-
+6
-
+7
-
Response (Sensor Controller to PLC)
First word in
Command
Response Area
code
+2
8010
+3
0020
+4
-
+5
-
+6
-
+7
-
*1:
Terminal type and Terminal number
FH-1000 series/FH-3000 series Sensor Controller
Terminal type
STEP
DSA
DI
DI_LINE
11
380
Command Control
12 to 15
8 to 11
1000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
12 to 15
8 to 11
1000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0
1
0
STEP0
STEP1
1
DSA0
DSA1
2
DI0
DI1
DILINE0
DILINE1
Bit
4 to 7
0 to 3
0001
0000
Command code
0010
0000
0000
0000
Terminal type:
Set the terminal by combining Terminal number.
Specified terminal differ according to the Sensor
0000
0000
Controller series. For detail, refer to
0000
0000
Terminal number:
Set the terminal by combining Terminal type.
Specified terminal differ according to the Sensor
0000
0000
Controller series. For detail, refer to
Bit
4 to 7
0 to 3
0001
0000
Command code
Response target command codes
0010
0000
0000
0000
Response code
Command execution result
OK: 0(0000 0000)
0000
0000
NG: Not 0 (0000 0000)
0000
0000
Response data
Terminal state
0: OFF
0000
0000
1: ON
Terminal number
2
3
STEP2
STEP3
STEP4
-
-
-
DI2
DI3
DI4
DILINE2
-
-
Vision System FH/FZ5 Series User's Manual
Description
Description
4
5
6
STEP5
STEP6
-
-
DI5
DI6
-
-
for Communications Settings (Z342)
*1
.
*1
.
7
STEP7
-
DI7
-

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fz5 series

Table of Contents