359
Serial Communications
Section 6-1
Procedure
Host Link Commands
The following table lists the host link commands. Refer to the
SYSMAC CS/
CJ-series Communications Commands Reference Manual
(W342) for more
details.
Set the PLC Setup from the CX-
Programmer.
(Set the communications mode to
Host Link
and set the parameters.)
Power OFF
Connect the CPU Unit and external device
via RS-232C. (Mount the RS-232C Option
Board in option slot 1 or 2.)
Set the DIP switch on the front of
the CPU Unit.
Turn pin 4 OFF when suing serial port 1.
Turn pin 5 OFF when suing serial port 2.
Power ON
Host computer to PLC
PLC to Host computer
Send Host Link
commands from
the host computer.
Send FINS
commands from
the host computer.
Execute SEND/RECV/CMND
instructions in the PLC’s program.
Return a response from the host
computer. (A program is required in
the host computer.)
Type
Header
code
Name
Function
I/O mem-
ory read
commands
RR
CIO AREA READ
Reads the contents of the specified number of CIO Area words starting from
the specified word.
RL
LINK AREA READ
Reads the contents of the specified number of Link Area words starting from
the specified word.
RH
HR AREA READ
Reads the contents of the specified number of Holding Area words starting
from the specified word.
RC
PV READ
Reads the contents of the specified number of timer/counter PVs (present
values) starting from the specified timer/counter.
RG
T/C STATUS READ Reads the status of the Completion Flags of the specified number of timers/
counters starting from the specified timer/counter.
RD
DM AREA READ
Reads the contents of the specified number of DM Area words starting from
the specified word.
RJ
AR AREA READ
Reads the contents of the specified number of Auxiliary Area words starting
from the specified word.
Summary of Contents for Sysmac CP1H
Page 2: ......
Page 3: ...CP1H X40D CP1H XA40D CP1H Y20DT D CP1H CPU Unit Operation Manual Revised October 2014...
Page 4: ...iv...
Page 10: ...x...
Page 18: ...xviii...
Page 22: ...xxii...
Page 34: ...xxxiv Conformance to EC Directives 6...
Page 76: ...42 Function Blocks Section 1 5...
Page 176: ...142 CP series Expansion I O Unit Wiring Section 3 6...
Page 372: ...338 Analog I O XA CPU Units Section 5 5...
Page 578: ...544 Trouble Shooting Section 8 7...
Page 622: ...588 Sample Application Section 9 12 Network Settings Network Tab Network Settings Driver Tab...
Page 668: ...634 Standard Models Appendix A...
Page 744: ...710 Auxiliary Area Allocations by Address Appendix D...
Page 771: ...737 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
Page 772: ...738 Connections to Serial Communications Option Boards Appendix F...
Page 800: ...766 Specifications for External Power Supply Expansion Appendix H...
Page 806: ...772 Index W Work Area 165 work bits 165 work words 165 write protection 379...
Page 808: ...774 Revision History...
Page 809: ......