12.4.3
COMMREQs that Can be Pending While
Others Execute
The table below shows whether Write Bytes, Read Bytes and Read String COMMREQs
can be pending when other COMMREQs are executed.
NEW COMMREQ
Currently--
pending
COMMREQs
Autodial
(4400)
Write
bytes
(4401)
Initialize
Port
(4300)
Set Up
Input
Buffer
(4301)
Flush
Input
buffer
(4302)
Read
port
status
(4303)
Write
port
control
(4304
Read
bytes
(4402)
Read
String
(4403)
Cancel
Operation
(4399)
Serial
Port
Setup
(FFF0)
Write bytes
(4401)
No
No
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
No
Read bytes
(4402)
No
Yes
Yes
No
No
Yes
Yes
No
No
Yes
No
Read String
(4403)
No
Yes
Yes
No
No
Yes
Yes
No
No
Yes
No
12.4.4
Initialize Port Function (4300)
This function causes a reset command to be sent to the specified port. It also cancels any
COMMREQ currently in progress and flushes the internal input buffer. RTS is set to
inactive.
12.4.4.1
Example Command Block for the Initialize Port
Function
VALUE
(decimal)
VALUE
(hexadecimal)
MEANING
address
0001
0001
Data block length
a1
0000
0000
NOWAIT mode
a2
0008
0008
Status word memory type (%R)
a3
0000
0000
Status word address minus 1
(%R0001)
a4
0000
0000
Not used
a5
0000
0000
Not used
a6
4300
10CC
Initialize port command
12.4.4.2
Operating Notes
Note
COMMREQs that are cancelled due to this command executing do not have their
respective COMMREQ status words updated.
Serial I/O / SNP / RTU Protocols
GFK-1503E User Manual 237
For public disclosure
Summary of Contents for VersaMax PLC
Page 16: ...Notes 16 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 38: ...Notes 38 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 50: ...Notes 50 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 92: ...Notes 92 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 112: ...Notes 112 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 224: ...Notes 224 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 292: ...Notes 292 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 316: ...Notes 316 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 317: ......