Nj-Series Instructions Reference Manual (W502 - Omron NJ501-1500 Reference Manual

Machine automation controller nj-series
Hide thumbs Also See for NJ501-1500:
Table of Contents

Advertisement

2 Instruction Descriptions
Sample Programming
In this sample, a CJ-series Serial Communications Unit is used for data communications with an
OMRON Temperature Controller. The present value of the Temperature Controller is read with a proto-
col macro. CompoWay/F master sequence 610 (Read Variable Area) is used. The contents of send
data array SendData[] is sent from the Controller. The data received from the Temperature Controller is
stored in receive data array RecvData[].
The following communications specifications are used.
Item
Unit used
Unit number
Port number
Communications
sequence number
Remote node number
Data to read
Serial Communications Unit
with unit number 2
Send data
Receive data
The communications data for sequence 610 (Read Variable Area) is allocated as shown below.
Send Data: WORD Array
SendData[0]
Number of send data words
SendData[1]
Not used. Node No.
SendData[2]
Variable type
SendData[3]
Read start address
SendData[4]
Number of elements
2-652
Description
Serial Communications Unit
2
1 (RS-422/485)
610 (Read Variable Area)
3
Present value
RS-422A/485
E5@N
E5@N
Temperature
Temperature
Controller,
Controller,
node 00
node 01
Receive Data: WORD Array
RecvData[0]
Number of receive data words
RecvData[1]
RecvData[2]
RecvData[3]
E5@N
Temperature
Controller,
node 03
Response code
Receive data

NJ-series Instructions Reference Manual (W502)

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Nj501-1300Nj501-1400

Table of Contents