![Omron SYSMAC CJ1W-SCU21-V1 Скачать руководство пользователя страница 276](http://html1.mh-extra.com/html/omron/sysmac-cj1w-scu21-v1/sysmac-cj1w-scu21-v1_operation-manual_743586276.webp)
247
Communications Frames
Section 6-8
connected serially via Host Link to another PLC on the network (to which
the Serial Communications Board/Unit is mounted) using the SEND(090)/
RECV(098) instructions is the same as for the CMND(490) instruction.
2.
When creating Host Link FINS command frames using the CMND(490) in-
struction, always set the unit number for Host Link incremented by one (1
to 32) for the remote destination (send destination) node address (word
C+3, bits 08 to 15 of the CMND(490) instruction). Do not set the unit num-
ber of the actual Host Link slave (0 to 31). Using the Host Link unit number
without incrementing by one will access the PLC with the entered Host Link
unit number less one.
For example, specify remote PLC with Host Link unit number 2 by entering
3
for the remote destination node address. If the 2 is entered, the PLC with
Host Link unit number 1 will be accessed.
To access a PLC on a Host Link FINS network using the Serial Gateway
from CX-Programmer, however, enter the actual Host Link unit number,
without incrementing by one. (Select
Change PLC
, click the
Display Seri-
al Gateway Guide
Button, and set unit number in the
Host Link SYSWAY
Settings
field of the Serial Gateway Guide dialog box.
Sending Modbus-ASCII Commands
• Set the FINS command code of 2805 hex in S, indicating conversion to
Modbus-RTU.
• In S+1 onwards, set the slave address (2 bytes ASCII) + FUNCTION code
(2 bytes ASCII) + communications data (2
×
n bytes ASCII) from leftmost
bytes to rightmost bytes using ASCII.
Sending CompoWay/F Commands
• Set the FINS command code of 2803 hex in S, indicating conversion to
CompoWay/F.
• In S+1 onwards, set the CompoWay/F node number (2 bytes ASCII) +
sub-address (2 bytes ASCII) + SID (1 byte ASCII) + CompoWay/F com-
mand MRC (2 bytes ASCII) + CompoWay/F command SRC (2 bytes
ASCII) + text (2
×
n bytes ASCII) from leftmost bytes to rightmost bytes
using ASCII.
Note
Set the contents of S+3 when using CompoWay/F commands as follows:
Set the SID “0” as ASCII 30 hex (1 byte) in the leftmost byte, and the leftmost
digit of the CompoWay/F command code MRC as ASCII (1 byte) in the right-
most byte. Next, set the bits of S+4 as follows:
Set the rightmost digits of the CompoWay/F command code MRC as ASCII in
the leftmost byte, and the leftmost digit of the CompoWay/F command code
SRC as ASCII (1 byte) in the rightmost byte. Be sure to set one byte each for
the subsequent data without any blank bytes.
Содержание SYSMAC CJ1W-SCU21-V1
Страница 3: ...iv...
Страница 5: ...vi...
Страница 9: ...x...
Страница 15: ...xvi...
Страница 89: ...60 Basic Operating Procedure Section 1 9...
Страница 151: ...122 RS 232C and RS 422A 485 Wiring Section 3 4...
Страница 173: ...144 Host Link Function for Replacing Existing PLCs Section 4 6...
Страница 223: ...194 Enhanced Protocol Macro Functions Section 5 6...
Страница 277: ...248 Communications Frames Section 6 8...
Страница 291: ...262 Basic Operating Procedure in No protocol Mode Section 7 4...
Страница 301: ...272 Auxiliary Area and CIO Area Allocations Section 8 3...
Страница 391: ...362 Introduction Appendix A...
Страница 421: ...392 CompoWay F Master Protocol Appendix B...
Страница 513: ...484 E5 K Digital Controller Read Protocol Appendix F...
Страница 571: ...542 E5ZE Temperature Controller Write Protocol Appendix I...
Страница 587: ...558 E5 J Temperature Controller Protocol Appendix J...
Страница 627: ...598 ES100 Digital Controller Protocol Appendix K...
Страница 661: ...632 V500 V520 Bar Code Reader Protocol Appendix M...
Страница 697: ...668 3Z4L Laser Micrometer Protocol Appendix N...
Страница 717: ...688 Visual Inspection System Protocol Appendix O...
Страница 755: ...726 V600 V620 ID Controller Protocol Appendix P...
Страница 763: ...734 Hayes Modem AT Command Protocol Appendix Q...
Страница 767: ...738 Changing Communications Port Settings Using STUP 237 Appendix R...
Страница 781: ...752 Revision History...