EasyManuals Logo

IDEC OpenNet series User Manual

IDEC OpenNet series
427 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #240 background imageLoading...
Page #240 background image
17: USER COMMUNICATION INSTRUCTIONS
OPENNET CONTROLLER USERS MANUAL 17-13
RXD1 (Receive 1)
RXD2 (Receive 2)
Valid Operands
For the valid operand number range, see page 6-2.
Internal relays M0 through M2557 can be designated as D1. Special internal relays cannot be designated as D1.
Receive format designated by operand S1 can be a maximum of 200 bytes.
When data receive is complete, an output or internal relay, designated by operand D1, is turned on.
Destination 2 occupies two consecutive data registers starting with the operand designated by D2. The receive status data
register, D0 through D7998, stores the status of data receive and error code. The next data register stores the byte count of
received data. The same data registers should not be used as transmit status registers for TXD1/TXD2 instructions and
receive status registers for RXD1/RXD2 instructions.
While RXD1/RXD2 instructions are ready for receiving data after a receive format is complete, turning on the user com-
munication receive instruction cancel flag M8022 or M8023 cancels all RXD1/RXD2 instructions.
Precautions for Programming the RXD Instruction
The OpenNet Controller can execute a maximum of five RXD1 and five RXD2 instructions that have a start delimiter at
the same time. If a start delimiter is not programmed in RXD1/RXD2 instructions, the OpenNet Controller can execute
only one RXD1 and one RXD2 instructions at a time. If the start input for a RXD1/RXD2 instruction is turned on while
another RXD1/RXD2 instruction without a start delimiter is executed, a user communication error occurs.
Since RXD instructions are executed in each scan while input is on, a pulse input from a SOTU or SOTD instruction
should be used as required.
Once the input to the RXD instruction is turned on, the RXD is activated and ready for receiving incoming communica-
tion even after the input is turned off. When the RXD completes data receiving, the RXD is deactivated if the input to the
RXD is off. Or, if the input is on, the RXD is made ready for receiving another communication. M8022/M8023 deacti-
vate all RXD instructions waiting for incoming communication.
User Communication Receive Instruction Dialog Box in WindLDR
Operand Function I Q M R T C D L Constant Repeat
S1 (Source 1) Receive format —————— X X
D1 (Destination 1) Receive completion output X —————
D2 (Destination 2) Receive status —————— X ——
When input is on, data received through the RS232C port 1 from a
remote terminal is converted and stored in data registers according to
the receive format designated by S1.
RXD
1
S1
*****
D1
*****
D2
*****
When input is on, data received through the RS232C port 2 from a
remote terminal is converted and stored in data registers according to
the receive format designated by S1.
RXD
2
S1
*****
D1
*****
D2
*****
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the IDEC OpenNet series and is the answer not in the manual?

IDEC OpenNet series Specifications

General IconGeneral
BrandIDEC
ModelOpenNet series
CategoryController
LanguageEnglish

Related product manuals