357
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 CP1H CPU UNITS - PROGRAMMING 05-2007
Page 2: ......
Page 3: ...CP1H X40D CP1H XA40D CP1H Y20DT D CP1H CPU Unit Operation Manual Revised March 2009...
Page 4: ...iv...
Page 10: ...x...
Page 18: ...xviii...
Page 22: ...xxii...
Page 34: ...xxxiv Conformance to EC Directives 6...
Page 174: ...140 CP series Expansion I O Unit Wiring Section 3 6...
Page 370: ...336 Analog I O XA CPU Units Section 5 5...
Page 552: ...518 Trouble Shooting Section 8 7...
Page 595: ...561 Sample Application Section 9 12 Network Settings Network Tab Network Settings Driver Tab...
Page 598: ...564 Sample Application Section 9 12...
Page 642: ...608 Standard Models Appendix A...
Page 652: ...618 Dimensions Diagrams Appendix B...
Page 745: ...711 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
Page 746: ...712 Connections to Serial Communications Option Boards Appendix F...
Page 776: ...742 PLC Setup Appendix G...
Page 778: ...744 Specifications for External Power Supply Expansion Appendix H...
Page 786: ...752 Revision History...