JP #CFGLOOP,I<(2*NUMOFIO) Conditional statement
MBF=6,16,632+
(MODULE*8),NUMOFIO*2,A[]
Configure I/O using Modbus function code 16 where
the starting register is 632+(MODULE*8), number
of registers is NUMOFIO*2 and A[] contains the
data.
EN end
#CFERR Label
MG”UNABLE TO ESTABLISH
CONNECTION”
Message
EN End
Using the equation:
I/O number = (Handlenum*1000) + ((Module-1)*4) + (Bitnum-1)
MG @IN[6001] display level of input at handle 6, module 1, bit 2
SB 6006 set bit of output at handle 6, module 2, bit 3
or to one
OB 6006,1
AO 608,3.6 set analog output at handle 6, module 53, bit 1 to 3.6 volts
MG @AN[6017] display voltage value of analog input at handle6, module 5, bit 2
Appendices • 229 DMC-40x0 User Manual