Delta RMC151 User Manual

Page 564

Advertising
background image

RMC70/150 and RMCTools User Manual

Switch Settings
Set the intelligent function module switches for the desired serial settings. See section

4.5.2 of the following Mitsubishi manual: Q Corresponding Serial Communication Module

(User’s Manual).
The data bits must be 8 and the protocol must be Bidirectional. Make sure you set the

baud rate, parity and stop bits identically in the QJ71C24N and RMC75S.

Writing to the RMC75S

Use the GP.BIDOUT instruction to write to registers in the RMC75S. It is described in

section 9.5 of the “Q Corresponding Serial Communication Module User’s Manual (Basic)”.

The RMC75S requires that the data sent to it via this instruction is in the format shown

below.

0

(16 bits

integer)

Register

File
(16 bits

integer)

Register
Element
(16 bits

integer)

Data

Item 1
(32

bits,
typically

floating-

point)

Data

Item 2
(32

bits,
typically

floating-

point)

Data

Item n
(32

bits,
typically

floating-

point)


Description:

0

This 16-bit word must be 0.

Register

File

This 16-bit word is the file number of the register’s address

in IEC format. For example, for %MD8.12, the file number

is 8.

Register

Element

This 16-bit word is the element number of the register’s

address in IEC format. For example, for %MD8.12, the

element number is 12.

Data Time

1

The RMC70 has 32-bit registers. Therefore, you can only

write 32-bit words. Most RMC70 registers are floating-point;

a few are integers.

Data Item

n

To write n 32-bit registers to the RMC70, make sure the

TxCount is correct. It should be (2 x n) + 3.


Example
A programmer wishes to write 5 values to the variable table (address %MD56.0). These

values are: 32.876, 1.0, 12.0, 5.432, 862.0.
The send data for the GP.BIDOUT instruction would be as follows:

0
(16

bits)

56
(16

bits)

0
(16

bits)

32.876
(32

bits)

1.0
(32

bits)

12.0
(32

bits)

5.432
(32

bits)

862.0
(32

bits)

Reading from the RMC75S

To read registers from the RMC75S, use the GP.BIDOUT instruction to send a read

request and then use the GP.BIDIN instruction to read the received data. The GP.BIDIN

instruction is described in section 9.6 of the “Q Corresponding Serial Communication

Module User’s Manual (Basic)”.
Writing the Read Request
To send a request a read from the RMC75S, the send data of the GP.BIDOUT instruction

must be formatted as shown below. Each box is a 16-bit word.

544

Delta Computer Systems, Inc.

Advertising
This manual is related to the following products: