Omron SYSMAC CS1W-SCB41-V1 Operation Manual page 184

Sysmac cs series; sysmac cj series. serial communications boards and serial communications units
Table of Contents

Advertisement

Setup Area Allocations
Serial Communications
Mode
Start Bits, Data Length,
Stop Bits, Parity, and
Baud Rate
Serial Gateway Response Timeout Monitoring Time (Unit Ver. 1.2 or Later Only)
Serial Gateway Send Start Timeout Monitoring Time (Unit Ver. 1.2 or Later Only)
Transmission Method
If user port settings are specified, set bits 00 to 04 and set the baud rate in
D32001.
Setting Example:
0600 Hex = Protocol macro mode with default port settings and baud rate.
Set the serial communications mode to 6 Hex to use protocol macros.
If user settings are specified for the port settings, the number of start bits, data
length, number of stop bits, parity, and baud rate must be set. The start bits
setting, however, will be ignored and 1 start bit will always be used.
Do not set the baud rate setting to between A and F. A setup error will occur if
these settings are used, and the default setting of 9,600 bps will be used. Do
not use settings 1 and 2, which are reserved for the system.
The response timeout condition is monitored when a FINS command is con-
verted to the specified protocol and sent.
0: 5 s (default); Setting range: 01 to FF hex (1 to 255 decimal): 0.1 to 25.5 s
The response monitoring time is 5 s when set to the default (0), or can be
user-specified in the range 0.1 to 25.5 s by setting between 01 and FF hex.
When converting FINS commands to the specified protocol and sending them
during execution of protocol macros, the timeout condition is monitored from
when the FINS command is received until the command starts to be sent in
the specified protocol.
0: 5 s (default); Setting range: 01 to FF hex (1 to 255 decimal): 0.1 to 25.5 s
The response monitoring time is 5 s when set to the default (0), or can be
user-specified in between 0.1 and 25.5 s by setting the time to between 01 to
FF hex.
Set half-duplex (0) or full-duplex (1) as the transmission mode for the external
device.
Note Half-duplex: Allows data to be sent between two Units in one direction only at
any one time.
Full-duplex: Allows data to be exchanged both ways between two Units at the
same time.
With half-duplex transmissions, the reception buffer is cleared immediately
before the sequence is executed and immediately following SEND completion
(SEND or SEND&RECV command). Therefore, the data received before and
during SEND execution cannot be accessed as receive data by the next
RECV command.
Note When using SEND with half-duplex transmission, there is a time lag, t1,
between data send processing completion and SEND completion. Therefore,
if there is a rapid response from the remote device and a response is returned
for SEND after data is sent (communications or other command) and before
SEND is completed, the response during that time cannot be received using
half-duplex transmissions. If this problem occurs, use the full-duplex transmis-
sions.
A
B
or
A
Section 5-2
A
B
B
155

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents