
EDAM-4200 Series User’s manual Version 1.03
8.4.36
$AAYMRCS
Start(Run)/Stop
DIO Synchronization
operation
Description: This command is used to start (run)/stop the DIO Synchronization operation.
Command:
$AAYMRCS [CHK](cr)
Syntax:
$
Command leading code
AA
Module address ID (01 to FF , Always 01)
YMR
represent this command is used to start/stop DIO Synchronization operation.
C
mirrored DO channel number (0~F).
S
Start/Stop DIO Synchronization operation.
= 0 - Stop DIO Synchronization operation (default)
= 1 - Start(Run) DIO Synchronization operation.
CHK
Check sum
(cr)
Carriage return
Response:
!AA [CHK](cr)
Valid command
?AA[CHK](cr)
Invalid command
!
Delimiter for valid command
?
Delimiter for invalid command
AA
Module address ID
CHK
Check sum
(cr)
Carriage return
Note
:
Before starting Automatic DIO Synchronization
function, you must set DO Mode to
"
DIO Sync. Mode "
(Ref. $AACONNDD).
Example:
Assume DI channel 0,2,5 are monitored and the ASCII form of DI mask pattern is
XXXXXXXXXX
1
XX
0
X
1
.
When DI input ch(0,5)=1 and ch(2)=0, the corresponding DO(0) will be set to ON(1) (
DO toggle mode
),
otherwise DO(0) will be set to OFF(0). DI pre-debounce time is 300 msec and post-debounce
time=150msec.
Step 1: set DO mode(DD=
04
) to
"
DIO Sync. Mode
"
for DO channel
0
(Ref. $AACONNDD)
command
: $01CO
00
04
(cr)
response:
!01(cr) ; valid
Step 2: set DI channels(ch(0,5)=
1
,ch(2)=
0
) DI mask pattern for DO Toggle Mode.
command
: $01YM1011012C0096XXXXXXXXXX1XX0X1(cr)
response:
!01(cr) ; valid
Step 3: set the digital output channel to OFF. (ref. @AA6ONSS)
command:
@016O000(cr)
response:
!01(cr) ; valid
Step 4: Start(Run) DO(0) DIO Sync. operarion
command:
$01YMR0
1
(cr)
response:
!01(cr) ; valid
Related command:
$AACONNDD, @AA6ONSS, $AAY6MC, $AAY6MS, $AAYM1CPSHHHHLLLL (data),
$AAYM2CPSTTTT(data)
Printed Date: 27 February 2018
121