8-1
IM 34M6H33-01E
1st Edition : July 1.2004-00
8. Programming
After performing address setup for a slave, and registering the address to the LPS (List
of Projected Slaves), the contact input/outputs of the slave then become addressable by
a user program.
8.1
Programming
ASi Statuses
You may check the following ASi statuses from a user program.
Table 8.1 ASi Statuses
Input Relay
X
□□□
**
Name Description
X
□□□
17 OFFLINE_READY
ON :
online
OFF :
offline
X
□□□
18 POWER_FAIL
ON : ASi power supply error
OFF : ASi power supply normal
X
□□□
19 NORMAL_OPERATION
ON : operating normally
OFF : communications not allowed (e.g. during initialization)
X
□□□
20 OPERATION_MODE
ON : Configuration mode
OFF : Protected mode
X
□□□
21 AUTO_PROG_AVIL
ON : Automatic programming available. Module is in Protected
mode; AUTO_ADDRESS_ENABLE=1 and there is only
one failed slave.
OFF : Automatic address assignment function is disabled, or
function is enabled but there is no failed slave.
X
□□□
22 Reserved
X
□□□
23 LDS_0
ON : A blank slave (slave with address 0) is present.
OFF : No blank slave (slave with address 0) is present.
X
□□□
24 CONFIG_OK
ON :
List of detected slaves (LDS) matches list of projected
slaves (LPS)
OFF :
List of detected slaves (LDS) is different from list of
projected slaves (LPS)
X
□□□
25 OFFLINE
ON : Offline mode
OFF :
Online
X
□□□
26
Reserved (always on)
X
□□□
27
EEPROM_OK
ON : EEPROM is normal
OFF : EEPROM error
X
□□□
28 AUTO_ADDRESS_ENABLE
ON : Automatic address assignment is enabled
OFF : Automatic address assignment is disabled (by command
execution)
X
□□□
29
PERIPHERAL_FAULT(V2.1)
ON : Slave peripheral fault has occurred
*2
OFF : No slave peripheral fault
X
□□□
30
X
□□□
31
Reserved
X
□□□
32
Monitor Port in Use
ON : in use
OFF : not used
"
□□□
" in a relay number denotes the slot number where the ASi Master module is installed.
In general, you should always check that both NORMAL_OPERATION and
CONFIG_OK are on during module operation.
(Note that even if CONFIG_OK turns off, NORMAL_OPERATION may not turn off).
As a minimal prerequisite, you should not start operation until NORMAL_OPERATION
turns on. The other statuses should also be in appropriate states depending on the
required operating conditions.
TIP
Although the ASi Master module supports both BASIC programs and ladder programs, ladder
programs are more commonly used. Hence, subsequent descriptions and explanations will be based
on ladder programs.
When writing BASIC programs, use the data position numbers given in this manual.
Summary of Contents for FA-M3 Vitesse
Page 2: ......
Page 26: ...Blank Page...
Page 38: ...Blank Page...
Page 44: ...Blank Page...
Page 54: ...Blank Page...
Page 62: ...Blank Page...
Page 64: ...Blank Page...
Page 70: ...Blank Page...
Page 72: ...Blank Page...
Page 74: ...Index 2 IM 34M6H33 01E 1st Edition July 1 2004 00 Blank Page...
Page 76: ...Blank Page...