![YASKAWA 040-1CA00 Manual Download Page 63](http://html1.mh-extra.com/html/yaskawa/040-1ca00/040-1ca00_manual_906978063.webp)
5.3 STX/ETX
5.3.1 Basics STX/ETX
STX/ETX is a simple protocol employing header and trailer. The STX/ETX procedure is
suitable for the transfer of ASCII characters (20h…7Fh). It does not use block checks.
Any data transferred from the periphery must be preceded by an STX (Start of Text) fol-
lowed by the data characters. An ETX (End of Text) must be inserted as the terminating
character. The effective data, which includes all the characters between STX and ETX,
are transferred to the host system when the ETX has been received. When data is sent
any user data is handed to the CP where it is enclosed with an STX start character and
an ETX termination character and transferred to the communication partner.
You may define up to 2 start and end characters. It is also possible to specify a ZNA for
the sending station.
5.3.2 Parameter data of STX/ETX
DS - Record set for access via CPU, PROFIBUS and PROFINET
IX - Index for access via CANopen
SX - Subindex for access via EtherCAT with Index 3100h + EtherCAT-Slot
More can be found in the according manual of your bus coupler.
Name
Bytes
Function
Default
DS
IX
SX
PII_L
1
Length process image input data
1)
2)
02h
3100h
01h
PIQ_L
1
Length process image output data
1)
2)
02h
3101h
02h
DIAG_EN
1
Diagnostic interrupt
1)
00h
00h
3102h
03h
BAUD
1
Baud rate
00h
80h
3103h
04h
PROTOCOL
1
Protocol
02h
80h
3104h
05h
OPTION3
1
Character frame
13h
80h
3105h
06h
OPTION4, 5
2
ZNA 0 ... 65535 (in ms)
0
80h
3106h ...
3107h
07h ... 08h
OPTION6, 7
2
TMO 0 ... 65535 (in ms)
250
80h
3108h ...
3109h
09h ... 0Ah
OPTION8
1
Number Start identification
1
80h
310Ah
0Bh
OPTION9
1
Start identification 1
2
80h
310Bh
0Ch
OPTION10
1
Start identification 2
0
80h
310Ch
0Dh
OPTION11
1
Number End identification
1
80h
310Dh
0Eh
OPTION12
1
End identification 1
3
80h
310Eh
0Fh
OPTION13
1
End identification 2
0
80h
310Fh
10h
Mode of operation
Telegram structure
Parameters
VIPA System SLIO
Serial communication protocols
STX/ETX > Parameter data of STX/ETX
HB300 | CP | 040-1CA00 | en | 18-28
63