Write Port Control Function (4304) - GE VersaMax PLC User Manual

Table of Contents

Advertisement

15
14
RTS
U
242
GFK-1503E
For public disclosure

12.4.8 Write Port Control Function (4304)

This function forces RTS for the specified port:
12.4.8.1 Example Command Block for the Write Port Control
Function
VALUE
(decimal)
address
0002
address +1
0000
address +2
0008
address +3
0000
address +4
0000
address +5
0000
address +6
4304
address +7
xxxx
12.4.8.2 Port Control Word
13
12
11
10
9
U
U
U
U
U
The Port Control Word can be:
15 RTS Commanded state of the RTS output
1 = Activates RTS
0 = Deactivates RTS
0-14 U Unused (should be zero)
12.4.8.3 Operating Note
For CPU port 2 (RS-485), the RTS signal is also controlled by the transmit driver.
Therefore, control of RTS is dependent on the current state of the transmit driver. If the
transmit driver is not enabled, asserting RTS with the Write Port Control COMMREQ
will not cause RTS to be asserted on the serial line. The state of the transmit driver is
controlled by the protocol and is dependent on the current Duplex Mode of the port. For
2-wire and 4-wire Duplex Mode, the transmit driver is only enabled during transmitting.
Therefore, RTS on the serial line will only be seen active on port 2 (configured for 2-wire
or 4-wire Duplex Mode) when data is being transmitted. For point-to-point Duplex Mode,
the transmit driver is always enabled. Therefore, in point-to-point Duplex Mode, RTS on
the serial line will always reflect what is chosen with the Write Port Control COMMREQ.
VALUE
(hexadecimal)
Data block length
0002
0000
NOWAIT mode
Status word memory type (%R)
0008
Status word address minus 1 (%
0000
R0001)
0000
Not used
0000
Not used
Write port control command
10D0
xxxx
Port control word
8
7
6
5
4
U
U
U
U
U
MEANING
3
2
1
0
U
U
U
U
VersaMax PLC User Manual

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents