883
3. Instructions
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Serial Communications Instructions
3
DTXDU
Flags
DM Setup Area Settings
z (m = D30000 + 100 × unit number)
Name Label Operation
Error Flag P_ER • ON if the value of C is not within range.
• ON if the value for N is not between 0000 and 0100 hex.
• ON if execution of DRXDU(261)/DTXDU(262) in a cyclic task is interrupted by an interrupt task and
DTXDU(262) is also executed in the interrupt task.
• ON if the specified Unit is not a CJ1W-SCU22/SCU32/SCU42 Serial Communications Unit. (In this
case, up to 1 ms will be required to execute the instruction.)
• ON if the specified Serial Communications Unit is being initialized.
• ON if the specified port on the Serial Communications Unit is not in No-protocol Mode.
• ON if DTXDU(262) is executed when the DTXDU Send Ready Flag is OFF.
• OFF in all other cases.
Setup Area word
Bit Name Settings
Port 1 Port 2
m+2 m+12
15
No-protocol Mode Send Delay Specifier 0: Default (0 ms)
1: Use delay in bits 1 to 14.
0 to 14
No-protocol Mode Send Delay Time 0000 to 7530 hex
0 to 300,000 ms decimal (in 10-ms units)
m+4 m+14
8 to 15 No-protocol Mode Start Code 00 to FF hex
0 to 7 No-protocol Mode End Code 00 to FF hex
m+5 m+15
12 to 15
No-protocol Mode Start Code Specifier 0: None
1: Use start code.
8 to 11
No-protocol Mode End Code Specifier 0: None
1: Use end code.
2: Use CR+LF.
0 to 7
Size of Data #00 hex (default value): 256 bytes
#01 to FF hex: 1 to 256 bytes