Operation Commands (Communication/Modbus) - Omron E5AR - MANUAL 2 User Manual

Digital controller
Hide thumbs Also See for E5AR - MANUAL 2:
Table of Contents

Advertisement

Section 7 Communication (Modbus)

7.7 Operation commands (Communication/Modbus)

Operation commands are sent using the following command frame.
Command
Operation
code
H'00
Write via communication
H'01
Run/Stop
H'02
Bank change
H'03
AT run
H'04
Write mode
H'05
RAM data save
H'06
Software reset
H'07
Move to setting area 1
H'08
Move to protect level
H'09
Auto/Manual
H'0A
AT stop
H'0B
Initialize settings
H'0C
Cancel latch
H'0D
SP mode
*1: Operates for all channels.
*2: Specify for each channel
0: CH1, 1: CH2, 2: CH3, 3: CH4, F: All channels
*: There is no response to a software reset.
*: When all channels are specified, only enabled channels will respond and processing will begin from
Channel 1. If an error is detected on any one channel, an "Operation error" will result. If all channels
end normally, "Normal end" results.
7-14
Command frame
Slave
Function
Write start
address
mode
address
H'06
H'00
H'00
1
1
2
Data name
Client address
Function mode
Beginning
address of write
Data written
CRC-16
Operation commands for the E5AR/ER are shown in the following.
Description
Upper Byte
H'0 *1
H'0 to 3, F *2
H'0 to 3, F *2
H'0 to 3, F *2
H'0 *1
H'0 *1
H'0 *1
H'0 *1
H'0 *1
H'0 to 3, F *2
H'0 to 3, F *2
H'0 *1
H'0 to 3, F *2
H'0 to 3, F *2
CRC-16
Write data
2
2 bytes
Explanation
Specify the "Unit No." of the E5AR/ER. Set in hexa-
decimal from H'01 to H'63 (1 to 99).
The function code for an operation command is H' 06.
Specify H' 0000 for the operation command address.
Enter the command code of the operation command
and related information (see table below).
This is a check code calculated from the client
address to the data end. For the calculation method,
see "7.2 Frames ■ Command frame ● Example of
CRC-16 calculation" (P.7-4).
Related information
H'0: OFF (Disabled)
H'1: ON (Enabled)
H'0: Run H'1: Stop
H'0 to 7: Bank 0 to 7
H'0: Currently selected PID Set No.
H'1 to 8: PID Set No.
H'0: Backup mode
H'1: RAM write mode
H'0
H'0
H'0
H'0
H'0: Auto mode
H'1: Manual mode
H'0: Stop
H'0
H'0
H'0: LSP H'1: RSP
Lower Byte

Advertisement

Table of Contents
loading

This manual is also suitable for:

E5er

Table of Contents