100% found this document useful (1 vote)
1K views14 pages

SS - Lan

This document provides guidelines for an S-LAN basic interface connection. It outlines: 1) The interface signal circuits and their purposes. 2) Diagrams of interface signal input/output circuits. 3) Transmission procedures including asynchronous communication at 19200 bps using polling or selective sequences. 4) Application of transmission control sequences and examples of transmissions between devices and the POS system. 5) Specifications for transmission code intervals, standby durations, and time durations for changing transmission and reception.

Uploaded by

syahabdulrizal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
1K views14 pages

SS - Lan

This document provides guidelines for an S-LAN basic interface connection. It outlines: 1) The interface signal circuits and their purposes. 2) Diagrams of interface signal input/output circuits. 3) Transmission procedures including asynchronous communication at 19200 bps using polling or selective sequences. 4) Application of transmission control sequences and examples of transmissions between devices and the POS system. 5) Specifications for transmission code intervals, standby durations, and time durations for changing transmission and reception.

Uploaded by

syahabdulrizal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 14

S S - L A N Basic Guideline

Tominaga Mfg. Co.


Designing Division
April 2012

1
3.Connecter Style

3-1 Interface Signal

Interactive Co
nnection Signal
Interactive Connecter Circuit Name
course
Circuit Signal

FG Rectangular Earth Circuit No Direction

TR A Transmission/Receipt Data (A) Two Way

TR B Transmission/Receipt Data (B) Two Way

Signal Purpose of Earth Connectio


SG No Direction
n Circuit

3-2 Interface signal Input/output circuit

2
convertible
75174相当品

TRA
TXD
2.2KΩ

TRB
RTS Vcc

82KΩ

convertible
75175相当品
10KΩ

RXD
Vss SG
10KΩ

82KΩ FG

Vss

Vcc=+5V
Vss= 0V

3-3 Amount of the connecting Device

The Maximum amount of the electrical Connecter ion Circuit for 1 port on POS is 32.

3
4.Transmission Procedure

4‐1 Basic Use

(1)Interface Standard In Conformity with EIS RS-485 Standard


(2)Synchronized Style Asynchronous
(3)Transmission Speed 19200BPS
(4)Transmission Way Semi-Double
(5)Transmission Procedure Control Procedure (Polling/ Selective Style)
(6)Error Recognition Flat (Even), Vertical (Even) Parity Check
(7)Error Correction Auto-Retransmission (ACK/NAK Style)
(8)Application Code JIS-C-6220 8 units sign (with checking with the
following page)
(9)Composition per 1 letter 11 Bits

Stop Bit
Parity Bit
b 7
b 6
b 5
b 4
b 3
b 2
b 1
b 0
Start Bit

4
5
4-2 Application of Transmission Control and the Sequence

Control Application
Code
& Functions (Hexadecimal)
The Sequence

Prefix・ENQ
(Polling Sequence or Selecting Sequence)
(ENQ Sequence)

S T X Indication for Staring Text /block 02

E T X Indication for finishing Text /block 03

Indication for responding to the affirmations


ACK.0 10.30
of Text/Block and Selecting Sequence
ACK.1 10.31
(Interactive response of ACK.0/ACK.1)

Indication for responding to the denials of


N A K 15
Text/Block and Selecting Sequence

Indication for responding to the demand of


E N Q Text/Block and Selecting Sequence 05

Indication for resignation of transmission


authority
E O T 04
Indication for responding to the demand of
Text/Block and Selecting Sequence

6
4-3 ENQ Sequence

E S U E
O N
T A A Q

Unit Address

7 6 5 4 3 2 1 0
0 1
Model(*)

0 0 : Selecting
0 1 : Polling

Station Address

The Device number (40H ∼7FH) of the classified


individual Device by Unit Address, that means Maximum
64 per unit.

(Attention)That had better add EOT before SA・UA above.

7
4‐4 Definition of the Unit address

To define the Unit Address as each unit isn’t duplicated

*Each Device in Unit Address

0H Reconciliation

1H Dispenser

2H

3H (Reserved)

4H Oil Gauge

5H (Reserved)

6H Car Wash

7H Large-sized indicator

8H Cash changer

9H Oil Changer

AH (Reserved)

BH

CH

DH Self-service console

EH Self-service console

FH (Reserved)

8
4‐5 Text Form

S E B
Control
T Data Part T C
part
X X C
(*)

BCC Calculation

Max 256 Byte

*Control Structure

S U

A A

The structure is the same as ENQ Sequence

(Attention) The code to use for the part of the Data defines to a separated telegram.

9
4‐6 The examples of transmissions

1) Polling (in case of no transmission data)

E S U E
POS O N
T A A Q

E
Each
O
Device
T

2) Polling (in case of existence of transmission data)

A
E S U E
C
POS O N
K
T A A Q
1
S S U E B E
Each
T DATA T C O
device
X A A X C T

3)Selecting

E S U E S S U E B E
POS O N T DATA T C O
T A A Q X A A X C T
A A
Each C C
Device K K
0 1

4) Selecting (time of being transmission data unrecognizable)

E S U E
POS O N
T A A Q

E
Each
O
Device
T

10
4‐7 Stipulated Time duration

4‐7‐1 Transmission code Interval in one block

a.From POS to each device in one block: for under 1.7m/s.

b.From each device to POS : for under 1.7m/s.

4‐7‐2 Transmission code interval between EOT and SA・UA・ENQ

a.In Time of continual transmission: for less than 1.7ms

b.In time of transmitting separately : for over 10ms

4‐7‐3 Time to change for transmission/ reception of POS side

a.Time duration between Transmission though reception: for less than 1.7ms

b.From reception to transmission: (1) before fixing the data link


For more than 10ms and less than 500ms

(2)After fixing data link


For more than over 1.7ms and less than 500ms

4‐7‐4 Standby duration of responding for POS side

For over 200ms.

4‐7‐5 Time duration to change transmission/reception among each device

a.From transmission to reception : for under 1.7ms

b.Between reception through transmission : for over 1.7ms and less than 200ms

*)1.7ms:The time indicates transmission duration in 32 bits per 19200BPS

*)10ms: (1.7ms)+(approximately 8ms of internal processing duration)

*)From Transmission to reception : from transmission of the final Application of St


op bit to reception of the start Application of the start bit

*)From reception and Transmission : From reception of the final application of stop
bit to transmission of the start application of the start bi

11
4‐8 Transmision Matrix

4‐8‐1 Polling of POS

(2)
Cond (1)
Telegraphic message Waiting
ition Waiting after transmission・
after response・transmission・
Reception of POL・ENQ
reception
Event

Text BCC:OK To ACK1->(2)


BCC:OK To ACK1->(2)
BCC:NG To NAK->(2)
BCC:NG less than 5 times, send
to NAK ->(2).
If retry-over, idle

EOT To idle To idle

Time Out To idle To idle

4‐8‐2 Selecting for POS side

Cond (3)Response waiting


(1)response waiting (2)Response waiting
ition after the ENQ demand
After transmission/r after transmission
for transmission an
eception of SEL・ENQ and reception of
Event d reception
telegraphic message
To telegraphic
ACK0 To idle Resend to the text
message text -> (2)
ACK1 To idle to send EOT To idle to send EOT
Less than 5 times:To
Less than 5 times:to
NAK resending the text
resend the text ->
->(2)
(2)
More than 5 times:
More than 5 times,
To idle to send to
idle to send to EOT
EOT
EOT To idle

Less than 5times:To


Time out
Less than 5times:To send ENQ ->(3)
To idle send ENQ ->(3) More than 5 times:To
send to EOT
Count:C1=5

12
4‐8‐3 Polling of each device

Cond
(1) (2) Waiting for telegraphic
ition
Waiting for POL・ENQ/SEL・ENQ message after Transmission and
Reception
event
SA・UA:OK
SA・UA:OK
POL・ To send the text to (2)
Retry send text
ENQ
To resend the Text to (2)
To send EOT to (1)
SA・UA:NG To (1)
SA・UA:NG To (1)

ACK1 Send EOT to (1)


Less than 7 times : To resend
the text to (2)
NAK
More than 7 times : Send EOT to
(1)

4‐8‐4 Selecting for each device

Cond (3)Response waiting


(2) Waiting for
ition (1)Waiting for for ACK1 after
telegraphic message
POL・ENQ/SEL・ENQ transmission and
Event reception
SA・UA:OK
SA・UA:OK
SEL SA/UA:OK To send ACKO to (2)
To ACKO to (2)
ENQ To send ACKO to (2)
To send EOT to (1)
To send EOT to (1)
SA・UA:NG
SA・UA:NG
To (1) SA・UA:NG
To (1)
To (1)
BCC:OK
Text To send ACK1 to
(3)

BCC:NG
To send NAK to (2)
To resend the To resend the
ENQ response to (2) just response to (3)just
prior prior

13
4‐9 About Imputed close position

4‐9‐1 Polling

P E A Imputed close position on POS


POS O・N C・1 side
L Q K
E
Each
Text O Imputed close position
device
T for each device

4‐9‐2 Selecting

S E E Imputed close position


POS E・N Text O on POS side
L Q T
A A
Each
C・0 C・1 Imputed close position for
device
K K each device

Annotation1)
With Poling, if it can’t secure AKC・1 to the Text, Each Device can’t be resend
to the text on Poling・Sequence afterwards.

Annotation2)
With Selecting, if it can’t secure text for ACK1, POS has to be able to
resend the Text on Selecting Sequence afterwards.

Annotation 3)
As indicated above, on this protocol, if any transmission errors happen to
this protocol, there is some possibility to the duplicated text of the both
of the poling and Selecting. And hence you need to consider about that.

Especially, for Example in time of duplicating for dispenser status on


POS side, there is a need to figuring out some way not to deal with the data
of 2 times fueling

14

You might also like