ZMIO310 Vertical Bus Expansion Module User Manual V1.0
SDO_WRITE(0,0,$5006,2,6,12)
‘channel 2, 3 are ON.
SDO_WRITE(0,0,$5006,2,6,15)
‘full channels are ON.
⚫
This function is valid for current AD module.
6.4.4.
Range-Switch Configuration
Function description
This function is used to switch the range of the input channel
of the AD module (or the output channel of the DA module), and
the default value of both modules is the range of 0~10V
The measuring range corresponds to the type number of the
expansion sub-module, please refer to the table below.
Object to use
Analog input module: ZMIO310-4AD.
Analog output module: ZMIO310-4DA.
Data dictionary
5007h, 5006h: 5001h + extension No. of the corresponding AD
module or DA module, please refer to Chapter 6.4.1 for sub-
module address assignment.
Examples
‘
5007h is the DA module control dictionary, 5006h is the AD
module control dictionary.
SDO_WRITE(0,0,$5006,1,6,3)
‘AD module is switched to
-10~10V range
SDO_WRITE(0,0,$5006,1,6,5)
‘AD module is switched to 0~20mA range
SDO_WRITE(0,0,$5007,1,6,11)
‘DA module is switched to
-10~10V range
SDO_WRITE(0,0,$5007,1,6,13)
‘DA module is switched to 0~20mA range
Type number description:
Type No.
Type name
Module type
Corresponding range
1
ZM1111
Input module
--
2
ZM1112
AD module
0~10V
3
ZM1113
AD module
-10~10V
4
ZM1114
AD module
4~20mA