Carlo Gavazzi Controls S.p.A.
–
32100
–
Belluno
INFO: www.carlogavazzi-automation.com Phone +39.
0437 355811
User Manual
Modbus Master / SNMP Agent
Document code: SIU-SNM-01_ENG
Revision 1.0
2020-12-03
Page 22 / 25
Writing Modbus data from SNMP
:
In order to write the data to the converter
it is necessary to use the “snmpset” command. The Output
array is contained to
this internal directory: 1.3.6.1.4.1.33118.1.1.1.4.x.0, where ‘x’ is the number of data
block. Each data block has a dimension of 128 bytes.
Example: you want to write information
of the data block 3 with the data ‘0123456789’ (ASCII). The
structure of the command to send is:
snmpset
–v1 –cprivate “IP Address of the converter” 1.3.6.1.4.1.33118.1.1.1.5.
3
.0 s “0123456789”
Figure 8b: MIB Tree Output