Acceso al objeto TimeSynchronize

El objeto TIMESYNCHRONIZE proporciona una interfaz de protocolo industrial común (CIP) al estándar IEEE 1588 (IEC 61588) para un protocolo de sincronización de relojes de precisión para sistemas de control y medición en red. Acceda al objeto TIMESYNCHRONIZE a través de instrucciones GSV/SSV.
Atributo
Tipo de datos
Instrucción
Descripción
ClockType
INT
GSV
El tipo de reloj.
Bit
Type of Clock
0
Ordinary Clock
1
Boundary Clock
2
Peer-to-peer transparent clock
3
End-to-end transparent clock
4
Management Node
All other bits are reserved.
CurrentTimeMicroseconds
DINT[2]
DT
LINT
GSV
Valor actual de la hora del sistema en microsegundos.
CurrentTimeNanoseconds
LINT
LDT
GSV
Valor actual de la hora del sistema en nanosegundos.
DomainNumber
SINT
GSV
El dominio del reloj PTP. El valor se encuentra entre 0 y 255. El valor predeterminado es 0.
CurrentTimeMicroseconds
LINT
DINT
GSV
Valor actual de la hora del sistema en microsegundos.
CurrentTimeNanoseconds
LINT
LDT
GSV
Valor actual de la hora del sistema en nanosegundos.
DomainNumber
SINT
GSV
El dominio del reloj PTP. El valor se encuentra entre 0 y 255. El valor predeterminado es 0.
GrandMasterClockInfo
Structure
GSV
Información de propiedad sobre el reloj de gran maestro.
Requiere 24 bytes de almacenamiento.
Grandmaster Clock Information structure:
ClockIdentity
SINT[8]
ClockClass
INT
TimeAccuracy
INT
OffsetScaledLogVariance
INT
CurrentUtcOffset
INT
TimePropertyFlags
INT
TimeSource
INT
Priority1
INT
Priority2
INT
IsSynchronized
DINT
GSV
El reloj local está sincronizado con un maestro.
Value
Meaning
0
Not synchronized
1
Synchronized
LocalClockInfo
Structure
GSV
Información de propiedad sobre el reloj local.
Requiere 20 bytes de almacenamiento.
Local Clock Information structure:
ClockIdentity
SINT[8]
ClockClass
INT
TimeAccuracy
INT
OffsetScaledLogVariance
INT
CurrentUtcOffset
INT
TimePropertyFlags
INT
TimeSource
INT
ManufactureIdentity
DINT
GSV
El IEEE OUI (Organización de identidad única) para el fabricante.
MaxOffsetFromMaster
LINT
DINT
GSV / SSV
Desplazamiento máximo del maestro en nanosegundos.
MeanPathDelayToMaster
LINT
DINT
GSV
Retardo medio de la ruta del maestro al reloj local en nanosegundos.
NumberOfPorts
INT
GSV
El número de puertos de este reloj.
OffsetFromMaster
LINT
DINT
GSV
La diferencia calculada entre el reloj local y el reloj maestro, en función del mensaje de sincronización más reciente, en nanosegundos.
PTPEnable
DINT
GSV / SSV
El estado de habilitación para CIP Sync/PTP/Sincronización temporal en el dispositivo.
Value
Meaning
0
Disable
1
Enable
ParentClockInfo
Structure
GSV
Información de propiedad sobre el reloj primario.
Requiere 16 bytes de almacenamiento.
Parent Clock Information structure:
ClockIdentity
SINT[8]
PortNumber
INT
ObservedOffsetScaledLogVariance
INT
ObservedPhaseChangeRate
DINT
PortEnableInfo
Structure
GSV
La configuración de habilitación de cada puerto en el dispositivo.
Size = 2 + (N.º de puertos habilitados x 4)
Maxsize = 42 bytes
Port Enable status structure:
NumberOfPorts
INT
El número máximo de puertos es 10.
Structure repeated for the number of ports:
PortNumber
INT
PortEnable
INT
PortLogAnnounceIntervalInfo
Structure
GSV
El intervalo entre sucesivos mensajes "Anuncio" emitidos por un reloj maestro en cada puerto PTP del dispositivo.
Size = 2 + (N.º de puertos habilitados x 4)
Maxsize = 42 bytes
Port Log Announce Interval structure:
NumberOfPorts
INT
El número máximo de puertos es 10.
Structure repeated for the number of ports:
PortNumber
INT
PortLogAnnounceInterval
INT
PortLogSyncIntervalInfo
Structure
GSV
El intervalo entre sucesivos mensajes de sincronización emitidos por un maestro en cada puerto PTP del dispositivo.
Size = 2 + (N.º de puertos habilitados x 4)
Maxsize = 42 bytes
Port Log Sync Interval structure:
NumberOfPorts
INT
El número máximo de puertos es 10.
Structure repeated for the number of ports:
PortNumber
INT
PortLogAnnounceInterval
INT
PortPhysicalAddressInfo
Structure
GSV
La dirección física y de protocolo de cada puerto del dispositivo.
Size = 2 + (N.º de puertos habilitados x 36)
Maxsize = 362 bytes
Port Physical Address structure:
NumberOfPorts
INT
El número máximo de puertos es 10.
Structure repeated for the number of ports:
PortNumber
INT
Protocol
SINT[16]
SizeOfAddress
INT
Port Address
SINT[16]
PortProfileIdentityInfo
Structure
GSV
Perfil de cada puerto del dispositivo.
Size = 2 + (N.º de puertos habilitados x 10)
Maxsize = 102
Port Profile Identity structure:
NumberOfPorts
INT
El número máximo de puertos es 10.
Structure repeated for the number of ports:
PortNumber
INT
ClockIdentity
SINT[8]
PortProtocolAddressInfo
Structure
GSV
La dirección de red y de protocolo de cada puerto del dispositivo.
Size = 2 + (N.º de puertos habilitados x 22)
Maxsize = 222
Port Protocol Address structure:
NumberOfPorts
INT
El número máximo de puertos es 10.
Structure repeated for the number of ports:
PortNumber
INT
NetworkProtocol
INT
SizeOfAddress
INT
PortAddress
SINT[16]
PortStateInfo
Structure
GSV
El estado actual de cada puerto PTP en el dispositivo.
Size = 2 + (N.º de puertos habilitados x 4)
Maxsize = 42 bytes
Port State structure:
NumberOfPorts
INT
El número máximo de puertos es 10.
Structure repeated for the number of ports:
PortNumber
INT
PortState
INT
Priority1
SINT
GSV / SSV
Valor Priority1 (Anulación de maestro) para el reloj local.
CONSEJO: El valor es sin signo.
Priority2
SINT
GSV / SSV
Valor Priority2 (Interruptor conjuntor) para el reloj local.
CONSEJO: El valor es sin signo.
ProductDescription
Structure
GSV
Descripción del producto del dispositivo que contiene el reloj.
Requiere 68 bytes de almacenamiento.
Product Description structure:
Size
DINT
Description
SINT[64]
RevisionData
Structure
GSV
Datos de revisión del dispositivo que contiene el reloj.
Requiere 36 bytes de almacenamiento.
Revision Data structure:
Size
DINT
Revision
SINT[32]
StepsRemoved
INT
GSV
El número de regiones de sincronización CIP entre el reloj local y el gran maestro (es decir, el número de relojes de límite +1)
SystemTimeAndOffset
Structure
GSV
Hora del sistema en microsegundos y el desplazamiento al valor del reloj local.
System Time and Offset structure:
SystemTime
LINT
DINT
SystemOffset
LINT
DINT
UserDescription
Structure
GSV
Descripción del usuario del dispositivo que contiene el reloj.
Requiere 132 bytes de almacenamiento.
User Description structure:
Size
DINT
Description
SINT[128]
Entregue su opinión
¿Tiene dudas o comentarios acerca de esta documentación? Por favor deje su opinión aquí.
Normal