54
CY3274 Cypress High Voltage Programmable PLC Development Kit Guide, Doc. # 001-53598 Rev. *G
Code Examples
4. To configure the PLT UM properties open the PLT Configuration Wizard and set the properties
shown in
. Note that these properties can also be set in the application
code using the PLT memory array.
Figure 5-4. PLT Config Wizard
Table 5-1. PLT UM Configuration
No.
Property
Register
Value
Details
1
Baud Rate
Modem_Config
2400 bps (default)
Sets the baud rate for the PLC
PHY
2
Tx Gain
TX_Gain
1.55 V
p-p
(default)
Set to 1.55 V
p-p
. Set to
125 mV
p-p
(for CENELEC).
3
Rx Gain
Rx_Gain
250 uVrms
Sets the minimum input
sensitivity for the receiver
4
No ACK Received
Interrupt
INT_Enable
Enable
Enable Interrupt for no
acknowledgment received after
if Service Type = 1 (ACK Mode)
5
No Response Received
Interrupt
INT_Enable
Enable
Enable Interrupt for No
Response Received
6
Rx Packet Dropped
Interrupt
INT_Enable
Enable
Enable Interrupt when RX
Packet is dropped because RX
Buffer is full
7
Rx Data Available
Interrupt
INT_Enable
Enable
Enable Interrupt when RX
buffer has new data
8
Tx Data Sent Interrupt
INT_Enable
Enable
Enable Interrupt when TX data
is sent successfully
9
Transmit Enable
PLC_Mode
Enable
Enables Transmit Mode