Únete y Recibe Nuestras Publicaciones Por Correo (GRATIS)

Escribe tu dirección de correo:

Verifica en el correo no deseado.

FACEBOOK

, ,

Eng Course: A Software Professional: Download Free in PDF




DOWNLOAD COURSE
INDEX
SitePlayer Overview........................................ 1
SitePlayer Process for Creating a Project .................1
SitePlayer Data Flow....................................................1
1) Design and Create Definition File.............. 2
SitePlayer Definition File Example .............................2
Definition Section.........................................................4
$DHCP [on, off] default on..........................................4
$Devicename [name]..................................................5
$DownloadPassword [password] ...............................5
$Include [filename] .....................................................5
$InitialIP [xxx.xxx.xxx.xxx] ..........................................5
$Parse [extention1].....................................................5
$PostIRQ [on, off] default off ......................................6
$Sitefile [filename] ......................................................6
$Sitepath [path] ..........................................................6
Object Section ..............................................................6
DBIT [value] – Define Bit ............................................7
DB [value] – Define Byte or String..............................7
DHEX [value] – Define Byte .......................................7
DW [value] – Define Word (16 bits)............................7
DD [value] – Define Double (32 bits)..........................8
DS [value] – Define Space (1 to 255 bytes) ...............8
ORG [value] – Define Location of Objects .................8
Serial Port Output Object (defined in pcadef.inc)......8
Baud Rate Object (defined in pcadef.inc)..................8
Serial Peripheral Interface (SPI) Object .....................9
HalfSec object 0FF1Fh.............................................10
ExitIf0 object modifier ...............................................10
UDPsend object 0FF1Eh..........................................10
$OutputOnly .............................................................10
$Bidirectional ............................................................10
Export Section............................................................11
$ExportFormatFile [filename] none .........................11
$ExportFile [outputfilename].....................................12
$ExportHeaderFile [headerfilename]........................12
$ExportFooterFile [footerfilename] ...........................12
$Export .....................................................................13
2) Create Web Page Files ............................. 13
SiteObjects in HTML ..................................................13
SiteObject Modifiers .................................................13
Selecting a Particular Digit of an Object ...............14
Performing Simple Math on an Object..................14
Selecting a Particular Bit of an Object ..................14
Avoiding Object Conflicts with Text ..........................14
SitePlayer Web Pages................................................15
SitePlayer Interface File ...........................................15
Creating the SitePlayer Interface File ...................15
Sending Data to SitePlayer from Links .................15
Sending Data to SitePlayer from Forms ...............16
3) Assemble and Download Binary File ...... 18
SiteLinker Operation..................................................18
Title Bar ....................................................................19
Menu Bar ..................................................................19
File Menu ..............................................................19
Download Menu ....................................................19
Configure Menu ....................................................19
Editor Menu...........................................................20
Browser Menu.......................................................20
Calculator Menu....................................................20
About Menu...........................................................20
Assembly Progress Window.....................................20
Progress Bar.............................................................20
Status Bar .................................................................20
4) Surf SitePlayer...........................................21
SitePlayerPC Operation.............................................21
Title Bar ....................................................................21
Menu Bar ..................................................................22
File Menu ..............................................................22
Browser Menu.......................................................22
Comm Menu..........................................................22
Reload Menu.........................................................22
About Menu...........................................................22
Status Displays.........................................................22
My Address: ..........................................................22
Last Visitor: ...........................................................22
Access Count: .......................................................22
Status Bar .................................................................22
Ethernet Connection..................................................23
5) Serial Transmitting and Receiving ..........23
Object Packets............................................................23
Serial Commands.......................................................23
SitePlayer Serial Commands................................24
NOP..........................................................................24
Reset ........................................................................24
Status........................................................................24
ComParams..............................................................24
Write or WriteX .........................................................25
Read or ReadX.........................................................25
UDPsend ..................................................................25
Reading, Writing, and Toggling Bit Variables...........26
Sending More than One Object per Command........26
Serial Port Test Program...........................................26
Title Bar ....................................................................27
Menu Bar ..................................................................27
File Menu ..............................................................27
Comm Menu..........................................................27
Module Menu ........................................................27
About Menu...........................................................27
Timer Functions........................................................27
Check Boxes.........................................................27
Refresh Timer .......................................................27
Refresh Counter....................................................27
Timer Start/Stop Button ........................................27
Get/Put Buttons ........................................................27
Address/Type/Value Windows..................................27
Address Window ...................................................27
Type Window ........................................................28
Value Window.......................................................28
Get MAC Address.....................................................28
Get/Set IP Address...................................................28
Get IP Button.........................................................28

Address/Status Window........................................28
Reset/Status Buttons................................................28
UDP Button...............................................................28
Serial Command Window.........................................28
SitePlayer Serial OCX for Visual Basic ....................28
Settings.....................................................................28
PortOpen ..................................................................28
CommPort.................................................................29
Init_Object ................................................................29
Status(ByRef b As Byte)...........................................29
ReadObject(ByVal address As Long, ByRef data As
Variant) .....................................................................29
WriteObject(ByVal address As Long, ByVal data As
Variant) .....................................................................29
ReadBit(ByVal address As Byte, ByRef data As Byte)
..................................................................................29
WriteBit(ByVal address As Byte, ByRef data As Byte)
..................................................................................29
ToggleBit(ByVal address As Byte) ...........................29
BaudSet(ByVal baud As Long, ByVal delay As Long)
..................................................................................30
Regenerate...............................................................30
Reset ........................................................................30
IP_to_Long(ByVal IPaddress As String) As Long ....30
Long_to_IP(ByVal l As Long) As String....................30
6) UDP Send and Receive............................. 30
UDPsend (serial command) ......................................30
Sending a UDP broadcast message ........................31
Sending UDP message to a specific computer within
the local network.......................................................31
Sending UDP message to specific computer outside
local network.............................................................31
UDPsend object 0FF1Eh............................................31
UDP receive function .................................................31
UDP receive packet example: ..................................32
UDPsendtest Program...............................................32
IP address to receive:...............................................33
Port# .........................................................................33
Initialize UDP button.................................................33
UDP Message Window.............................................33
A) Memory Map / Serial Commands ............ 33
SitePlayer Object Memory Map ............................33
SitePlayer UDPsend Memory Map .......................33
SitePlayer UDP Receive Structure .......................33
SitePlayer Special Functions Memory Map..........34
SitePlayer Serial Commands................................35


0 comentarios:

Ultimos Documentos en PDF