Omron HOME SECURITY SYSTEM - MOTION SENSOR FQM1-MMA21 User Manual

Page 341

Advertising
background image

318

System Setup, Auxiliary Area Allocations, and Built-in I/O Allocations

Appendix C

Start Code and End Code

Number of Received Bytes

RS-232C Port Settings for PLC Link (PC Link (Slave))

Serial Communications Mode

Baud Rate

PLC Link Unit No. (PC Link Unit Number)

Address

Settings

Function

Related flags and

words

When setting is

read

Word

Bits

+164

00 to 07 00 to FF hex

Default: 00 hex

The frame format for
no-protocol commu-
nications data (mes-
sages) can be
specified.

Specifies the end
code. This setting is
valid when bits 08 to
09 of +165 are set to
01.

A410.15 (RS-232C Port
Settings Changing Flag)

At next cycle (Also
can be changed
with STUP (237).)

08 to 15 00 to FF hex

Default: 00 hex

Specifies the start
code. This setting is
valid when bit 12 of
+165 is set to 1.

+165

12

0: Don’t add start code
1: Add start code
Default: 0

Specifies whether
the frame format for
no-protocol commu-
nications is speci-
fied.

Specifies whether to
add a start code.

08 and
09

00: Don’t add end code
and use number of
received bytes setting
01: Add end code
11: Add CR+LF
Default: 00

Specifies whether to
add an end code.

Address

Settings

Function

Related flags and

words

When setting is

read

Word

Bits

+165

00 to 07 00 hex: 256 bytes

01 to FF hex: 1 to 255
Default: 00 hex

Specifies the data length to send and
receive for no-protocol communica-
tions. The start code and end code are
not included in the data length.
This setting is valid only when bits 08
and 09 of +165 are set to 00.
The default setting for each TXD(236)/
RXD(235) instruction is 256 bytes. This
setting can be set to 01 to FF to set 255
bytes or less.

A410.15 (RS-232C Port
Settings Changing Flag)

At next cycle (Also
can be changed
with STUP (237).)

Address

Settings

Function

Related flags and

words

When setting is

read

Word

Bits

+160

08 to 11 07 hex: Serial PLC Link

Slave (Polled Unit)
Default: 00 hex

This setting determines whether the
RS-232C port will operate in Serial PLC
Link Slave mode or another serial com-
munications mode. Set 07 for Serial
PLC Link Slave Mode.

A410.15 (RS-232C Port
Settings Changing Flag)

At next cycle (Also
can be changed
with STUP (237).)

Address

Settings

Function

Related flags and

words

When setting is

read

Word

Bits

+161

00 to 07 00 hex: Standard setting

Default: 00 hex

Only the standard setting of 38,400 can
be used for the Serial PLC Link Slave
Serial Communications Mode.

A410.15 (RS-232C Port
Settings Changing Flag)

At next cycle (Also
can be changed
with STUP (237).)

Address

Settings

Function

Related flags and

words

When setting is

read

Word

Bits

+167

00 to 03 0 to 7 hex

Default: 0 hex

Sets the unit number of the FQM1 as a
Serial PLC Link Slave.

A410.15 (RS-232C Port
Settings Changing Flag)

At next cycle (Also
can be changed
with STUP (237).)

Advertising