Communication Fb Interface; Socket Communication Transmission (Usend_T Instruction) - Toshiba V Series User Manual

Admap-5m an712 module
Hide thumbs Also See for V Series:
Table of Contents

Advertisement

Chapter 5 Application Interface

5.4 Communication FB Interface

5.4.1

Socket communication transmission (USEND_T instruction)

5
30
This section describes the communication FB (function block) instructions (USEND_T,
URCV_T) that are used for instructing the AN712 module socket interface from the S3
controller. The specifications and limitations, basically the same as those of Ethernet
modules, are also described here. For a description of other instructions, refer to the
Instruction Manual (6F8C0865).
−Graphic representation−
E x e c u t i o n r e q u e s t
B O O L )
T r a n s m i s s i o n c o m m a n d
P T R )
T r a n s m i t t i n g d a t a
P T R )
T r a n s m i t t i n g d a t a
W o r d n u m b e r
U I N T )
Q u a l i f i e d E N i n p u t : -
Figure 5-10 USEND_T Graphic Representation
−Limitations−
• No. of AN712 modules, 4 per station: Model 3000 only
• No. of sockets per AN712: 12
• Protocol: Commands of only UDP/IP usable
• Transmitting text size: 500 words
−Functions−
• ADMAP-5M message transmission by the UDP/IP communication function
• When the execution request (REQ) changes from FALSE (OFF) to TRUE (ON), (N)
words of W transmission data (P) are transferred depending on the specified
transmission command (CMD).
• Up to 500 words of transmitting data can be specified.
• When the data transfer is completed, the done output (DONE) becomes TRUE (ON)
for 1-scan time only.
• If the data transfer ends in an error, error (ERROR) becomes TRUE (ON) for 1-scan
time only.
• When the data transfer is completed or ended in an error, its detail is output to Socket
No. or error status (STATUS).
• The instruction is completed normally (DONE=ON) at the second or later scan after
execution is requested (REQ=ON). Remember that, depending on the set control
cycle and the way of creating an application program, it may take a few seconds for
the normal completion of the instruction.
n s t a n c e n a m e
S E N D _ T
R E Q
D O N E
E R R O R
C M D
S T A T S
P
N
M a k i n g i n t o p u l s e : -
model 3000 ADMAP-5M AN712 Module User's Manual
D o n e o u t p u t
B O O L )
E r r o r
B O O L )
S o c k e t N o . o r
e r r o r s t a t u s
I N T )
I n d e x q u a l i f y : -

Advertisement

Table of Contents
loading

This manual is also suitable for:

3000

Table of Contents