Omron CS1G/H-CPUxx-EV1 Programming Manual page 334

Sysmac cs series; sysmac cj series
Hide thumbs Also See for CS1G/H-CPUxx-EV1:
Table of Contents

Advertisement

Serial Communications
Communications Frames
Command Frame
Frame before Conversion
FINS header
Remote
Remote
network
node
address
address
(DNA)
(DA1)
Serial port
00 hex
allocated
address
or local
or local
network
network
address
node
address
Frame after Conversion
STX
Node No.
(× 10 1 )
(02 hex)
(× 10 2 )
(2 bytes
ASCII)
Frame before Conversion
STX
Node No.
(× 10 1 )
(02 hex)
(× 10
(2 bytes
ASCII)
Frame after Conversion
FINS header
Remote
Remote
network
node
address
address
(DNA)
(DA1)
Serial
00 hex Serial
port
allocated
address
298
FINS command
Remote
Etc.
MRC
SRC
unit
address
(DA2)
Serial
28
03
port unit
address
CompoWay/F
Sub-
SID
Command
address
"0"
(MRC, SRC)
"00"
(ASCII
(4 bytes ASCII)
(ASCII
30 hex)
3030 hex)
etc.
Note CompoWay/F commands use ASCII as the transmission code. Therefore, be
sure to use ASCII for the CompoWay/F command after the FINS command
code 2803 hex (from node number to text) using CMND(490) or other instruc-
tion.
Example: If the CompoWay/F command MRC SRC is "01" "02" (where the
quotation marks ("") indicate ASCII characters), 0, 1, 0, 2 must be treated as
ASCII characters. Therefore, set "01" as 3031 hex (not 01 hex), and "02" as
3032 hex (not 02 hex).
Further, to write the CompoWay/F command to the command storage area
using CMND(490) in frame order (without creating empty bytes), the SID com-
ponent of the CompoWay/F command requires 1 byte of ASCII as 30 hex, so
the subsequent components (s+3 and afterwards) must be set in one byte
each.
CompoWay/F
Sub-
End code
Command
address
(MRC,
(2 bytes
2
)
"00"
SRC)
ASCII)
(ASCII
(4 bytes
3030
ASCII)
hex) etc.
FINS command
FINS end code
Remote
MRC
SRC
MRES SRES
unit ad-
dress
(DA2)
etc.
User-
User-
03
28
speci-
speci-
port unit
fied
fied
address
CompoWay/F
(See note.)
Node No.
Sub-
SID
Command
(× 10 1 )
address
"0"
(MRC, SRC)
(× 10 2 )
"00"
(ASCII
(4 bytes ASCII)
(2 bytes
(ASCII
30 hex)
ASCII)
3030 hex)
etc.
Text
ETX
(ASCII)
(03 hex)
Response
Text
ETX
BCC
(MRES,
(ASCII)
(03 hex)
SRES)
(4 bytes
ASCII)
CompoWay/F
(See note.)
Node No.
Sub-
End code
1
address
(× 10
)
(2 bytes
2
"00"
(× 10
)
ASCII)
(ASCII
(2 bytes ASCII)
3030 hex)
etc.
Section 6-3
Text
(ASCII)
BCC
Command
Response
Text
(MRC,
(MRES,
(ASCII)
SRC)
SRES)
(4 bytes
(4 bytes
ASCII)
ASCII)

Advertisement

Table of Contents
loading

Table of Contents