YASKAWA CP 341 Manual page 62

Rs422/485
Table of Contents

Advertisement

Communication protocols
Modbus > Modbus Master - Function codes
6.4.4.5
FC 05 - Force Single Coil
6.4.4.6
FC 06 - Preset Single Register
62
DB RCV destination
Address
Name
+0.0
data[1]
+2.0
data[2]
...
...
This function serves to set or delete individual bits in the output area of the slave.
DB SEND source
Address
Name
+0.0
ADDR
+1.0
FUNC
+2.0
coil_addr
+4.0
coil_state
n
coil_addr
coil_addr is not checked by the driver and is sent unchanged.
n
coil_state
coil_state is not checked by the driver and is sent unchanged.
The following two values are valid at the coil_state.
0000h ® Bit = 0
FF00h ® Bit = 1
This command serves to overwrite a slave register with a new value.
DB SEND source
Address
Name
+0.0
ADDR
+1.0
FUNC
+2.0
start_register
+4.0
register_value
n
start_register
start_register is not checked by the driver and is sent unchanged.
register_value
n
Any value may be used as the register_value.
VIPA System 300S
Type
Comment
WORD
Data
WORD
Data
...
...
Type
Comment
BYTE
Slave address
BYTE
Function code
WORD
Bit address
WORD
Bit status
Type
Comment
BYTE
Slave address
BYTE
Function code
WORD
Register address
WORD
Registers value
HB130 | CP | 341-1CH01 | en | 18-40

Advertisement

Table of Contents
loading

This manual is also suitable for:

Vipa system 300s

Table of Contents