Omron CS1G/H-CPUxxH Instructions Manual page 884

Sysmac cs series; sysmac cj series
Hide thumbs Also See for CS1G/H-CPUxxH:
Table of Contents

Advertisement

Serial Communications Instructions
Examples
This example assumes that both a start and end
code have been specified in the PC Setup.
ST: Start code (e.g., 02 hex)
ED: End code (e.g., 03 hex)
3-24-5 CHANGE SERIAL PORT SETUP: STUP(237)
Purpose
Ladder Symbol
Variations
Applicable Program Areas
When CIO 000000 is ON in the following example, data is received from the
RS-232C port and 10 bytes of data are stored starting in D00100.
&10
C: D00200
Stored
Changes the communications parameters of a serial port on the CPU Unit,
Serial Communications Board (CS Series only), or Serial Communications
Unit (CPU Bus Unit). STUP(237) thus enables the protocol mode to be
changed during PLC operation.
Variations
Executed Each Cycle for ON Condition
Executed Once for Upward Differentiation
Executed Once for Downward Differentiation Not supported.
Immediate Refreshing Specification
Block program
areas
OK
CS and DR signal monitoring
0: No CS and DR signal monitoring
Not used.
Most signifi-
cant bytes
S:
STUP(237)
C
C: Control word (port)
S
S: First source word
Step program
Subroutines
areas
OK
OK
Section 3-24
Byte order
1: Least significant bytes first
Least signif-
icant bytes
STUP(237)
@STUP(237)
Not supported.
Interrupt tasks
Not allowed
863

Advertisement

Table of Contents
loading

Table of Contents