Print

Communication between a CommandHMI and Omron Sysmac C/CPM/CS/CJ series PLCs

 

The device driver is used for CommandHMI to read and write the data or state of SYSMAC C/CPM/CS/CJ series PLC register.
The serial communication connection is established through the serial port on the HMI and the serial port of PLC.

Wirring from the HMI to the RS232

HMI
COM1 or COM2
PLC
2 RX <> 2 TX
3 TX <> 3 RX
5 GND <> 9 GND
4 <> 5 CTS/RTS

The distance HMI<>PLC must be less than 10 m

HMI-Tool configuration

Choose RS232

Operational register and address range

SYSMAC C/CPM Series

Register name Address format Input range Remarks
IR_Bit dddd.DD 0.0~4095.15 Bit: input/output relay
HR_Bit dddd.DD 0.0~4095.15 Bit: hold relay
LR_Bit dddd.DD 0.0~4095.15 Bit: link relay
AR_Bit dddd.DD 0.0~4095.15 Bit: auxiliary memory relay
T ddd 0~255 Bit: status of timer
C ddd 0~255 Bit: status of counter
IR dddd 0~4095 Word: input/output relay
HR dddd 0~4095 Word: hold relay
LR dddd 0~4095 Word: link relay
AR dddd 0~4095 Word: auxiliary memory relay
TC ddd 0~255 Word: value of timer
DM dddd 0~9999 Word: common data area

SYSMAC CS/CJ Series

Register name Address format Input range Remarks
CIO_Bit dddd.DD 0.0~3189.15 Bit: core I/O area
W_Bit dddd.DD 0.0~6143.15 Bit: work area
H_Bit dddd.DD 0.0~511.15 Bit: holding area
A_Bit dddd.DD 0.0~959.15 Bit: auxiliary area, read only: 7,168Bit: A00000~A447.15
D_Bit dddd.DD 0.0~32767.15 Bit: common data area
T dddd 0~4095 Bit: status of timer
C dddd 0~4095 Bit: status of counter
CIO dddd 0~3189 Word: core I/O area
W dddd 0~6143 Word: work area
H dddd 0~511 Word: holding area
A dddd 0~959 Word: auxiliary area, read only: 448Word: A000~A447
D dddd 0~32767 Word: common data area
TV dddd 0~4095 Word: current value of timer
CV dddd 0~4095 Word: current value of counter