Etxd (User Communication Transmit Over Ethernet); Erxd (User Communication Receive Over Ethernet) - IDEC FC6A-C16K1CE Communications Manual

Fc6a series microsmart all-in-one type
Hide thumbs Also See for FC6A-C16K1CE:
Table of Contents

Advertisement

ETXD (User Communication Transmit over Ethernet)

ETXD
S1
*
*****
When the input is on, the transmission data designated by S1 is transmitted to the device connected with the specified connection.
When transmission is complete, the device designated by D1 is turned on. Transmit status (the transmission status and error code) is stored to the
device designated by D2.
The byte count of transmitted data is stored to D2+1.
Apart from the connection settings, the settings of ETXD and TXD instructions are the same. For details on TXD instruction, see "TXD (Transmit)" on
page 5-2.
The ETXD instruction cannot be used in an interrupt program.
If used, a user program execution error will result, turning on special internal relay M8004 and the ERR LED on the FC6A Series MicroSmart. For
details about the user program execution errors, see Chapter 3 "User Program Execution Errors" in the "FC6A Series MicroSmart LAD Programming
Manual".
Note: For details on the user communication client and user communication server specifications and for details on user communication over
Ethernet, see "User Communication via Ethernet Communication" on page 5-35.

ERXD (User Communication Receive over Ethernet)

ERXD
S1
*
*****
When the input is on, the received data designated by S1 is received from the device connected with the specified connection.
When all data has been received, the device designated by D1 is turned on. Receive status (the receive status and error code) is stored to the device
designated by D2.
The byte count of received data is stored to D2+1.
When user communication receive instruction cancel flag (M8200 - M8207) is turned on while receiving incoming data, the execution of all active
receive instructions for the corresponding connection is canceled.
Apart from the connection settings and the allocation of the user communication receive instruction cancel flags, the settings of ERXD and RXD
instructions are the same. For details on RXD instruction, see "RXD (Receive)" on page 5-10.
The ERXD instruction cannot be used in an interrupt program.
If used, a user program execution error will result, turning on special internal relay M8004 and the ERR LED on the FC6A Series MicroSmart. For
details about the user program execution errors, see Chapter 3 "User Program Execution Errors" in the "FC6A Series MicroSmart LAD Programming
Manual".
Note: For details on the user communication client and user communication server specifications and for details on user communication over
Ethernet, see "User Communication via Ethernet Communication" on page 5-35.
D1
D2
*****
*****
D1
D2
*****
*****
FC6A S
M
S
A
ERIES
ICRO
MART
LL
5: U
The ETXD instruction converts transmission data to the specified data type and sends it
to the external device connected over Ethernet.
The ERXD instruction receives data from an external device connected over Ethernet,
converts the received data in the specified format, and stores the converted data to
data registers.
-
-O
T
C
IN
NE
YPE
OMMUNICATION
C
SER
OMMUNICATION
M
FC9Y-B1730
ANUAL
I
NSTRUCTIONS
5-23

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents