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