Access the DF1 object

The DF1 object provides an interface to the DF1 communication driver.
Attribute
Data Type
Instruction
Description
ACKTimeout
DINT
GSV
The amount of time to wait for an acknowledgment to a message transmission (point-to-point and master only). Valid value 0-32,767. Delay in counts of 20 msec periods. Default is 50 (1 second).
Diagnostic
Counters
INT[19]
GSV
Array of diagnostic counters for the DF1 communication driver.
Word offset
DF1 point-to-point
DF1 slaveMaster
0
Signature (0x0043)
Signature (0x0042)
Signature (0x0044)
1
Modem bits
Modem bits
Modem bits
2
Packets sent
Packets sent
Packets sent
3
Packets received
Packets received
Packets received
4
Undelivered packets
Undelivered packets
Undelivered packets
5
Unused
Messages retried
Messages retried
6
NAKs received
NAKs received
Unused
7
ENQs received
Poll packets received
Unused
8
Bad packets NAKed
Bad packets not ACKed
Bad packets not ACKed
9
No memory sent NAK
No memory not ACKed
Unused
10
Duplicate packets received
Duplicate packets received
Duplicate packets received
11
Bad characters received
Unused
Unused
12
DCD recoveries count
DCD recoveries count
DCD recoveries count
13
Lost modem count
Lost modem count
Lost modem count
14
Unused
Unused
Priority scan time maximum
15
Unused
Unused
Priority scan time last
16
Unused
Unused
Normal scan time maximum
17
Unused
Unused
Normal scant time last
18
ENQs sent
Unused
Unused
Duplicate
Detection
SINT
GSV
Enables duplicate message detection. Each value has a specific meaning:
  • 0. Duplicate message detection disabled.
  • Non zero. Duplicate message detection enabled.
Embedded
ResponseEnable
SINT
GSV
Enables embedded response functionality (point-to-point only). Each value has a specific meaning:
  • 0. Initiated only after one is received. This is the default.
  • 1. Enabled unconditionally.
EnableStoreFwd
SINT
GSV
Enables the store and forward behavior when receiving a message. Each value has a specific meaning:
  • 0. Do not forward message
  • Non zero. See the store and forward table when receiving a message. This is the default.
ENQTransmit
Limit
SINT
GSV
The number of inquiries (ENQs) to send after an ACK timeout (point-to-point only). Valid value 0-127. Default setting is 3.
EOTSuppression
SINT
GSV
Enable suppressing EOT transmissions in response to poll packets (slave only). Each value has a specific meaning:
  • 0. EOT suppression disabled (disabled).
  • Non zero. EOT suppression enabled.
ErrorDetection
SINT
GSV
Specifies the error-detection scheme. Each value has a specific meaning:
  • 0. BCC. This is the default.
  • 1. CRC.
MasterMessageTransmit
SINT
GSV
Current value of the master message transmission (master only). Each value has a specific meaning:
  • 0. Between station polls. This is the default.
  • 1. In poll sequence. This take the place of the station number of the master.
MaxStation
Address
SINT
GSV
Current value (0 to 31) of the maximum node address on a DH-485 network. Default is 31.
NAKReceiveLimit
SINT
GSV
The number of NAKs received in response to a message before stopping transmission (point-to-point communication only). Valid value 0 to 127. Default is 3.
NormalPollGroupSize
INT
GSV
Number of stations to poll in the normal poll node array after polling all the stations in the priority poll node array
(master only).
Valid value 0 to 255. Default is 0.
PollingMode
SINT
GSV
Current polling mode (master only). Default setting is 1. Each value has a specific meaning:
  • 0. Message-based, but don’t allow slaves to initiate messages.
  • 1. Message-based, but allow slaves to initiate messages. This is the default.
  • 2. Standard, single-message transfer per node scan.
  • 3. Standard, multiple-message transfer per node scan.
ReplyMessage
Wait
DINT
GSV
The time (acting as a master) to wait after receiving an ACK before polling the slave for a response (master only). Valid value 0 to 65,535. Delay in counts of 20 msec periods. The default is 5 periods (100 msec).
SlavePollTimeout
DINT
GSV
The amount of time in msecs that the slave waits for the master to poll before the slave declares that it is unable to transmit because the master is inactive (slave only). Valid value 0 to 32,767. Delay in counts of 20 msec periods. The default is 3000 periods (1 minute).
StationAddress
INT
GSV
Current station address of the port. Valid value 0 to 254. Default is 0.
TokenHoldFactor
SINT
GSV
Current value (1 to 4) of the maximum number of messages sent by this node before passing the token on a DH-485 network. Default is 1.
TransmitRetries
SINT
GSV
Number of times to resend a message without getting an acknowledgment (master and slave only). Valid value 0 to 127. Default is 3.
PendingACK Timeout
DINT
SSV
Pending value for the ACKTimeout attribute.
Pending Duplicate Detection
SINT
SSV
Pending value for the DuplicateDetection attribute.
Pending Embedded ResponseEnable
SINT
SSV
Pending value for the EmbeddedResponse attribute.
PendingEnable
StoreFwd
SINT
SSV
Pending value for the EnableStoreFwd attribute.
PendingENQ TransmitLimit
SINT
SSV
Pending value for the ENQTransmitLimit attribute.
PendingEOT Suppression
SINT
SSV
Pending value for the EOTSuppression attribute.
PendingError
Detection
SINT
SSV
Pending value for the ErrorDetection attribute.
PendingMaster Message Transmit
SINT
SSV
Pending value for the MasterMessageTransmit attribute.
PendingMax
StationAddress
SINT
SSV
Pending value for the MaxStationAddress attribute.
PendingNAK ReceiveLimit
SINT
SSV
Pending value for the NAKReceiveLimit attribute.
PendingNormal
PollGroupSize
INT
SSV
Pending value for the NormalPollGroupSize attribute.
PendingPolling
Mode
SINT
SSV
Pending value for the PollingMode attribute.
PendingReply
MessageWait
DINT
SSV
Pending value for the ReplyMessageWait attribute.
PendingSlavePollTimeout
DINT
SSV
Pending value for the SlavePollTimeout attribute.
PendingStation
Address
INT
SSV
Pending value for the StationAddress attribute.
PendingToken
HoldFactory
SINT
SSV
Pending value for the TokenHoldFactor attribute.
PendingTransmitRetries
SINT
SSV
Pending value for the TransmitRetries attribute.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.