Chapter 17 Communicating With Ascii Code (Ascii-Bin Conversion); Ascii-Binary Conversion; Settings For Ascii-Bin Conversion - Mitsubishi Electric MELSEC iQ-R Series User Manual

Serial communication module
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

17
COMMUNICATING WITH ASCII CODE (ASCII-
BIN CONVERSION)
This chapter explains the ASCII-binary conversion in order to transmit/receive data in ASCII code to/from a target device.
17.1

ASCII-Binary Conversion

ASCII-BIN conversion is the data conversion function that converts all data communicated between C24 and a target device
to ASCII code data.
The ASCII-BIN conversion of data to be sent/received is performed by C24 according to the parameter settings.
CPU module
1234
5678
17.2

Settings for ASCII-BIN Conversion

In order to convert data to be sent/received with the nonprocedural protocol and bidirectional protocol from binary code to
ASCII code, it is necessary to configure the setting for C24 before performing data communication.
The settings for ASCII-BIN conversion are as shown below:
• The ASCII-BIN conversion settings can be configured for each interface.
• To enable ASCII-BIN conversion, set "ASCII-BIN conversion designation" to "ON".
Navigation window  [Parameter]  [Module Information]  "Module Name"  [Module Parameter]  "Basic Settings"
 "Various control specification"
C24
H
H
17 COMMUNICATING WITH ASCII CODE (ASCII-BIN CONVERSION)
With ASCII-BIN conversion
32
31
34
33
H
H
H
H
37
38
35
36
H
H
H
H
Without ASCII-BIN conversion
12
34
H
H
78
56
H
H
17.1 ASCII-Binary Conversion
Target device
347
17

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents