SOM-1750-001.pdf - 第5页
Tg0967-PM-SO 1. Outline Data can be exchanged between the main machine (TCM-X series) and the external device through data communication for the following purposes. • The main machine automatically reports the component …

Contents
Page
Before Use ................................................................................................. 1
Contents ..................................................................................................... 3
1. Outline ..................................................................................................... 4
2. Functions ................................................................................................ 4
2.1 Component Shortage Data Output Function ................................. 4
2.1.1 Functional Requirements ............................................................ 4
2.1.2 Interface ........................................................................................ 5
2.1.3 Error Processing .......................................................................... 5
2.1.4 Comunication Protocol (Real-Time System) ............................. 5
2.1.5 Example of Data Output............................................................... 8
2.1.6 Component Shortage Determination
on Data Output Data.................................... 9
3. Example of Data Output
(Component Shortage Output Function)
(Machine to External Host Computer) ............................................ 11
4. Operation Window ............................................................................... 14
4.1 Serial Out Mode Setting................................................................. 14
4.2 Setting of the Device to be Connected (Host) ............................ 15
0309-001 3 Tg-0967-PM-SO

Tg0967-PM-SO
1. Outline
Data can be exchanged between the main machine (TCM-X series)
and the external device through data communication for the following
purposes.
• The main machine automatically reports the component shortage data.
2. Functions
2.1 Component Shortage Data Output Function
This function makes it possible to issue component shortage alarm and
error messages through the local area network (Ethernet) running from
the storage unit of the network terminal (option).
The component shortage data is automatically reported from the main
machine side. (Real-Time System)
2.1.1 Functional Requirements
• Component shortage alarms and errors are transmitted.
Alarm Message : An alarm message related to component short-
age is issued.
Error Message : An error message related to component shortage
is issued.
• Up to 64 messages (data) can be stored internally.
65th or more messages (data) are discarded.
• Both alarm and error messages are issued at real time whenever
such data is generated.
When a component shortage error (including a pickup error) has oc-
curred at the last objective feeder slot No. for alternate mode, all the
objective alternate information (link data) is transmitted collectively.
Alarm and error messages (data) might be issued more than
once.
• The transmitted data is cleared when the corresponding "ACK" re-
sponse is received from the external device.
In other cases, the data is initialized when power is supplied or a
communication error has occurred (described later).
• It is also possible to set "ENABLE" or "DISABLE" in the "DATA OUT-
PUT MODE" data box at the corresponding window.
1. Outline
0309-001 4
Note

Tg0967-PM-SO
0309-001 5
2.1.2 Interface
• Ethernet LAN Connection
• Socket Communication using TCP/IP
(External Host: Server, Device: Client)
2.1.3 Error Processing
• NAK Response (other than ACK) Received
When the "NAK (0x15)" is received, the data is transmitted again.
Note: The frequency control must be made on the host computer
side.
• Time-Out: Monitoring the normal performance of the external host
computer
The machine monitors if the "ACK" response (*2) is received from
the external host computer for the specified period of time (*1) after
the component shortage data has been transmitted to the external
device.
When the expected response is not received within the specified time,
the data is discarded.
(*1) The time can be specified in the "COMMUNICATION TIMER" data
box at the display.
Data Input Range: 0.1 to 20.0 seconds (in increments of 0.1 sec-
ond)
(*2) When the external host computer has normally received the data, it
sends back an "ACK (ASCII Code: 0x06)".
2.1.4 Communication Protocol (Real-Time System)
Fig. 1
2.1 Component Shortage Data Output Function