![IDEC MICROSmart FC5A Series Скачать руководство пользователя страница 328](http://html.mh-extra.com/html/idec/microsmart-fc5a-series/microsmart-fc5a-series_user-manual_617369328.webp)
25:
E
XPANSION
RS232C/RS485
C
OMMUNICATION
25
‐
12
FC5A
M
ICRO
S
MART
U
SER
’
S
M
ANUAL
FC9Y
‐
B1273
Setting
Communication
Parameters
Set
the
communication
parameters
to
match
those
of
the
printer.
See
10.
For
details
of
the
communication
parameters
of
the
printer,
see
the
user’s
manual
for
the
printer.
An
example
is
shown
below:
Note:
The
receive
timeout
value
is
used
for
the
RXD
instruction
in
the
user
communication
mode.
Since
this
example
uses
only
the
TXD
instruction,
the
receive
timeout
value
has
no
effect.
Ladder
Diagram
The
second
data
stored
in
special
data
register
D8014
is
compared
with
0
using
the
CMP=
(compare
equal
to)
instruction.
Each
time
the
condition
is
met,
the
TXD3
instruction
is
executed
to
send
the
C2
and
D30
data
to
the
printer.
A
counting
circuit
for
counter
C2
is
omitted
from
this
sample
program.
Communication
Parameters:
Baud
rate
9600
bps
Data
bits
8
Parity
None
Stop
bits
1
S1
–
24
M8120
REP
D1
–
D8105
S2
–
0
REP
D1
–
M0
M8120
is
the
initialize
pulse
special
internal
relay.
24
D8105
to
enable
the
DSR
option
for
busy
control.
M8125
is
the
in
‐
operation
output
special
internal
relay.
CMP=(W)
compares
the
D8014
second
data
with
0.
When
the
D8014
data
equals
0
second,
M0
is
turned
on.
Counter
C2
current
value
is
moved
to
D31.
D8012
hour
data
is
moved
to
D20.
D8013
minute
data
is
moved
to
D21.
When
M0
is
turned
on,
TXD3
is
executed
to
send
73
‐
byte
data
through
the
RS232C
port
3
to
the
printer.
D20
hour
data
is
converted
from
BCD
to
ASCII,
and
2
digits
are
sent.
D21
minute
data
is
converted
from
BCD
to
ASCII,
and
2
digits
are
sent.
D31
counter
C2
data
is
converted
from
BCD
to
ASCII,
and
4
digits
are
sent.
D30
data
is
converted
from
BCD
to
ASCII,
and
4
digits
are
sent.
END
SOTU
SP
20h
SP
20h
SP
20h
–
2Dh
–
2Dh
–
2Dh
SP
20h
P
50h
R
52h
I
49h
N
4Eh
T
54h
SP
20h
T
54h
E
45h
S
53h
T
54h
SP
20h
–
2Dh
–
2Dh
–
2Dh
CR
0Dh
LF
0Ah
CR
0Dh
LF
0Ah
SP
20h
SP
20h
SP
20h
D20 Conversion: BCD
ASCII Digits: 2 REP: 01
H
48h
SP
20h
D21 Conversion: BCD
ASCII Digits: 2 REP: 01
M
4Dh
CR
0Dh
LF
0Ah
CR
0Dh
LF
0Ah
SP
20h
SP
20h
SP
20h
C
43h
N
4Eh
T
54h
2
32h
.
2Eh
.
2Eh
.
2Eh
D31 Conversion: BCD
ASCII Digits: 4 REP: 01
CR
0Dh
LF
0Ah
SP
20h
SP
20h
SP
20h
D
44h
0
30h
3
33h
0
30h
.
2Eh
.
2Eh
.
2Eh
D30 Conversion: BCD
ASCII Digits: 4 REP: 01
CR
0Dh
LF
0Ah
CR
0Dh
LF
0Ah
S1
73
D2
D0
D1
M1
M0
M0
MOV(W)
TXD
3
CMP=(W)
S1
–
D8014
M8125
S1
–
C2
REP
D1
–
D31
MOV(W)
S1
–
D8012
REP
D1
–
D20
MOV(W)
S1
–
D8013
REP
D1
–
D21
MOV(W)
Содержание MICROSmart FC5A Series
Страница 1: ...FC5A SERIES FC9Y B1273 1 User s Manual Advanced Volume ...
Страница 2: ......
Страница 8: ...Preface 6 FC5A MicroSmart User s Manual FC9Y B1273 ...
Страница 14: ...TABLE OF CONTENTS vi FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Страница 52: ...4 DATA COMPARISON INSTRUCTIONS 4 10 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Страница 72: ...5 Binary Arithmetic Instructions 5 20 FC5A MicroSmart User s Manual FC9Y B1273 ...
Страница 88: ...7 SHIFT ROTATE INSTRUCTIONS 7 12 FC5A MicroSmart User s Manual FC9Y B1273 ...
Страница 112: ...8 DATA CONVERSION INSTRUCTIONS 8 24 FC5A MicroSmart User s Manual FC9Y B1273 ...
Страница 138: ...11 PROGRAM BRANCHING INSTRUCTIONS 11 14 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Страница 178: ...13 PULSE INSTRUCTIONS 13 32 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Страница 202: ...14 PID INSTRUCTION 14 24 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Страница 206: ...15 DUAL TEACHING TIMER INSTRUCTIONS 15 4 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Страница 214: ...16 INTELLIGENT MODULE ACCESS INSTRUCTIONS 16 8 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Страница 248: ...21 COMPUTER LINK COMMUNICATION 21 4 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Страница 272: ...23 MODBUS TCP COMMUNICATION 23 10 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Страница 332: ...25 EXPANSION RS232C RS485 COMMUNICATION 25 16 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Страница 341: ...NOTE FC5A MICROSMART USER S MANUAL FC9Y B1273 1 ...
Страница 342: ...NOTE 2 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...