
4 Using Protocol Macros
4-44
CJ-series Serial Communications Units Operation Manual for NJ-series CPU Unit(W494)
In the following example, sequence number 610 (Variable Area Read) of a CompoWay/F Master (Vari-
able Area Read) is executed by the ExecPMCR instruction and the present value that was read upon
successful completion of the sequence is transferred to another user-defined variable (defined as Tmp-
Data here).
z
Unit Settings
* Make sure the settings match the corresponding settings at the destination.
The default settings are Baud Rate: 9,600 bps, Start Bits: 1 bit, Data Length: 7 bits, Parity: Even parity
and Stop Bits: 2 bits.
Example of User Program Creation
Name
Setting target
Setting
Unit Configuration
CPU/Expansion Racks in
Configuration and Setup
of Sysmac Studio
Mount CJ1W-SCU42 in slot 0 of the CPU Rack.
Device name of this unit
SCU
Unit number
Unit number switch and
Unit Configuration
(CPU/Expansion Racks in
Configuration and Setup
of Sysmac Studio)
Unit number 2
Serial Communications
Mode
System Settings data
Protocol Macro Mode
Port setting
Default (*)
Содержание CJ1W-SCU22
Страница 192: ...4 Using Protocol Macros 4 56 CJ series Serial Communications Units Operation Manual for NJ series CPU Unit W494...
Страница 250: ...6 No protocol Mode 6 22 CJ series Serial Communications Units Operation Manual for NJ series CPU Unit W494...
Страница 460: ...A Standard System Protocol R 126 CJ series Serial Communications Units Operation Manual for NJ series CPU Unit W494...
Страница 473: ...Index 1 CJ series Serial Communications Units Operation Manual for NJ series CPU Unit W494 I Index...