![background image](http://html1.mh-extra.com/html/omron/cx-simulator-1-9/cx-simulator-1-9_operation-manual_744207171.webp)
Examples of Serial Communications Debugging
Section 5-5
132
5-5-2 Debugging by Message Display
The following items can be confirmed in debugging by message display.
Confirmation item
Confirmation contents
If the setting is "Message
Send Enabled"?
A message will be displayed when executing a
send instruction. Possible to confirm if the
system setting is correct.
If communications parame-
ters are correct?
Possible to confirm the setting by a STUP
instruction.
The Send Message Format
of a TXD Instruction
The communications data sent by a TXD in-
struction is displayed as a message.
The Receive Timing of a
RXD Instruction
The timing of a RXD instruction issue is dis-
played.
The Send Message Format
of SEND/RECV/CMND
The content of FINS command sent by each
command is displayed as a message.
A sample of message display when debugging serial communications is
shown below. Date, Time, (Cycle count), Communications instruction exe-
cuted, (Number of bytes sent), and send data are displayed in sequence from
the left.
5-5-3 Debugging by Serial Data File
Setting the communications settings of serial communications to "File" causes
send/receive by serial communications instructions to be performed with
read/write from/to a Serial Data File (Write for send and read for receive).
Serial Data File
The Serial Data File is a data file individually allocated to each COM port on
the computer.
•
Folder
: PLC data folder\LOG
•
Input (receive) file name
: COM port name In.txt
•
Output (send) file name
: COM port name Out.txt
Summary of Contents for CX-Simulator 1.9
Page 1: ...Cat No W366 E1 10 CX Simulator Ver 1 9 SYSMAC WS02 SIMC1 E OPERATION MANUAL...
Page 2: ......
Page 3: ...SYSMAC WS02 SIMC1 E CX Simulator Ver 1 9 Operation Manual Revised December 2009...
Page 24: ...xxv...
Page 30: ...xxxi...
Page 35: ...xxxvi...
Page 39: ......
Page 63: ...Comparison of the CX Simulator and SYSMAC CS CJ series PLCs Section 1 6 24...
Page 75: ...Installing and Uninstalling the Software Section 2 1 36...
Page 157: ...Task Debugging Section 4 4 118...
Page 195: ...Connection with Application Programs Section 7 2 156...
Page 225: ...Checking the Result Section 8 5 186...
Page 277: ...Other Functions Section 9 4 238...
Page 289: ...Other Tips for Troubleshooting Section 10 3 250...
Page 304: ......
Page 305: ......