Herunterladen Inhalt Inhalt Diese Seite drucken

IFM Electronic Ecomot100 CANcom III Handbuch Seite 61

Inhaltsverzeichnis

Werbung

Verfügbare Sprachen

Verfügbare Sprachen

Function:
TELEDATA_DIRECT
Library:
CANCOM_a.lib
Purpose:
Enables CANcom to operate as
transmitter and receiver as direct
modem between two CR310x
modems.
Parameters
Name
Data type
Inputs
NET_STARTED
BOOL
DIAL
BOOL
DISCONNECT
BOOL
PHONENUMBER
DWORD
PASSWORD
DWORD
NODE_ID
BYTE
GLOBALDATA
DWORD
Outputs
RESULT
BYTE
STATE
BYTE
Notes
This function enables the establishment of an online direct connection with CAN-
com via the R360 controller. As remote station a CANcom is expected as well, a
connection to a standard analogue modem is not possible!
After the connection has been established all CAN objects which are configured
in the CANcom and which are currently active on the bus are transmitted or
received. It is also possible to establish a direct connection between 2 controllers.
If the unit on the opposite side is only called, no controller program is required
for the CANcom.
Before this function is called up the function block "TELEDATA_SMS" must be
integrated!
Description
TRUE:
CAN network was started successfully (OPERATIONAL)
TRUE:
Establish direct transmission.
Only call up when the output in the function
TELEDATA_SMS is "ONLINE" TRUE!
TRUE:
Interrupt direct connection
Telephone number as STRING (allocation via ADR operator)
Password as STRING (allocation via ADR operator, password
must be configured in the target unit)
CANopen node number of the CANcom
Structure variable "CANCOM_GLOBAL_STRUCT"
(allocation via ADR operator)
0 = no action
1 = finished
2 = selection process
3 = error, set input DIAL until result 1 or 3
Status of the selection process
0 = transmit telephone number to CANcom
1 = password request remote station
2 = transmit password (confirmation of password remote station)
4 = switch on CAN transparent mode
5 = confirmation of remote station "CAN ON"
6 = finished
99 = error
CAN
CR310
COM
TELEDATA_DIRECT
NET_STARTED
RESULT
DIAL
STATE
DISCONNECT
PHONENUMBER
PASSWORD
NODE_ID
GLOBALDATA
PAGE
X
61

Werbung

Kapitel

Inhaltsverzeichnis
loading

Inhaltsverzeichnis