EasyManua.ls Logo

Omron Sysmac CJ Series - Page 78

Omron Sysmac CJ Series
86 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
9. Program
75
Se V_ICMD receive message (error message: undefined command)
[Settings]
ttings the R
<h>
+“ICMD”+&(W(1),4)+<c>+<t>
(5) (1) (2) (3) (4)
No. Code Remarks
(1) <h> (Header) H Type: Code, Data: SO
(2) “ICMD” Constant ASCII
(3) &(W(1),4) (W(1),4): Converts 4-byte data and stores it in the [first
receive word specified with the PMCR instruction
operand + 1 word].
&: Forward direction hexadecimal conversion (Converts
the receive message from ASCII code into hexadecimal,
and stores the receive data from the lower byte)
(4) <c> (Check code)
Type: LRC (Horizontal parity) (0)(1-byte BIN)
Setting range: 2 and 3
(5) <t> (Terminator)
Type: Code, Data: CR+LF
[Response format of error message (undefined command)]
This is the response format of an error message which is received by the SCU Unit from
the destination device according to the setting of RV_ICMD.
Command Number of
byes
Remarks
Start code 1 Fixed: SOH (#01)
Command code 4 Fixed: ”ICMD” (Destination device command, undefined
command)
Response code 4 #140X (X=0 to 9, A to F ”ICMD code)
Destination device error code
(Refer to 8.8. Error Code List.)
FCS 2 The horizontal parity is calculated based on the data
after the start code (SOH) through just before the FCS.
The result is converted in 2 ASCII code characters and
they are added to the message.
Terminator 2 Fixed: CR+LF (#0D0A)

Related product manuals