(Parte 6 de 6)

3 RS RS Flip-Flop
4 SR SR Flip-Flop

Flip-flops Date and time

29 Centro Federal de Educação Tecnológica de São Paulo

Prof. Eng.M.Sc. d'Avila
5 RealTimeClock Compare with real-time clock
6 RTC Set real-time clock
7 GetRealTimeClock Read real-time clock
9 DATconcat Concatenate DATE_AND_TIME
10 DATsplit Split DATE_AND_TIME
1 DateConcat Concatenate DATE
12 DateSplit Split DATE
13 TimeConcat Concatenate TIME
14 TimeSplit Split TIME
15 TODconcat Concatenate TOD
16 TODsplit Split TOD

8 SetRealTimeClock Set real-time clock (only PS4-200, PS4-300)

17 MS_TimeFalling Off-delay timer, milliseconds
18 MS_TimeRising On-delay timer, milliseconds
19 S_TimeFalling Off-delay timer, seconds
20 S_TimeRising On-delay timer, seconds
21 TimeGenerator Clock generator
2 TimePulse Pulse generator
23 TOF Off delay
24 TON On delay
25 TP Pulse

Timing FBs

26 _16BitCounter 16-bit up/down counter
29 CTD Down counter
30 CTU Up counter
31 CTUD Up and down counter
32 _16Bit_Compare 16-bit comparator

Counter and comparison FBs 27 _32BitCounter 32-bit up/down counter (only PS416, PS4-300) 28 CounterLE Control of the Counter LE module (only PS4-200, PS4-300) 3 _32Bit_Compare 32-bit comparator (only PS416, PS4-300) 34 SSI-Encoder Absolute value encoder (only PS4-300)

30 Centro Federal de Educação Tecnológica de São Paulo

Prof. Eng.M.Sc. d'Avila

35 IncEncoder Inkremental encoder (only PS4-300)

36 SR_x 1-bit shift register
37 SRB_x 8-bit shift register
38 SRW_x 16-bit shift register
39 LifoBx 8-bit LIFO register
40 LifoWx 16-bit LIFO register
41 FifoBx 8-bit FIFO register
42 FifoWx 16-bit FIFO register

Register operations

43 _16BitBinaryToBCD 16-bit binary/decimal code converter
45 BCDTo16BitBinary 16-bit decimal/binary code converter
46 BCDTo32BitBinary 32-bit decimal/binary code converter (only PS416, PS4-300)

Code converters 4 _32BitBinaryToBCD 32-bit binary/decimal code converter (only PS416, PS4-300)

Array operations 47 CompareArray Data block comparison or value search 48 TransferArray Copy or initialise array 49 Serialize Copy data structure to array 50 Deserialize Extract data from array 51 BlockCompare Data block comparison or value search (only PS4-200, PS4-300) 52 BlockTransfer Copy or initialise data block (only PS4-200, PS4-300)

Sequence control 53 SFC_x Sequence control function block (only PS4-200, PS4-300)

54 COMtoSTR Convert received characters to STRING
5 STRtoCOM Copy string to marker area
56 ADRtoSTR Convert received characters to STRING (only PS4-200, PS4-300)

String processing 57 STRtoADR Copy string to marker area (only PS4-200, PS4-300)

31 Centro Federal de Educação Tecnológica de São Paulo

Prof. Eng.M.Sc. d'Avila
59 DE4netK Frequency inverters DF4
60 MI4K Communication function block MI4 (only PS4-200, PS4-300)
61 MI4netK Communication function block MI4
65 SCO Serial communication function block (only PS4)
6 PSCO Profibus-FMS communication (only PS4-200, PS4-300)
68 SUCOM_A Protocol emulation for direct memory access (only PS416)
69 SuconetP PROFIBUS-FMS communication (only PS416)
70 SuconetS_BGKS InterBus communication (only PS416)

Communication 58 ASi_PARAM Change slave parameters during operation: ASi_PARAM (only PS4-200, PS4- 300) 62 DialOrHangup Establish or clear a connection to a DTE via modem (only PS416, PS4- 300) 63 SendATCommand Send AT command to a modem (only PS416, PS4-300) {bmc 64 COM Serial communication function block (only PS416) 67 MOD200 Serial communication via MODBUS /IBUS (only PS416) 71 PdpStationDiag Request diagnostics data from PROFIBUS-DP station (only PS416)

72 ReadMC Read data from memory card
73 WriteMC Save data on memory card
74 SetMCFileLength Create and initialise data file (only PS416)
75 ReloadData Read data from memory card (only PS4-200, PS4-300)
76 SaveData Save data on memory card (only PS4-200, PS4-300)

Reading and writing the memory card

7 CounterAlarm Counter alarm (only PS4-200, PS4-300)
78 CAlarm Counter alarm (only PS416)
79 EdgeAlarm Edge alarm (only PS4-200, PS4-300)
80 FAlarm Edge alarm (only PS416)
81 TimerAlarm Timer alarm (only PS4-200, PS4-300)
82 TAlarm Timer alarm (only PS416)

Alarm FBs PS416-specific FBs

32 Centro Federal de Educação Tecnológica de São Paulo

Prof. Eng.M.Sc. d'Avila
83 PS_ApplicationHalt Stop the user program (only PS416, PS4-300)
84 PS_ClearKOMBit Clear "KOM" diagnostic bit (only PS416)
85 PS_Diagnostic Read diagnostic flags (only PS416, PS4-300)
86 PS_GetDateAndTime Read real-time clock (only PS416, PS4-300)
87 PS_Message Scan cycle status (only PS416)
8 PS_SwitchPosition Read switch position (only PS416, PS4-300)
90 ColdstartRetention Definition of cold start retentive marker area (only PS416)
92 WriteDirect Direct writing to digital outputs (only PS416)

89 CPUDataExchange Exchange data between PLCs (only PS416) 91 ReadDirect Direct reading from digital inputs (only PS416) 93 ReadAnalogDirect Direct reading from analog inputs (only PS416) 94 WriteAnalogDirect Direct writing to analog outputs (only PS416) 95 ReadCounterDirect Direct reading from counter inputs (only PS416)

OS system function block 96 PS_ReadOSInfo Scan operating system information

Referências Bibliográficas MOELLER. Training Guide Sucosoft S 40 Programming Software. Alemanha: 2a ed. Jul. 1998, 140 p.

3 Centro Federal de Educação Tecnológica de São Paulo

Prof. Eng.M.Sc. d'Avila

Exercícios de Fixação

1. Uma comissão formada por Presidente, diretor Administrativo, diretor Financeiro e diretor de

Marketing se reúnem para analisar e aprovar questões relativas a empresa. Uma proposta é aprovada se recebe a maioria dos votos ou se o presidente e qualquer outro membro votar a favor.

presid adm finan mark saída 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 1 1 0 0 1 0 0 0 0 1 0 1 0 0 1 1 0 0 0 1 1 1 1 1 0 0 0 0 1 0 0 1 1 1 0 1 0 1 1 0 1 1 1 1 1 0 0 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1

A partir da tabela da verdade podemos construir o mapa de Veitch-Karnaugh

S = ( P . A ) + ( P . M ) + ( P . F ) + ( F . A . M ) aplicando a propriedade distributiva S = P . ( A + F + M ) + ( A . F . M )

(Parte 6 de 6)

Comentários