
863
Serial Communications Instructions
Section 3-24
Examples
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.
3-24-5 CHANGE SERIAL PORT SETUP: STUP(237)
Purpose
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.
Ladder Symbol
Variations
Applicable Program Areas
S:
C: D00200
Byte order
1: Least significant bytes first
CS and DR signal monitoring
0: No CS and DR signal monitoring
Not used.
Most signifi-
cant bytes
Least signif-
icant bytes
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)
Stored
&10
C: Control word (port)
S: First source word
STUP(237)
C
S
Variations
Executed Each Cycle for ON Condition
STUP(237)
Executed Once for Upward Differentiation
@STUP(237)
Executed Once for Downward Differentiation Not supported.
Immediate Refreshing Specification
Not supported.
Block program
areas
Step program
areas
Subroutines
Interrupt tasks
OK
OK
OK
Not allowed
Summary of Contents for CJ1G-CPUxx
Page 3: ...iv N o t i c e ...
Page 5: ...vi ...
Page 21: ...xxii Conformance to EC Directives 6 ...
Page 35: ......
Page 1131: ...1110 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...