Host Link Communications - Omron CP1L-EL20DR-D Operation Manual

Sysmac cp series cp1l-el/em cpu unit
Table of Contents

Advertisement

Serial Communications
8-3-9

Host Link Communications

Command
Command type
flow
Host computer
Host link command
(C Mode)
Host link command
SYSMAC
CP1L
COM
01
03
05
07
09
11
01
03
05
07
09
11
NC
00
02
04
06
08
10
00
02
04
06
08
10
POWER
RUN
ERR/ALM
INH
LNK/ACT
BKUP
1
2
00
01
02
03
04
06
00
01
03
04
06
ANALOG INPUT
COM(V+)
COM
05
07
COM
02
COM
05
07
V1+ V2+ COM
MAC Address:
01234567890A
FINS command (with
Host Link header and
terminator) sent.
FINS
Header
FINS command (with
SYSMAC
CP1L
COM
01
03
05
07
09
11
01
03
05
07
09
11
NC
00
02
04
06
08
10
00
02
04
06
08
10
POWER
Host Link header and
RUN
ERR/ALM
INH
LNK/ACT
BKUP
1
2
00
01
02
03
04
06
00
01
03
04
06
ANALOG INPUT
COM(V+)
COM
05
07
COM
02
COM
05
07
terminator) is sent.
V1+ V2+ COM
MAC Address:
01234567890A
FINS
Header
Host computer
424
The following table shows the host link communication functions available in
CP1L-EL/EM PLCs. Select the method that best suits your application.
Communications method
Create frame in the host com-
puter and send the command to
the PLC. Receive the response
from the PLC.
Application:
Use this method when commu-
nicating primarily from the host
computer to the PLC.
Create frame in the host com-
puter and send the command to
the PLC. Receive the response
from the PLC.
Application:
Use these methods when com-
municating primarily from the
Terminator
host computer to PLCs in the
network.
Remarks:
The FINS command must be
placed between a Host Link
header and terminator and then
sent by the host computer.
Send the command frame with
the CPU Unit's SEND, RECV, or
CMND instruction. Receive
response from the host com-
puter.
Application:
Use this method when commu-
Terminator
nicating primarily from the PLC
to the host computer to transmit
status information, such as error
information.
Remarks:
The FINS command will be
placed between a Host Link
header and terminator when it is
sent. The FINS command must
be interpreted at the host com-
puter and then the host com-
puter must return a response.
Configuration
Directly connect the host computer in a 1:1
or 1:N system.
OR
SYSMAC
CP1L
COM
01
03
05
07
09
11
01
03
05
07
09
11
NC
00
02
04
06
08
10
00
02
04
06
08
10
POWER
RUN
ERR/ALM
INH
LNK/ACT
BKUP
1
2
00
01
02
03
04
06
00
01
03
04
06
ANALOG INPUT
COM(V+)
COM
05
07
COM
02
COM
05
07
V1+ V2+ COM
MAC Address:
01234567890A
SYSMAC
CP1L
COM
01
NC
00
POWER
RUN
ERR/ALM
INH
LNK/ACT
BKUP
1
ANALOG INPUT
V1+ V2+ COM
MAC Address:
01234567890A
Directly connect the host computer in a 1:1
or 1:N system.
OR
SYSMAC
CP1L
COM
01
03
05
07
09
11
01
03
05
07
09
11
NC
00
02
04
06
08
10
00
02
04
06
08
10
POWER
RUN
ERR/ALM
INH
LNK/ACT
BKUP
1
2
00
01
02
03
04
06
00
01
03
04
06
ANALOG INPUT
COM(V+)
COM
05
07
COM
02
COM
05
07
V1+ V2+ COM
MAC Address:
01234567890A
SYSMAC
CP1L
COM
01
NC
00
02
POWER
RUN
ERR/ALM
INH
LNK/ACT
BKUP
1
00
ANALOG INPUT
V1+ V2+ COM
MAC Address:
01234567890A
Directly connect the host computer in a 1:1
system.
SEND/RECV/
CMND
SYSMAC
CP1L
COM
01
03
05
07
09
11
01
03
05
07
09
11
NC
00
02
04
06
08
10
00
02
04
06
08
10
POWER
RUN
ERR/ALM
INH
LNK/ACT
BKUP
1
2
00
01
02
03
04
06
00
01
03
04
06
ANALOG INPUT
COM(V+)
COM
05
07
COM
02
COM
05
07
V1+ V2+ COM
MAC Address:
01234567890A
Section 8-3
Command
SYSMAC
CP1L
03
05
07
09
11
01
03
05
07
09
11
COM
01
03
05
07
09
11
01
03
05
07
09
11
02
04
06
08
10
00
02
04
06
08
10
NC
00
02
04
06
08
10
00
02
04
06
08
10
POWER
RUN
ERR/ALM
INH
LNK/ACT
BKUP
2
1
2
00
01
02
03
04
06
00
01
03
04
06
00
01
02
03
04
06
00
01
03
04
06
COM(V+)
COM
05
07
COM
02
COM
05
07
ANALOG INPUT
COM(V+)
COM
05
07
COM
02
COM
05
07
V1+ V2+ COM
MAC Address:
01234567890A
Command
SYSMAC
CP1L
03
05
07
09
11
01
03
05
07
09
11
COM
01
03
05
07
09
11
01
03
05
07
09
11
04
06
08
10
00
02
04
06
08
10
NC
00
02
04
06
08
10
00
02
04
06
08
10
POWER
RUN
ERR/ALM
INH
LNK/ACT
BKUP
2
1
2
01
02
03
04
06
00
01
03
04
06
00
01
02
03
04
06
00
01
03
04
06
COM(V+)
COM
05
07
COM
02
COM
05
07
ANALOG INPUT
COM(V+)
COM
05
07
COM
02
COM
05
07
V1+ V2+ COM
MAC Address:
01234567890A

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents