4-3
Section 4 Software Interface
4-1 Analog Input Module
(1) Digital output value/status register (offset address: +0 to +7)
When this module is in A/D conversion mode, digital output values and/or statuses are stored in the registers of offset
address +0 to +7.
* When using D300win, assign INT type variables to these registers.
<Status list>
Status code Condition of modul Descrip tion
30001
(7531h)
Parameter mode P arameters are now bei ng set or read out.
30002
(7532h)
EEPROM calibration data
error
(Module fatal fault)
If the cali bration data of EEPROM i s destroyed or if EEPROM cannot be
written or read, this error is notified. Module internal EEPROM is abnormal.
If thi s error occurred, it is necessary to replace the module.
30003
(7533h)
EEPROM user setting data
error
If the user setting data of EEPROM is destroyed, this error is noti fied.
If thi s error occurred, all parameters need to be reset. If thi s error recurs
even after parameters are reset, the module seems to have failed.
30004
(7534h)
Internal power supply down
If the internal power supply of the module becomes down, this error is
notified.
30005
(7535h)
Switch setting erro r
If the operati on setting switch on the module rear panel is set at invalid
position, this error is notified.
30006
(7536h)
Conversion error
If conversion became abnormal because the module failed or was used in an
out-of-spec environment, this error is notified.
(2) Module status register (offset address +0)
When the module is in parameter mode, offset address +0 becomes the “module status register”, in which the code “30001”
(INT type) is stored, indicating that the parameter mode (parameters are now being set or read out) is activated.
* When using D300win, assign an INT type variable to this register.
+0
30001(7531h)
Offset
address
15(F)
+0
+1
+2
+3
+4
+5
+6
+7
Channel1 Digitaloutputvalue/Status
Channel 2 Digital output value / Status
Channel 3 Digital output value / Status
Channel4 Digitaloutputvalue/Status
Channel 5 Digital output value / Status
Channel 6 Digital output value / Status
Channel 7 Digital output value / Status
Channel 8 Digital output value / Status
0
Ordinarily digital output values (INT type) are stored in the registers explained above. If the module becomes
abnormal, the following status code (INT type) is stored in these registers. When making an application program,
be sure to interlock erroneous and normal (A/D conversion) conditions.