8-6
IM 34M6H33-01E
1st Edition : July 1.2004-00
8.2
Sample Circuits
This section describes four sample circuits:
- Sample circuit for accessing slave contact inputs and outputs;
- Sample circuit for disabling automatic address assignment function;
- Sample circuit for detecting invalid slaves and checking ASi system error alarms;
- Sample circuit for changing slave address
The sample programs assume that the ASi Master module is mounted in slot 4, and 62
slaves are connected. Modify the sample program as required to suit your application
before use
Table 8.4 Block Signal Definitions
Signal
Name
Address I/O
Comment
Signal
Name
Address I/O
Comment
Input Relays
Special Relays
ComdAct
X00401
Executing Command
NORon
M00033
Always on
ComdErr
X00404
Command Error
ONEpls
M00035
On for one scan after
powering on
ComdEnd
X00408
Command Completed
Data Registers
PwFail
X00418
1=ASi Power Supply Error
ASslot
D00033
LA01 slot position
NORope
X00419
1=Normal Operation Mode
LPS1
D00034
List of projected slaves
OpeMode X00420 1=Configuration
Mode
LPS2
D00035
List of projected slaves
ConfOk X00424
1=Configuration
OK
LPS3
D00036
List of projected slaves
Output Relays
LPS4
D00037
List of projected slaves
ComdStrt
Y00433
Start Command
LDS1
D00038
List of detected slaves
Internal Relays
LDS2
D00039
List of detected slaves
AS-Di
I00001
Substitute for slave input
relay
LDS3
D00040
List of detected slaves
:
:
LDS4
D00041
List of projected slaves
I00256
Substitute for slave input
relay
AlmSlv1
D00042
List of slaves with
alarms
AS-Do
I00257
Substitute for slave input
relay
AlmSlv2
D00043
List of slaves with
alarms
:
:
AlmSlv3
D00044
List of slaves with
alarms
I00512
Substitute for slave output
relay
AlmSlv4
D00045
List of slaves with
alarms
AdrsMode I00513 Automatic
address
assignment function setting
Alarm I00514
Alarm
indicator
AdrsSet I00515 Address
setting
AdrsSet2 I00516 Address
setting
TIP
Signal names have been assigned to devices and coded in the given sample programs but you could
also write a program using just device names. Using signal names however improves readability and
maintainability.
Содержание FA-M3 Vitesse
Страница 2: ......
Страница 26: ...Blank Page...
Страница 38: ...Blank Page...
Страница 44: ...Blank Page...
Страница 54: ...Blank Page...
Страница 62: ...Blank Page...
Страница 64: ...Blank Page...
Страница 70: ...Blank Page...
Страница 72: ...Blank Page...
Страница 74: ...Index 2 IM 34M6H33 01E 1st Edition July 1 2004 00 Blank Page...
Страница 76: ...Blank Page...