
Chapter 5
Configuration and Interfacing
5-11
530 PUSH 2 : REM Data Source (2 = Internal String)
540 PUSH 0 : REM Offset in M0 file (Not used in this example)
550 PUSH 1 : REM Internal String Number
560 CALL 123
570 POP S
580 IF (S<>0) THEN PRINT ”Unsuccessful PLC2 Unprotected Write”
590 PUSH 123
600 CALL 29
610 REM DF1 PLC REMOTE READ COMMAND
620 PUSH 2 : REM PLC2 Unprotected Read
630 PUSH 1 : REM Communications Module Node Address
640 PUSH 10 : REM File Number (ignored in this example)
650 PUSH ASC(N) : REM Communications Module File Type
660 PUSH 623 : REM Starting Word in File
670 PUSH 10 : REM Number of Words to Transfer
680 PUSH 50 : REM Command Time–out (x100ms)
690 PUSH 2 : REM Data Source (2 = Internal String)
700 PUSH 0 : REM Offset in M0 file (Not used in this example)
710 PUSH 1 : REM Internal String Number
720 CALL 122
730 POP S
740 IF (S<>0) THEN PRINT ”Unsuccessful PLC2 Unprotected Read”
750 PUSH 122
760 CALL 29
Comentarios a estos manuales